Working python version that streams to two different audio streams at the same time

This commit is contained in:
Andrew Ward
2024-05-01 14:50:04 +01:00
parent b0f142d655
commit 13cbf1b4eb
3 changed files with 121 additions and 39 deletions

View File

@@ -1,21 +1,32 @@
#Readme
This script uses OpenAI to convert text to speech, and then speak that speech over a virtual microphone
Install VB-Cable:
https://vb-audio.com/Cable/
This sets up a virtual microphone that we can use to sent text to speech audio to. Then, when you join a meeting, such as a google meeting, you can select this virtual cable to hear the audio being sent on the channel.
#Dependencies
##Windows
To get this script working you will need to install the following on the relevant operating system
pip install numpy
pip install sounddevice
###Windows
pip install pyaudio
pip install python-dotenv
pip install wave
pip install pydub
##Mac
###Mac
pip install numpy
pip install sounddevice
brew install portaudio
pip install python-dotenv
pip install wave
pip install pydub