This script was adapted to allow you to play audio files through your microphone input. It does so by creating a virtual microphone and piping an audio file to it.
The work was mostly done in this StackOverflow answer, I just adapted it to use ffmpeg and add a trap to cleanup on exit.
Requirements:
- ffmpeg
- Bash
- PulseAudio/pactl
Hi! I'm tryna use your script but am having issues. When running I get the following error:
Failed to unload module: Module module-pipe-source not loaded
andFailure: Module initialization failed
full transcript:
What's going on?