Csound Csound-dev Csound-tekno Search About

[Csnd] Realtime render to both DAC and disk?

Date2008-04-02 04:51
Frommicromoog
Subject[Csnd] Realtime render to both DAC and disk?
Is it possible to render to both DAC and to disk at the same time (for 
capturing realtime MIDI performances)?  The csound executable seems to 
only accept the first -o parameter.

The soundouts opcode seems to be a step in the right direction, but with 
three issues:
1) According to the documentation, it's raw format only (no WAV or AIFF)
2) I'd prefer this to be a configuration parameter rather than something 
in my code
3) It doesn't appear to work, anyway -- whenever I've tried it I always 
end up with only a very small output file (~50Kb).

This is on Linux/ALSA.  I do have a workaround:

1) Record the MIDI data into a sequencer program as it's being played 
with -odac
2) Play that MIDI file back into csound with -o[filename] (and using 
-iadc to get the timing to work right)




Date2008-04-02 08:29
Fromjoachim heintz
Subject[Csnd] Re: Realtime render to both DAC and disk?
you can use -odac and the fout opcode.
	joachim



Am 02.04.2008 um 05:51 schrieb micromoog:
> Is it possible to render to both DAC and to disk at the same time  
> (for capturing realtime MIDI performances)?  The csound executable  
> seems to only accept the first -o parameter.
>
> The soundouts opcode seems to be a step in the right direction, but  
> with three issues:
> 1) According to the documentation, it's raw format only (no WAV or  
> AIFF)
> 2) I'd prefer this to be a configuration parameter rather than  
> something in my code
> 3) It doesn't appear to work, anyway -- whenever I've tried it I  
> always end up with only a very small output file (~50Kb).
>
> This is on Linux/ALSA.  I do have a workaround:
>
> 1) Record the MIDI data into a sequencer program as it's being  
> played with -odac
> 2) Play that MIDI file back into csound with -o[filename] (and  
> using -iadc to get the timing to work right)
>
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"