| [I would have posted this on the regular Csound list but it seems to be
dead lately. I've received nothing from the list in a while, and the
last two post I attempted to make never appeared. jpff, can you comment?]
I'm trying to use soundout for the first time, and am somewhat confused.
I have four asigs and would like to write them to four separate files
for mixing in a different program. So I did something like this
instr 1
aL, aR reverbsc gaL, gaR, p4, p5, sr/1.5, p6, 0
soundout aL, "Left-Reverb.wav", 6
soundout aR, "Right-Reverb.wav", 6
soundout gaL, "Left-Dry.wav", 6
soundout gaR, "Right-Dry.wav", 6
gaL = 0
gaR = 0
endin
If I clear out the section, I get no output at all, and the
console states:
winmm: opening output device 0 (SB Audigy 2 [FEC0])
winmm: error: failed to open device
Failed to initialise real time audio output
If I put back my previous options (-g -W -o foo.wav), I get an empty
foo.wav, and I get the four output files specific in the soundout calls,
but they are apparently raw files (this actually makes sense, but seems
like it should be called out explicitly in the docs).
So my questions are:
1. Should a "-o ..." argument be necessary for soundout to work? Am I
missing some other (undocumented) prerequisite setting for soundout?
2. Is there any way for soundout to output anything other than a raw
file? If not, no problem, I'm just wondering.
- Dave
-------------------------------------------------------
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 |