beeps / beepoon commit add pactl-switch.sh (a99da5e)
   1#!/bin/bash
   2
   3echo "Playing startup tune.."
   4
   5G4='-f 392.00'
   6C5='-f 523.25'
   7E5='-f 659.26'
   8G5='-f 783.99'
   9
  10whole='-l 2048'
  11dottedhalf='-l 1536'
  12half='-l 1024'
  13dottedquarter='-l 768'
  14quarter='-l 512'
  15dottedeighth='-l 384'
  16eighth='-l 256'
  17sixteenth='-l 128'
  18
  19smallspace='-D 64'
  20longspace='-D 128'
  21
  22beep \
  23$dottedeighth $G4 $smallspace -n \
  24$sixteenth $G4 $smallspace -n \
  25$dottedhalf $C5 $longspace -n \
  26$dottedeighth $G4 $smallspace -n \
  27$sixteenth $C5 $smallspace -n \
  28$dottedhalf $E5 $longspace -n \
  29$dottedeighth $G4 $smallspace -n \
  30$sixteenth $C5 $smallspace -n \
  31$quarter $E5 $smallspace -n \