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
As an application developer, I want to be able to stream audio efficiently to Lava processes from a microphone attached to my PC.
Conditions
A process called Microphone or StreamingMicrophone or something like that exists.
The process can accept parameters for the device id, sampling rate, bit format, etc.
A PyProcessModel for the process exists that will start recording audio using an existing, well-designed audio library such as PyAudio. The selected audio library must work on Ubuntu, and ideally should also work on Windows and Mac. Properly configuring the audio library may be considered out of scope for this issue, although it should not be excessively difficult to do so.
The PyProcessModel should implement an appropriate buffering algorithm, such as pushing audio chunks into a non-blocking queue or ring buffer.
When run on a standard x86 CPU, the process model should not use more than 10% CPU time on a single core, and no audio samples should be dropped.
The text was updated successfully, but these errors were encountered:
As an application developer, I want to be able to stream audio efficiently to Lava processes from a microphone attached to my PC.
Conditions
The text was updated successfully, but these errors were encountered: