Any Note CC-Env-Generator

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’

๏น˜๐™ ๐™ž ๐Ÿธ๐Ÿธ.๐Ÿถ๐Ÿฉ.๐Ÿธ๐Ÿถ๐Ÿธ๐Ÿบ

4 comments on “Any Note CC-Env-Generator
  • pejman on said:

    @ki
    Interesting and useful. Thanks for sharing โค๏ธโค๏ธโค๏ธ.

  • carlosunch on said:

    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!

  • ki on said:

    @carlosun I have send you a PM ;-)

  • Leave a Reply

      1995 PM
    • Platform:
    • Category: Utility
    • Revision: 1.0
    • License: Creative Commons Attribution Share Alike 4.0
    • Modified: 4 months ago
    • Views: 193
      Likes: 5
      Downloads: 14
    Download
    Chat