|
Post by lukesleepwalker on May 21, 2019 1:43:40 GMT
After seeing the looper script, I've been thinking about the kinds of scripts I've dreamt about but thought out of reach with SB. The one experience that I'd love to replicate at the AU host level is the iWavestation random button. I'm imagining a random button that loads random patches in a sampler like Audiolayer or Reslice or chameleon (could be random PC value); randomizes 3-4 different scaled note sequences and timing to create polyrhythms; and perhaps randomizes effects patches (this may be a stretch but might work with something like turnado). Ideally I could half or double each sequence to create different patterns. Is this sort of thing out of reach with SB?
|
|
nic
Soapbox Supremo
Troublemaker
Press any key to continue
Posts: 2,011
|
Post by nic on May 21, 2019 6:03:59 GMT
Hi lukesleepwalker , This would depend entirely on what the destination (sampler app) supports in terms of MIDI control. Sending random values for a bunch of controls is dead easy and you could hook that up to a button and generate a random preset at will. Most MIDI control of apps is done with CCs, so say we had an app that accepted (or could be MIDI taught) some CCs to set parameter values using CCs 80 to 83 (just as an example) you could do something like this: # randomise remote patch if load # setup single button GUI set name Random set Q0 Randomise +button set slider 1
# code niceties set include factory standard_includes alias B0 CtlMsg end
# button was pressed if control_q0_moved # issue CCs with random values send CtlMsg $80 R$127 send CtlMsg $81 R$127 send CtlMsg $82 R$127 send CtlMsg $83 R$127 # ... send as many events with random # values as you like here endOf course they don't have to be CCs; can be any MIDI event and the random range doesn't have to be 0 - 127. And you could have more than one button/CC set and randomise multiple apps. Regards, Nic.
|
|
|
Post by lukesleepwalker on May 21, 2019 11:22:36 GMT
Hi Nic, Thanks for the reply. Yep, the randomization of sampler MIDI values was the part that I had straight--but always good to get confirmation! The part that was hurting my head was the smart randomization of sequences in SB. Your response got me thinking though that an MVI could be to use an AU sequencer that responds to remote randomization and "pre-set" those sequencers in the host. I'll give it a go!
|
|
|
Post by lukesleepwalker on May 21, 2019 13:19:35 GMT
Well, I may have to retract my earlier plan for MVI as it turns out that I can't find a sequencer AU that exposes randomization parameter! Will keep digging a bit.
|
|