Skip to content

Invalid sample rate when using ASIO driver #252

@MiniMinnoww

Description

@MiniMinnoww

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions