from autopilot import prefs
PYO = True
PYO = False
Returns a booted and started pyo audio server
Use of pyo is generally discouraged due to dropout issues and
the general opacity of the module.
debug (bool): If true, setVerbosity of pyo server to 8.
# Jackd should already be running from the launch script created by setup_pilot, we we just
pyo_server = pyo.Server(audio='jack', nchnls=int(prefs.get('NCHANNELS')),
duplex=0, buffersize=4096, sr=192000, ichnls=0)
# Deactivate MIDI because we don't use it and it's expensive
# We have to set pyo to not automatically try to connect to inputs when there aren't any
# Then boot and start