Created
June 13, 2022 11:24
-
-
Save aynik/15d8fe6a8b7677f66eed233d541278dc to your computer and use it in GitHub Desktop.
mdout-stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# usage: mdout-stream | mplayer - | |
mix-bytes \ | |
<(sox -t coreaudio <LEFT_CHANNEL_AUDIO_IFACE> -t raw -r 16000 -c 1 -b 16 -e signed -L - | modem-rx) \ | |
<(sox -t coreaudio <RIGHT_CHANNEL_AUDIO_IFACE> -t raw -r 16000 -c 1 -b 16 -e signed -L - | modem-rx) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment