pradeesi / record_audio_from_phone_line

This python script will record an audio message from a phone line.
13 stars 5 forks source link

QUESTION: Stream to speakers #3

Open tiptonnet opened 5 months ago

tiptonnet commented 5 months ago

This example has saved me quite a bit of time but also cost me plenty as I'm just not good enough to figure out how to stream to the speakers directly instead of recording. I've tried PyAudio, sounddevice and even pygame with no luck, either squeaks, chirps or mostly just crashes. Any chance you could help? I just need to stream it to speakers and so far no usable examples anywhere, even OpenAI fails. I guess it's not really that smart eh. Well, neither am I.

mitchind commented 5 months ago

Why don't you just use bluetooth speaker?

tiptonnet commented 5 months ago

Customer wants a hard wired loud speaker. I solved the problem anyway but it was a bit lazy, I just record a series of 10 second clips while playing them one by one during the recording of the new clip. Worked pretty good until I started it with systemd but I got that sorted out also.