Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while true; do
- tempo=$(sudo python gpio_b.py)
- if [ "$tempo" -ne 0 ]
- then
- tempo=tempo
- else
- tempo=30
- fi
- echo $tempo
- python genMidi.py 4 $tempo 16 100 "master.mid"
- pmidi -p 14:0 "master.mid"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement