Hannes Helmholz

Results 108 comments of Hannes Helmholz

I assume you tried to receive the returned values or did `print(sounddevice.query_devices())`?

That is strange. Also no error message? Are you certain you are using a sensible Python environment, where the package is installed? @mgeier do you have any idea how to...

Please post code in a Markdown environment, so it is readable and indentations is preserved. Also, there seems to be some imports and variable definitions missing. ````` ```python print('Code') ```...

Performing audio classification means you will only need sound input / capture (for now)? I would say building something where sounddevice captures into a buffering thread-safe FIFO queue (e.g. in...

There is the two asyncio examples actually. Probably a better starting point, but not sure which one suits you better. https://github.com/spatialaudio/python-sounddevice/blob/master/examples/asyncio_coroutines.py https://github.com/spatialaudio/python-sounddevice/blob/master/examples/asyncio_generators.py

The most basic approach would be to gather the incoming blocks into an internal large numpy array. From there you could save this data in whatever format you want. This...

@flappix if you post a minimal example (so that we don't have to crawl through obstructing code) then we might be able to help with what is happening.

What OS are you on? (there is some specifics of spawning child processes with `multiprocessing` that do not work on Windows quite the way they work on Linux or macOS)...

> do you really need `multiprocessing`? Isn't that the only way to realize file playback (either audio or MIDI) as an independent component which can be e.g. invoked or remote...

Strange. Also occasionally happens when you execute it locally, or only in tests? It is always only one time domain sample that is wrong? I have not looked into the...