arithmetic operator to change noteinvelocity to either 1 or 0 (on or off,not pressure sensitive)


    Sep 26 2007 | 2:45 pm
    Helu
    Should i use an arithmetic operator to change noteinvelocity to either 1 or 0 (on or off,not pressure sensitive).
    What is the simplest way to do this?
    Thanks!

    • Sep 26 2007 | 3:01 pm
      [> 0]
      On 26/09/2007, petterdass wrote:
      >
      > Helu
      >
      > Should i use an arithmetic operator to change noteinvelocity to either 1 or 0 (on or off,not pressure sensitive).
      >
      > What is the simplest way to do this?
      >
      > Thanks!
      >
    • Sep 26 2007 | 3:06 pm
      It depends on your situation but something like below should work :
      velocity -> [!= 0] -> 0; 1
      If velocity does not equal 0 then it's 1. You could use [>] if you want a threshold or something.
      hth,
      Julien
    • Sep 26 2007 | 3:13 pm
      thanks alot,
      but im not yet clever enough to understand how to implement it..:) Now i have a notein where velocity is scaled with an /127 object which is multiplied with the oscillator outputs, but i will prefer to get the output not pressure sensitive as im rendering audio as wavetables for using n external sampler.
    • Sep 26 2007 | 3:34 pm
      I think the || operator is spot on :
      || returns 1 if either input is nonzero , 0 otherwise , and && returns one if both inputs are nonzero , 0 otherwise.;
    • Sep 26 2007 | 3:43 pm
      it was supereasy..ill try experimenting more before bothering you...
      RTFM!! :)
    • Sep 26 2007 | 9:21 pm
      petterdass skrev:
      > it was supereasy..ill try experimenting more before bothering you...
      >
      > RTFM!! :)
      Generally that is sage advice, for sure.
      a.
    • Sep 26 2007 | 11:01 pm
      Alternately, [clip 0 1]
    • Sep 27 2007 | 4:10 pm
      petterdass wrote:
      > Helu
      >
      > Should i use an arithmetic operator to change noteinvelocity to either 1 or 0 (on or off,not pressure sensitive).
      >
      > What is the simplest way to do this?
      >
      =)
      p
      > Thanks!
      >
      >
      >
      --
      http://pure.test.at
    • Sep 27 2007 | 8:05 pm
    • Sep 28 2007 | 2:55 pm