Csound Csound-dev Csound-tekno Search About

[Cs-dev] -n and -I options not working

Date2006-03-08 02:38
FromAnthony Kozar
Subject[Cs-dev] -n and -I options not working
I just discovered that the -n (no sound to disk) and -I (Init-time only)
options do not appear to be working correctly under Csound 5.  -I causes a
sound file with header only to be created and -n results in a complete sound
file (with all of the audio it wasn't supposed to write).

Under Csound 4, both of these options never even opened the soundfile with
the specified name.  So, with Csound 5 they cause an existing file with that
name to be overwritten.

I can look into solving this issue, but I suspect that it will be fixed
before I can even find out what's wrong ...   ;)

Anthony Kozar
anthonykozar AT sbcglobal DOT net



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-03-08 11:10
FromIstvan Varga
SubjectRe: [Cs-dev] -n and -I options not working
AttachmentsNone  

Date2006-03-08 17:28
FromAnthony Kozar
SubjectRe: [Cs-dev] -n and -I options not working
Under Csound 4, the -n option took precedence over -o, even when the -o came
later in the option list.  I was not aware that the situation had changed,
thus it created a "bug" in my front end.

I will adjust the Mac front end to the new behavior.  Other front end
authors may wish to check their code as well!

THanks for looking into the -I problem.

Anthony Kozar
anthonykozar AT sbcglobal DOT net


Istvan Varga wrote on 3/8/06 6:10 AM:

> Are you sure about -n ? It does work for me. Perhaps there is a Mac specific
> issue (compiler bug, etc.) ? Or you specify a file name with -o after the -n,
> and then the -o overrides -n (it is the last option that has the highest
> precedence) ?
> You may be right about the -I option still writing a sound file, though, so
> I will fix that.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net