Csound Csound-dev Csound-tekno Search About

direct csound: commandline file

Date1999-07-15 18:08
FromSteve Kersten
Subjectdirect csound: commandline file
Hallo.
I encountered a problem with reading the commandline-options in
DirectCsound (2.8) from a file:

D:\> dsound -+/foo.cmd foo.orc foo.sco

gives the following output:

Csound Version 3.52 (Apr 10 1999)
USING file 'foo.cmd' as command line
orchname:  foo.orc
scorename: foo.sco
sorting score ...
        ... done
orch compiler:
42 lines read
        instr   1
MIT Csound: 3.52 (Apr 10 1999)
orch now loaded
displays suppressed
audio buffered in 400 sample-frame blocks
writing 1600-byte blks of shorts to D:\audio\sfdir/test (AIFF)
SECTION 1:
ftable 1:
ftable 2:
[...]

while my test.cmd includes:

-AH -dm0 -+O -+q

which should at least prompt me for the sound device and write to
devaudio (?). Or am I missing something?

Thanks, Steve.

PS: Further investigation led me to the assumption that only the very
first argument is parsed (?)
________________________________________________________________________
K-Labz [a K-Hornz subdivision] - steve-k@gmx.net - http://w3.to/K-Hornz