Advertisement
metalx1000

BASH display notes while playing tones

Dec 11th, 2017
785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. clear
  4.  
  5. echo -n "♫"
  6. play -n -c1 synth sin %-12 fade h 0.1 1 0.1 2> /dev/null
  7. echo -n "♩"
  8. play -n -c1 synth sin %-9 fade h 0.1 1 0.1 2> /dev/null
  9. echo -n "♪"
  10. play -n -c1 synth sin %-5 fade h 0.1 1 0.1 2> /dev/null
  11. echo -n "♫"
  12. play -n -c1 synth sin %-2 fade h 0.1 1 0.1 2> /dev/null
  13.  
  14. echo ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement