Hi there,
Sorry to be blitzing the list today! I've got a further issue, now on windows (win7, 32 bit). When using the ASIO4ALL driver as a backend from pyo the Server fails to shutdown (or the script never quits, which I assume is because the server hasn't shut down). Sounds play fine. I've tried with several time.sleep() calls because I know there has been an issue in the past where the server fails to shutdown if its stop() call hasnt yet completed.
Is this a known issue? Should I just avoid use of ASIO for now?
cheers,
Jon
This is the script I'm running:
#--------------------------------------------
import pyo, time
devNames, devIDs =pyo.pa_get_output_devices()
for n, devName in enumerate(devNames):
if 'ASIO' in devName: #set this to 'Primary' to use DirectSound backend (fine)
devID=devIDs[n]
s = pyo.Server(duplex=0)
s.setVerbosity(4)
s.setOutputDevice(devID)
s.boot()
time.sleep(0.5)
s.start()
print 'server started'
s.stop()
time.sleep(0.5)
s.shutdown()
time.sleep(0.5)
print 'server stopped'
#--------------------------------------------
and this is the output:
#--------------------------------------------
pyo version 0.6.2 (uses single precision)
PortMidi warning: Something wrong with midi device!
Portmidi closed
server started
server stopped
#--------------------------------------------