SoundCard
SoundCard copied to clipboard
A Pure-Python Real-Time Audio Library
IAudioClient3 supports defining the periodicity of the shared audio stream's capture, allowing capture at intervals smaller than the default 10ms https://docs.microsoft.com/en-us/windows/win32/api/audioclient/nn-audioclient-iaudioclient3
I use two bluetooth devices with my computer: a speaker and headphones. When I call `default_speaker()` while either are connected (and set to default automatically by windows), it returns the...
**Importing soundcard:** `import soundcard as sc` **Error when the program is run:** `Exception has occurred: OSError ctypes.util.find_library() did not manage to locate a library called 'ole32'` Python version is 3.8
The following code generates an assertion in pulseaudio, when a multi-channel sound device is selected: import numpy as np import soundcard as sc default_speaker = sc.default_speaker() print(default_speaker) data = np.zeros((2*48000,...
**System:**  **Bug:** Audio from bluetooth device is delayed by around 3 seconds. See https://github.com/rbn42/panon/issues/26. **Reproducible script:** ```py import soundcard as sc import numpy as np sample_rate=44100 channel_count=2 fps=60 blocksize...
Hi, i'm trying to find a reliable library to play sound cross platform, so i stumbled upon this nice lib. It works better than PyAudio on Linux, but sadly my...
Hi @bastibe. As discussed by email, I sometimes have 0-size blocks. Here is how to reproduce (I have a Thinkpad laptop, built-in soundcard, Python 3.7, Windows 7): ``` import soundcard...
while importing the sound card i get error
I am trying to play 4 channels of audio and am having issues with the time between calling the play() function and hearing sound. My code is like this: ```...
I am seeing a very strange issue, which -I assume- is related to an incorrect usage of `SoundCard` on my part, but I cannot really pinpoint the problem. I use...