简体   繁体   中英

Change microphone voice with Python (in Windows)

I would like to replicate the Clownfish app in Python.

I need to use Python to transmit an audio file to the microphone, on Windows, Linux, and Mac, such that if any service is listening to the microphone (for example, skype), it would catch that audio I'm transmitting.

Is there any way to transmit audio through the user's microphone?

There's pyvoicechanger which works only for Linux.

Take a look at this library PyAudio .

Looks like you could use wire or wire (callback) .

PyAudio Example: Make a wire between input and output (i.e., record a
few samples and play them back immediately).

Another library you should take a look at is python-sounddevice .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM