Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save christopher-baek/50362502cc51f7d7b890a9f4b82afbe5 to your computer and use it in GitHub Desktop.
Save christopher-baek/50362502cc51f7d7b890a9f4b82afbe5 to your computer and use it in GitHub Desktop.
Ubuntu Server Audio Examples

Ubuntu Server Audio Examples

# Install
sudo apt-get install festival
# Generate
echo "Hello!" | text2wave > /tmp/test.wav
# Play
aplay /tmp/test.wav
aplay Allegro\ from\ Duet\ in\ C\ Major.mp3
sox -t alsa default recording.wav silence 1 0.1 5% 1 1.0 5%
aplay /usr/share/sounds/alsa/Front_Center.wav
arecord -vv -fdat /tmp/test.wav
# to see other options: amixer | less
amixer set Master 15
alsamixer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment