"fout" Opcode broken?
Date | 2017-05-10 00:16 |
From | Oscar Pablo Di Liscia |
Subject | "fout" Opcode broken? |
Attachments | fout.csd |
Hello list:
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
I attached to this message a csd file having a very simple instrument. The output of an oscili Opcode is spatialized via the bformenc1 Opcode. I use both, the outx and the fout opcodes to write two output files with (I expect) should hold the same signals. The command line I have used is: csound -f -W -d -o out.wav Using the Csound version 6.07 (double samples) May 15 2016. Surprisingly, the file "out.wav" is ok, but the file "outfile.wav" only has the first note. I've opened it with two different editors (ocenaudio and audacity), just to ensure is not a problem of the editor. As the last file is the one written by the "fout" opcode I wonder what's going on with it. Any comment will be most appreciated. -- Dr. Oscar Pablo Di Liscia Profesor Titular Director Programa de Investigación "Sistemas Temporales y Síntesis Espacial de Sonido en el Arte Sonoro"Escuela Universitaria de Artes Universidad Nacional de Quilmes |
Date | 2017-05-10 05:56 |
From | Iain McCurdy |
Subject | Re: "fout" Opcode broken? |
'fout' needs to be run a single time throughout the Csound performance to achieve what you want. For this reason it should be put in a separate instrument that just plays a single note that encapsulates the complete performance time. 'monitor' can be used to tap the audio streams output from Csound. Add this instrument:
instr 2
adw, adx, ady, adz monitor
fout "outfile.wav",16,adw, adx, ady, adz
endin
i2 0 .5 Iain
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Oscar Pablo Di Liscia <oscarpablodiliscia@GMAIL.COM>
Sent: 09 May 2017 23:16 To: CSOUND@LISTSERV.HEANET.IE Subject: [Csnd] "fout" Opcode broken? Hello list:
I attached to this message a csd file having a very simple instrument. The output of an oscili Opcode is spatialized via the bformenc1 Opcode. I use both, the outx and the fout opcodes to write two output files with (I expect) should hold the same signals. The command line I have used is: csound -f -W -d -o out.wav Using the Csound version 6.07 (double samples) May 15 2016. Surprisingly, the file "out.wav" is ok, but the file "outfile.wav" only has the first note. I've opened it with two different editors (ocenaudio and audacity), just to ensure is not a problem of the editor. As the last file is the one written by the "fout" opcode I wonder what's going on with it. Any comment will be most appreciated. -- Dr. Oscar Pablo Di Liscia
Profesor Titular
Director Programa de Investigación "Sistemas Temporales y Síntesis Espacial de Sonido en el Arte Sonoro"Escuela Universitaria de Artes
Universidad Nacional de Quilmes |
Date | 2017-05-10 13:10 |
From | Oscar Pablo Di Liscia |
Subject | Fwd: "fout" Opcode broken? |
Many thanks. I had never seen this in the documentation of the opcode, but maybe is not updated. Best ---------- Mensaje reenviado ---------- De: Iain McCurdy <i_mccurdy@hotmail.com> Fecha: miércoles, 10 de mayo de 2017 Asunto: "fout" Opcode broken? Para: CSOUND@listserv.heanet.ie 'fout' needs to be run a single time throughout the Csound performance to achieve what you want. For this reason it should be put in a separate instrument that just plays a single note that encapsulates the complete performance time. 'monitor' can be used to tap the audio streams output from Csound. Add this instrument:
instr 2
adw, adx, ady, adz monitor
fout "outfile.wav",16,adw, adx, ady, adz
endin
i2 0 .5 Iain
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Oscar Pablo Di Liscia <oscarpablodiliscia@GMAIL.COM>
Sent: 09 May 2017 23:16 To: CSOUND@LISTSERV.HEANET.IE Subject: [Csnd] "fout" Opcode broken? Hello list:
I attached to this message a csd file having a very simple instrument. The output of an oscili Opcode is spatialized via the bformenc1 Opcode. I use both, the outx and the fout opcodes to write two output files with (I expect) should hold the same signals. The command line I have used is: csound -f -W -d -o out.wav Using the Csound version 6.07 (double samples) May 15 2016. Surprisingly, the file "out.wav" is ok, but the file "outfile.wav" only has the first note. I've opened it with two different editors (ocenaudio and audacity), just to ensure is not a problem of the editor. As the last file is the one written by the "fout" opcode I wonder what's going on with it. Any comment will be most appreciated. -- Dr. Oscar Pablo Di Liscia
Profesor Titular
Director Programa de Investigación "Sistemas Temporales y Síntesis Espacial de Sonido en el Arte Sonoro"Escuela Universitaria de Artes
Universidad Nacional de Quilmes-- Dr. Oscar Pablo Di Liscia Profesor Titular Director Programa de Investigación "Sistemas Temporales y Síntesis Espacial de Sonido en el Arte Sonoro"Escuela Universitaria de Artes Universidad Nacional de QuilmesCsound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |