get current value?

Home Forums General Programming get current value?


This topic contains 0 replies, has 1 voice, and was last updated by  human fly 1 year ago.

Viewing 1 post (of 1 total)
  • Author
  • #72384

    human fly
    • Topics: 123
    • Replies: 1036
    • Total: 1159
    • ★★★★

    what would be an expression for ‘get current value’ on a
    modulator? i’ve tried a coupla things but am on wrong track.

    ie: i have an envelope where the sustain stage can be
    disabled, so it goes straight to the release stage.
    (ronald D-110…)

    so what i’m trying at the moment is when ‘env mode’ is ‘1’,
    No Sustain, i set sustain to zero, and hide the sustain level

    when i want to set it back to ‘0’ (Sustain stage ‘on’), i show
    the control again, and want to get its previous/’current’ value.

    hey, i’m still probably approaching this wrong :o). it is working
    fine if i hard-set it to something. still not sure if it’s going
    to send out the value as well as the ‘env mode’ setting – which
    i *don’t* want. i will only want the envmode parameter sent.

    just chucking this one out there atm, can elaborate more later.
    (i was thinking getValue would do it, but then found i was
    trying to ‘assign a number value’ as a variable or whatever)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There is currently 0 users and 11 guests online
No users are currently active
Forum Statistics
Threads: 2,130, Posts: 14,980, Members: 9,858
Most users ever online was 5 on March 28, 2018 6:11 pm
Do NOT follow this link or you will be banned from the site!