You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the ASIO driver, as I need very low latency with audio being recorded straight in, and sent straight out again. However, when doing this, this error comes up:
Portaudio error in Pa_OpenStream: Invalid sample rate
Here is my code:
from pyo import *
pa_list_devices()
s = Server(winhost="asio", sr=44100)
s.boot()
s.start()
mic = Input().play().out()
h = Harmonizer(mic).out()
while True:
pass
I have tried with 44100, 48000, and many other sample rates. My settings show my microphone is 44100, 2 channel 16bit.
The text was updated successfully, but these errors were encountered:
Maybe the default input and output devices are the one you expect... You can control the specific devices to use with Server.setInputDevice() and Server.setOutputDevice():
I am trying to use the ASIO driver, as I need very low latency with audio being recorded straight in, and sent straight out again. However, when doing this, this error comes up:
Portaudio error in Pa_OpenStream: Invalid sample rate
Here is my code:
I have tried with 44100, 48000, and many other sample rates. My settings show my microphone is 44100, 2 channel 16bit.
The text was updated successfully, but these errors were encountered: