Closed PasaOpasen closed 4 years ago
When getting the recording devices with sc.all_microphones()
, you can set the flag include_loopback
like so: sc.all_microphones(include_loopback=true)
. This will include monitor devices on linux and loopback devices on windows. This is not supported on macOS.
thank u, I will try!
Can I record sounds from speakers?
Used code like this
record some music from speaker
data = default_speaker.record(samplerate=48000, numframes=48000)
repeat it
default_speaker.play(data/numpy.max(data), samplerate=48000)