# The CS batch expects two arguments:
# $1: main group of the instrument (a directory)
# $2: the plain instrument name -- no extensions
#
# example: CS 10 10_01_1
# 
# This will write the soundfile 10_01_1 to SFDIR


# go one directory up and change to directory $1
cd ../$1


# time the csound command
# csound options: 
#                   d    no function table displays
#                   o    write output as <filename>

time csound -d $2.orc $2.sco -o $2.au

# go one directory up
cd ..


# jpg 3/94


