As the director of the Christopher Newport University Electronic Music Ensemble, I am always looking for interesting electronic music to perform. I also enjoy arranging experimental pieces for electronics. Once piece I was arranging, I decided to add different random delay times to everyones live parts. The effect was great and really added a nice amount of unpredictability to the composition. I was looking at using Demand Ugens and triggering different times using amplitude tracking. The following code illustrates components of doing this.
Server.local.options.memSize = some number // the number allocates ram. Higher delay time more ram needed
I am then using the Amplitude.kr with a very short attack and release to monitor the live input signal coming from a microphone. the thresh > 0.02 triggers Demand.kr to “demand” a value from DXrand which gets its value from list
Finally, the number selected is given to the DelayN.ar Ugen to delay the signal. This little synthdef is a lot of fun to play around with and I plan on developing it further to add feedback factors and spatialization.