|
Hello,
Is there an opcode for rerouting signal inputs to different outputs in real-time and with user definable cross-fades? I'm thinking of an equivalent to matrix~ in maxmsp. Otherwise what would be the best way to go about making one? Thanks very much Peiman |
|
hi peiman -
i'd use chnset/chnmix for this. best - joachim Am 19.02.2012 00:08, schrieb peiman khosravi: > Hello, > > Is there an opcode for rerouting signal inputs to different outputs in > real-time and with user definable cross-fades? I'm thinking of an > equivalent to matrix~ in maxmsp. > > Otherwise what would be the best way to go about making one? > > Thanks very much > > Peiman Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
Thanks joachim,
I was thinking of that but how could I add cross-fades? Cheers, Peiman On 18 February 2012 23:55, joachim heintz <[hidden email]> wrote: hi peiman - |
|
A novel idea, if you start an instrument that does the routing, you
can use a held note, then when you want to re-route, use turnoff to stop one, and event to start another. If the instrument has a release envelope, like transegr or linsegr, it could work. Something like: instr chanMixer i_sig = p4 i_chn = p5 SaudioSig sprintf "sig.%d", i_sig SaudioChn sprintf "chn.%d", i_chn kenv linsegr 0, .5, 1, .5 0 asig chnget SaudioSig chnset asig * kenv, SaudioChn endin I'll see if I can come up with an example in a moment. steven On Sat, Feb 18, 2012 at 11:57 PM, peiman khosravi <[hidden email]> wrote: > Thanks joachim, > > I was thinking of that but how could I add cross-fades? > > Cheers, > > Peiman > > > On 18 February 2012 23:55, joachim heintz <[hidden email]> wrote: >> >> hi peiman - >> i'd use chnset/chnmix for this. >> best - >> joachim >> >> Am 19.02.2012 00:08, schrieb peiman khosravi: >> > Hello, >> > >> > Is there an opcode for rerouting signal inputs to different outputs in >> > real-time and with user definable cross-fades? I'm thinking of an >> > equivalent to matrix~ in maxmsp. >> > >> > Otherwise what would be the best way to go about making one? >> > >> > Thanks very much >> > >> > Peiman >> >> >> Send bugs reports to the Sourceforge bug tracker >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >> Discussions of bugs and features can be posted here >> To unsubscribe, send email [hidden email] with body "unsubscribe >> csound" >> > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
Attached is an example. It uses chnmix instead of chnset (mistake in
the original UDO, made apparent when I wrote an example out :D ). Uses linsegr which means linear panning which isn't great, but the technique is there. Not sure if this directly relates to what you are trying to do, but thought I'd send it anyways. Cheers! steven On Sun, Feb 19, 2012 at 12:08 AM, Steven Yi <[hidden email]> wrote: > A novel idea, if you start an instrument that does the routing, you > can use a held note, then when you want to re-route, use turnoff to > stop one, and event to start another. If the instrument has a release > envelope, like transegr or linsegr, it could work. Something like: > > instr chanMixer > > i_sig = p4 > i_chn = p5 > > SaudioSig sprintf "sig.%d", i_sig > SaudioChn sprintf "chn.%d", i_chn > > kenv linsegr 0, .5, 1, .5 0 > > asig chnget SaudioSig > chnset asig * kenv, SaudioChn > > endin > > I'll see if I can come up with an example in a moment. > > steven > > On Sat, Feb 18, 2012 at 11:57 PM, peiman khosravi > <[hidden email]> wrote: >> Thanks joachim, >> >> I was thinking of that but how could I add cross-fades? >> >> Cheers, >> >> Peiman >> >> >> On 18 February 2012 23:55, joachim heintz <[hidden email]> wrote: >>> >>> hi peiman - >>> i'd use chnset/chnmix for this. >>> best - >>> joachim >>> >>> Am 19.02.2012 00:08, schrieb peiman khosravi: >>> > Hello, >>> > >>> > Is there an opcode for rerouting signal inputs to different outputs in >>> > real-time and with user definable cross-fades? I'm thinking of an >>> > equivalent to matrix~ in maxmsp. >>> > >>> > Otherwise what would be the best way to go about making one? >>> > >>> > Thanks very much >>> > >>> > Peiman >>> >>> >>> Send bugs reports to the Sourceforge bug tracker >>> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >>> Discussions of bugs and features can be posted here >>> To unsubscribe, send email [hidden email] with body "unsubscribe >>> csound" >>> >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
Thanks very much Steven. I'll check this out tomorrow.
Best, Peiman On 19 February 2012 00:24, Steven Yi <[hidden email]> wrote: Attached is an example. It uses chnmix instead of chnset (mistake in |
|
Hi Steven,
This is exactly what I had in mind. I'm gonna work on making a little interface for it in CosundQT and post it here. Thanks again. Best, Peiman On 19 February 2012 00:59, peiman khosravi <[hidden email]> wrote: Thanks very much Steven. I'll check this out tomorrow. |
| Powered by Nabble | See how NAML generates this page |
