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.
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 rateHere is my code:
I have tried with 44100, 48000, and many other sample rates. My settings show my microphone is 44100, 2 channel 16bit.