mixing the lemets of a signal array
Date | 2015-08-30 17:15 |
From | peiman khosravi |
Subject | mixing the lemets of a signal array |
Attachments | None None |
Following up on my earlier array question, is there a simple way of mixing the audio channels represented in a signal array into a single channel? So for instance, I'd like a soundfile with an arbitrary number of channels to be mixed down to mono: instr 2 asig[] diskin2 "$FILE", 100 aMonoMix asig ;something like this?? out aMonoMix endin Perhaps a UDO? but I can't quite imagine how that would work with a signal array. Many Thanks Peiman |
Date | 2015-08-30 17:26 |
From | jpff |
Subject | Re: mixing the lemets of a signal array |
Use add mapped over the array ------------------------------------------------------------------------------ _______________________________________________ Csound-users mailing list Csound-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-users Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2015-08-30 17:37 |
From | peiman khosravi |
Subject | Re: mixing the lemets of a signal array |
Attachments | None None |
Doesn't maparray only support krate arrays? Thanks P On 30 August 2015 at 17:26, jpff <jpff@codemist.co.uk> wrote: Use add mapped over the array |
Date | 2015-08-30 18:00 |
From | jpff |
Subject | Re: mixing the lemets of a signal array |
yes -- my mistake. Could add a case to sumarray .... Actually rater weak ona-rate array operations. sumarray isan obvious one and I can see the need. Time for a discussion? ==John ------------------------------------------------------------------------------ _______________________________________________ Csound-users mailing list Csound-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-users Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2015-08-30 18:30 |
From | Steven Yi |
Subject | Re: mixing the lemets of a signal array |
I just tried this and it seems to work: |
Date | 2015-08-30 18:41 |
From | joachim heintz |
Subject | Re: mixing the lemets of a signal array |
very nice code, steven. i tried something similar with a recursive udo, but your code is much smarter. much to learn from it! best - joachim Am 30.08.2015 um 19:30 schrieb Steven Yi: > I just tried this and it seems to work: > > |
Date | 2015-08-30 18:48 |
From | peiman khosravi |
Subject | Re: mixing the lemets of a signal array |
Attachments | None None |
Wow that's very nice Steven. I need to study it now. Thanks Peiman On 30 August 2015 at 18:41, joachim heintz <jh@joachimheintz.de> wrote: very nice code, steven. i tried something similar with a recursive udo, |