File: tt.sh

package info (click to toggle)
siggen 2.3.10-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,032 kB
  • sloc: ansic: 5,545; makefile: 188; sh: 79
file content (17 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (3)
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 255
fi

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