Csound Csound-dev Csound-tekno Search About

ftable to audiofile?

Date2007-09-07 10:09
Fromjoachim heintz
Subjectftable to audiofile?
is there an opcode for writing the (audio-) content of a function- 
table directly to a file, as .aif or .wav?
thanks for any information -

	joachim

Date2007-09-07 10:50
From"Oeyvind Brandtsegg"
SubjectRe: ftable to audiofile?
AttachmentsNone  

Date2007-09-07 12:35
FromVictor Lazzarini
SubjectRe: ftable to audiofile?
No, but you can easily do it using tab, ftlen and fout

something like this

ilen = ftlen(itab)
idur = ilen/sr
alin linseg 0, idur, ilen,p3-idur,ilen
asig  tab  alin, itab
fout "myfile.wav", 2, asig


Victor

At 10:09 07/09/2007, you wrote:
>is there an opcode for writing the (audio-) content of a function- table 
>directly to a file, as .aif or .wav?
>thanks for any information -
>
>         joachim
>--
>Send bugs reports to this list.
>To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth