« Return to Thread: TWIChoose...?

TWIChoose...?

by Martin Vognsen-2 :: Rate this Message:

Reply to Author | View in Thread

Hello

I would like the amp of a TGrains to be modulated by something to the  
effect of [0, 1].wchoose([x, y]) at each trigger. What's a smart way  
to do that - can it be done inside a synthdef? I was playing with a  
workaround involving a Dseq([0,1], inf) and then delaying the trigger  
at random with a TRand, but that doesn't seem like such a sexy  
solution. The point is to be able to modulate gradually from only 0's  
(constant silence) to only 1's (every grain is heard), so that you  
can create a rhythm with a random element, where you can control the  
density of the rhythm. Would be nice to be able to control the amount  
of randomness as well, actually, so that with a [0.5, 0.5] weight you  
could modulate from a regular pattern of 10101010101010 etc to  
something very random but with the same average amount of 0's and 1's  
over a stretch of time.

Does anybody have a ugen with this kind of functionality? Or should I  
just forget about doing this inside the synthdef?

This is probably something completely obvious, that I'm overlooking,  
as usual, but I would very much appreciate any pointers.

Thank you!
Martin


_______________________________________________
sc-users mailing list

info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

 « Return to Thread: TWIChoose...?

LightInTheBox - Buy quality products at wholesale price!