CC attack-hold-release generator with curve support that is triggered as long as notes are active.
The midi output is defined with the ๐๐ ๐ค๐ฉ and ๐๐ ๐ช๐ฅ knob and the ๐๐ถ๐ก๐ฑ๐ถ๐ก pad, which toggles if the midi input is also echoed to the output (Thru).
The env generator allows to define specific CC values for the ON (notes active) and OFF (no notes active) state and to define transition curves between these two states.
THe upper knob row defines the ON state and the lower row the OFF state:
– The ๐๐:๐ซ and ๐๐๐:๐ซ knobs specify the CC value of the state
– The ๐ก๐ช๐ฎ๐ฆ knob spefies the duration of the transition to the other state
– The ๐ค๐ถ๐ณ๐ท๐ฆ knob allows to shape the transition, negative values create a slower start,
โฆ. positive values a faster start.
The ๐๐๐๐๐ button toggles between this description and the main UI.
Setup as AUM Midi Control
โฆ. Choose the “Midi-Output only the CC” mode, route the input midi to this Mozaic
โฆ. instance in addition to the instrument you want to play and route the midi output
โฆ. of this Mozaic instance to AUMs ‘Midi Control’. Choose a fitting ๐๐ ๐ค๐ฉ and ๐๐ ๐ช๐ฅ in
โฆ. both the script and in AUMs parameter control UI.
Setup as direct CC control
โฆ. Choose the “MIDI-OUTPUT MIDI Thru plus CC” mode, route the input midi to this
โฆ. Mozaic instance and then this Mozaic instance into the instrument. Setup the ๐๐ ๐ค๐ฉ
โฆ. and ๐๐ ๐ช๐ฅ in both the script and in the instrument.
Hints
– If no note is active, the ๐๐๐:๐ซ knob directly controls the CC output
– If a note is active, the ๐๐:๐ซ knob directly controls the CC output
– The default setting controls AUMs track 1 volume with no attack time
โฆ. and a long release fade to zero if routed to AUMs ‘Midi Control’
๏น๐ ๐ ๐ธ๐ธ.๐ถ๐ฉ.๐ธ๐ถ๐ธ๐บ
Based on request of Fruitbat1919 on the audiobus forum:
https://forum.audiob.us/discussion/61603/how-do-i-curv-a-sound-to-zero-after-all-key-releases/p1
@ki
Interesting and useful. Thanks for sharing โค๏ธโค๏ธโค๏ธ.
Super nice script!
Could you guide me how to change it to read a specific CC input (ch and num) for trigger instead of note?
I want to make a midi pedal with on/off (0/127) output to make envelopes and this seems perfect.
Thanks!
@carlosun I have send you a PM ;-)