Läuft die Voice Acoustic VA-Remotecontrol (AllDSP AllControl) nativ unter Linux auf echtem wxGTK 3.0 — ohne Wine und ohne dekompilierten App-Code. Ausgeführt wird das unveränderte Python-2.7-Bytecode aus dem macOS-.app; C-Extensions (wxGTK/numpy/ scipy/PortAudio) kommen nativ aus Debian stretch. Enthält: va/ (Original-.pyc + pure-Python-Libs + Assets + launch.py mit den drei Linux-Fixes), Dockerfile/run.sh/entrypoint.sh, reference/ (dekompilierter Quellcode zum Debuggen) und README/STATUS. img.cache (378 MB, regenerierbar) ist per .gitignore ausgeschlossen. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
50 lines
1.1 KiB
Python
50 lines
1.1 KiB
Python
# uncompyle6 version 3.9.3
|
|
# Python bytecode version base 2.6 (62161)
|
|
# Decompiled from: Python 3.9.25 (main, Oct 31 2025, 23:16:49)
|
|
# [GCC 14.2.0]
|
|
# Embedded file name: mytime.pyc
|
|
# Compiled at: 2022-04-20 07:08:40
|
|
import time, os
|
|
if os.name == 'nt':
|
|
start_time = time.clock()
|
|
|
|
def clock():
|
|
return round(time.clock() - start_time, 4)
|
|
|
|
|
|
def displayTime():
|
|
tijd = str(clock())
|
|
return (tijd + '0000')[:tijd.find('.') + 4]
|
|
|
|
|
|
def sleep(seconds):
|
|
if seconds < 0.01:
|
|
print displayTime() + ' too small sleep value, will sleep 13ms', seconds
|
|
seconds = 0.013
|
|
time.sleep(seconds)
|
|
return
|
|
|
|
|
|
else:
|
|
start_time = time.time()
|
|
|
|
def clock():
|
|
return round(time.time() - start_time, 4)
|
|
|
|
|
|
def displayTime():
|
|
tijd = str(clock())
|
|
return (tijd + '0000')[:tijd.find('.') + 3]
|
|
|
|
|
|
def sleep(seconds):
|
|
if seconds < 0.01:
|
|
print displayTime() + ' too small sleep value, will sleep 13ms', seconds
|
|
seconds = 0.013
|
|
time.sleep(seconds)
|
|
return
|
|
|
|
|
|
|
|
# okay decompiling pycode/mytime.pyc
|