| Here is a new batch file for doing the benchmarks under
MSDOS/Windoze, leaving playable sound files behind, and using
the Xanadu piece as well.
Modified bench.bat
==================
rem MSDOS batch file to run the 1994 Csound benchmarks and
rem timer.exe, plus Joseph T. Kung's Xanadu piece as well.
rem
rem See: ftp://ftp.musique.umontreal.ca/pub/mirrors/dream/
rem documentation/orchestras+scores/instruments/kung.0/
rem
rem See the original benchmark files at:
rem ftp://ftp.musique.umontreal.ca/pub/mirrors/dream/documentation/
rem benchmarks/
rem ftp://ftp.maths.bath.ac.uk/pub/dream/documentation/benchmarks/
rem
rem Remove the rems below if you are testing pvanal and lpcanal too.
rem
rem File "times" will have the start and end times for each piece.
rem
rem The original bench.bat file made all output go to a "test" file
rem as 16 bit integers.
rem
rem These lines have been changed to produce .WAV files.
rem This seems to have no no impact on the time taken - it is
rem so we can hear the files afterwards.
rem
rem Delete "-W -oxxxx" to make it output 16 bit samples to file "test"
rem as in the standard version of the benchmark batch file.
rem
rem Robin Whittle 21 April 1997 firstpr@ozemail.com.au
del times
timer bach-d start >> times
csound -d -W -obach.wav bach.orc bach.sco
timer bach-d end >> times
timer bach-m start >> times
csound -m0 -W -obach.wav -d bach.orc bach.sco
timer bach-m end >> times
timer riss-g start >> times
csound -g -W -orisset1.wav risset1.orc risset1.sco
timer riss-g end >> times
timer riss-m start >> times
csound -m0 -W -orisset1.wav -d risset1.orc risset1.sco
timer riss-m end >> times
timer guit-d start >> times
csound -d -W -oguitar.wav guitar.orc guitar.sco
timer guit-d end >> times
timer guit-m start >> times
csound -m0 -W -oguitar.wav -d guitar.orc guitar.sco
timer guit-m end >> times
timer jame-g start >> times
csound -g -W -ojames.wav james.orc james.sco
timer jame-g end >> times
rem Remove 6 rems??
rem timer pvanal start >> times
rem pvanal pvtest.aif foo
rem timer pvanal end >> times
rem timer lpanal start >> times
rem lpcanal lptest.aif foo
rem timer lpanal end >> times
timer xanadu start >> times
csound -g -W -oxanadu.wav xanadu.orc xanadu.sco
timer xanadu end >> times
- - - - - - - - - - - - - - - - - - - - - - - - - -
. Robin Whittle .
. http://www.ozemail.com.au/~firstpr firstpr@ozemail.com.au .
. 11 Miller St. Heidelberg Heights 3081 Melbourne Australia .
. Ph +61-3-9459-2889 Fax +61-3-9458-1736 .
. Consumer advocacy in telecommunications, especially privacy .
. .
. First Principles - Research and expression - music, .
. music industry, telecommunications .
. human factors in technology adoption.
. .
. Real World Interfaces - Hardware and software, especially .
. for music . |