File: tt.sh

package info (click to toggle)
siggen 2.3.10-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 992 kB
  • ctags: 1,111
  • sloc: ansic: 5,551; makefile: 187; sh: 79
file content (17 lines) | stat: -rwxr-xr-x 287 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# demo prog to test a base sample set......
#

f=hole_bucket.notes
if [ "$1" = "" ]; then
  echo "Usage: $0 SAMPLE_NAME"
  echo " where samples are in the file ./samples/SAMPLE_NAME.wav"
  exit -1
fi

while [ "$1" != "" ]; do
 ../tones -load samples/$1.wav $1 $f
 shift
done