[Csnd] Big number of instrument's instances
Date | 2014-05-13 00:05 |
From | Gleb |
Subject | [Csnd] Big number of instrument's instances |
Hello dear Csounders! I have a question on implementing a big number of voices. For example I have a drone-like generator a1 rand 1 a2 butterbp a1, iCenter, iBand out a2 I want to have over 60 or something instances of this generator. The iCenter should be spread according to number of instance. Is there a nice looking way to code it? Thank you! ----- Gleb Rogozinsky, PhD Associated Professor Interactive Arts Department Saint-Petersburg University of Film and Television Deputy Director of Medialab Saint-Petersburg University of Telecommunications -- View this message in context: http://csound.1045644.n5.nabble.com/Big-number-of-instrument-s-instances-tp5735191.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2014-05-13 00:33 |
From | Victor Lazzarini |
Subject | Re: [Csnd] Big number of instrument's instances |
Look at this UDO that does something like what you want (spreads the bands according to the number of bands) http://www.csounds.com/udo/displayOpcode.php?opcode_id=53 On 13 May 2014, at 00:05, Gleb wrote: > Hello dear Csounders! > > I have a question on implementing a big number of voices. > > For example I have a drone-like generator > > a1 rand 1 > a2 butterbp a1, iCenter, iBand > out a2 > > I want to have over 60 or something instances of this generator. The iCenter > should be spread according to number of instance. > > Is there a nice looking way to code it? > > Thank you! > > > > > > ----- > Gleb Rogozinsky, PhD > Associated Professor > Interactive Arts Department > Saint-Petersburg University of Film and Television > > Deputy Director of Medialab > Saint-Petersburg University of Telecommunications > -- > View this message in context: http://csound.1045644.n5.nabble.com/Big-number-of-instrument-s-instances-tp5735191.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > > > Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2014-05-13 00:44 |
From | Takahiko Tsuchiya |
Subject | Re: [Csnd] Big number of instrument's instances |
Or it could be like... =============== instr 1 iNumVoices = 30 kIter init 0 ; counter kIter += 1 if kIter == iNumVoices then
turnoff endif kSpread = kIter / (iNumVoices-1) ; normalized spread between 0-1 event "i", 2, 0, p3, kSpread
endin instr 2 iCenter = p4 * xyz... ; do some remapping here endin On Mon, May 12, 2014 at 7:33 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: Look at this UDO that does something like what you want (spreads the bands according to the number of bands) |
Date | 2014-05-13 06:43 |
From | Gleb |
Subject | [Csnd] Re: Big number of instrument's instances |
Thanks for help! ----- Gleb Rogozinsky, PhD Associated Professor Interactive Arts Department Saint-Petersburg University of Film and Television Deputy Director of Medialab Saint-Petersburg University of Telecommunications -- View this message in context: http://csound.1045644.n5.nabble.com/Big-number-of-instrument-s-instances-tp5735191p5735196.html Sent from the Csound - General mailing list archive at Nabble.com. |