[Csnd] bounce multiple files from score?
Date | 2018-08-17 14:10 |
From | fauveboy |
Subject | [Csnd] bounce multiple files from score? |
I was hoping to use a separate program to mix my audio. Is there a way to allocate files to separate audio files rather than one audio file when csound is run? The only other way I can think of to have a separate score for the sounds I need separated, but thats quite awkward when the sounds are designed so closely around each other is there another way? -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html 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 |
Date | 2018-08-17 14:14 |
From | John ff |
Subject | Re: [Csnd] bounce multiple files from score? |
fout ? Sent from TypeApp On Aug 17, 2018, 14:11, at 14:11, fauveboy |
Date | 2018-08-17 14:29 |
From | Michael Gogins |
Subject | Re: [Csnd] bounce multiple files from score? |
You can always use the fout opcode. You can use this to write any number of output soundfiles at the same time, or to write any number of channels to a single output soundfile, or any combination of these possibilities. I use fout in some of my live pieces to output both real-time audio and a soundfile from the same performance. ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Fri, Aug 17, 2018 at 9:10 AM fauveboy |
Date | 2018-08-17 15:42 |
From | fauveboy |
Subject | Re: [Csnd] bounce multiple files from score? |
I have different audio files which are separately / simultaniously using Diskin2. How will fout know which audio file diskin2 is reading to separate into a different wav file? -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html 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 |
Date | 2018-08-17 16:05 |
From | Michael Gogins |
Subject | Re: [Csnd] bounce multiple files from score? |
Diskin reads to arate variables. Write those arate variables to your output soundfiles using fout. Example, 4-channel diskin2 to 4 separate monophonic output files: a1, a2, a3, a4 diskin2 "input.wav" fout "output.ch1.wav", -1, a1 fout "output.ch2.wav", -1, a2 fout "output.ch3.wav", -1, a3 fout "output.ch4.wav", -1, a4 ----------------------------------------------------- Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Fri, Aug 17, 2018 at 10:42 AM fauveboy |
Date | 2018-08-18 18:04 |
From | fauveboy |
Subject | Re: [Csnd] bounce multiple files from score? |
I'm still struggling because the design of my instrument may not be exactly compatiable to what you've shown me. My diskin file looks like so: #define SamplerDiskin2(I) # instr $I. ifile = p4 kpitch = p5 istart = p6 iend = p3 a1, a2 diskin2 ifile, kpitch, istart, iend, 0, 32 outs a1, a2 endin# in a separte csd file I use #include "SamplerDiskin2.csd" and then $SamplerDiskin2(1) i think this means that for each separate audio file that uses this instrument will in turn use a1, a2. Which is a problem if I need to distinquish the output to plug into fout? ... I tried using #define out# p7# inside the definition for SamplerDiskin2 but that doesnt seem to work I was hoping that in the score I could write what inputs are required for a giving i statement - this idea wasnt thoroughtly thought threw... what can I do here? -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html 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 |
Date | 2018-08-18 19:34 |
From | fauveboy |
Subject | Re: [Csnd] bounce multiple files from score? |
giving a second argument doesn't work if the values are dictated in the score, SampleDiskin2(I, Out). I'm realising that marco are limited if I want to send a single from $SampleDiskin2(1) to $OutputFout(2) ? -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html 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 |
Date | 2018-08-18 21:02 |
From | John ff |
Subject | Re: [Csnd] bounce multiple files from score? |
I do not follow what you are trying to achieve. There is only one audio out object so if you want to separate many audio streams you either need to use fout or multiple channels. In your example each instrument will use a local A1/A2 pair and they are unrelated until you use out which performs amid. Sorry if I have missed the point. Sent from TypeApp On Aug 18, 2018, 18:05, at 18:05, fauveboy |
Date | 2018-08-18 22:17 |
From | fauveboy |
Subject | Re: [Csnd] bounce multiple files from score? |
If we ignore the original aim for multiple outputs. The problem I have is that I have a "generic" design of an instrument which uses diskin2 and looks like so; #define SamplerDiskin2(I) # instr $I. ifile = p4 kpitch = p5 istart = p6 iend = p3 a1, a2 diskin2 ifile, kpitch, istart, iend, 0, 32 outs a1, a2 endin# when I use it in my orc file which is separate to the where the contents of SamperDiskin2(I) I have to use #include "home/pi/Musodmak/mycsound/SamplerDiskin2.csd" which allows me to then use $SamplerDiskin2(1), in this case. The thing is I don't want to have to change the design of the instrument as other orc files are using it which don't require lets say 4 outputs from SamplerDiskin(I). I also need to know that without affecting the design of SamplerDiskin2(I), is there a way to access its output from outside its definition in the orc file its called in? $SamplerDiskin2(1) This is so to be able to extract the signal to plug into other files in the current orc to modulate SamplerDiskin2(I)'s output and Two, (for the orignial problem) to vary the number of outputs without having implications on other orchestras files which using the same SamplerDiskin2(I) with a different score and amount of outputs required from it? I hope I'm making sense. Many thanks -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html 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 |
Date | 2018-08-18 22:24 |
From | Michael Gogins |
Subject | Re: [Csnd] bounce multiple files from score? |
I use the signal flow graph opcodes for this kind of thing, they enable enable a modular orchestra. Connections are created in the orchestra header. See http://www.csounds.com/manual/html/SignalFlowGraphOpcodes.html. On Sat, Aug 18, 2018, 17:17 fauveboy <joel.ramsbottom@hotmail.co.uk> wrote: If we ignore the original aim for multiple outputs. |
Date | 2018-08-18 22:38 |
From | fauveboy |
Subject | Re: [Csnd] bounce multiple files from score? |
Great, that looks like a solution for patching the opcodes to together thank you! Is there a way to set the definition of the opcode up so that within the orc file its called in, its there that a particular number of outputs can be allocated ? -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html 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 |