Hannes Helmholz

Results 108 comments of Hannes Helmholz

I think assuming a 1:1 mapping from given data to output channels is sensible for the simple convenience these functions are supposed to provide. If the data is mono then...

What is the reason for that you say that you need to work with `int32` (your original data / processing generates that)? In any case, you should be able use...

I have tested a bit on my system (Win10) with `int32`: ```python import numpy as np import sounddevice as sd frequency = 1000 sample_rate = 44100 duration = 1 #...

@weirenlan see https://github.com/spatialaudio/python-sounddevice/issues/397 (there seems to be a currently hacky way to get it to work on M1).

It is difficult to understand what is going wrong without the actual code. Please post a minimal example that showcases the behavior you're struggling with.

I don't think I understand what you are trying to do or how often these loops are iterated for example. Isn't maybe the problem that `sd.Stream(...` and `sd.rec(...` try to...

> I was able to access to it simultaneously in windows, but when I tried it in Ubuntu it failed and my implementation will be on Ubuntu that's why I'm...

@bactone please post code in a ` ``` ` environment so it is formatted in a readable way. The way you want to specify the audio device and further parameters...

> The big problem I see in this is that I can do this outside the conda environment. Including hearing sound with the same sample rate (44.1k). Any idea what...

I wasn't able to test with that yet. But notable additions of the smaller environment that works are `portaudio` and `pyaudio`. `pyaudio` was just an alternative to `sounddevice` for testing?...