Individual Note-Off problem


    Jan 23 2006 | 12:18 pm
    Hi!
    I want to use my MIDI Keyboard to play samples with MAX.
    I'm having problems separating note on and off:
    I want to use :
    1. Note C1 as trigger ( no note off ) - I use strip note to ignore note off,
    2. Note C2 as Note On and Off - I want the sound to be played as I hold the note, and to stop the sound when I release my finger from the note.
    The problem is when I play and hold C2 and press and release note C1, my C1 sends note-off on both notes (C1 and C2).
    How can I manage note off for each note separately ( C1 and C2 ) ?
    Thank you.

    • Jan 23 2006 | 1:15 pm
    • Jan 23 2006 | 2:09 pm
      Sorry - I'm new in Max -
      Can you explain more?
      Maybe an exemple.
      Thank you.
    • Jan 23 2006 | 2:19 pm
      >> The problem is when I play and hold C2 and press and release note C1,
      >> my C1
      >> sends note-off on both notes (C1 and C2).
      Are you sure this isn't something your keyboard is doing? (Local
      control).
      Suggest posting a short patch with your attempt. If it works for other
      people, then you know it's your keyboard. If it doesn't work for
      others, it will be easier to see why.
      -- P.
      >>
      -------------- http://www.bek.no/~pcastine/Litter/ --------------
      Peter Castine | ^
      | Litter Power & Litter Bundle for Jitter
      pcastine@gmx.net |
      pcastine@bek.no | iCE: Sequencing, Recording, and Interface Building
      4-15@kagi.com | for Max/MSP
      | Extremely cool
      | http://www.dspaudio.com
      | http://www.dspaudio.com/software/software.html
    • Jan 23 2006 | 8:40 pm
      STORY:
      I have two sliders and two bangs.
      I need to send note On and note-Off to the sliders (126/0),
      and note on (only note on) to the two bangs.
      Problem #1:
      When receiving, note off is sent on both the sliders even if there is sent to the notes who control the bangs:
      (It looks like message "note-off", is a message that it is sent by all midi notes, but it is an overall message ).
      Another thing:
      If I'm using midi in and midiout, and I'm playing with my keyboard, I can hold notes, send note on and note off to midiout.
      How can I use this in my patch without having problems with "overall note-off"...???
      Problem #2:
      As you will see in the patch, the bang from the sliders (just before the message "0", it is active when I release the note but it is not sending "bang")...and when I press with my mouse on him, it does sends "bang"...is this a BUG ?
      OK here is the patch that's making me problems:
      max v2;
      Please help.
      Thank you!
    • Jan 23 2006 | 10:23 pm
      Does this work for you?
    • Jan 24 2006 | 6:54 am
      Dear Ady,
      Without getting into the details of exactly what you’re trying to accomplish there seems to be a “bug” in the way you handle the data coming out of the left “noteout” object.
      You’re sending the pitch AND the velocity from a “notein” object to the same “select” object without turning this date into a list first. This fits the description of comparing apples with oranges because the “select” object has no way to differentiate whether a particular item is pitch or velocity (in theory there could be pitch 48 or velocity 48).
      What I would suggest on that left “notein” is first to determine whether the “pitch” is of interest to you (using a “select” only on the incoming pitches) – if so then do what needs to be done depending on the velocity.
      Sydney B.
    • Jan 24 2006 | 8:28 am
      Thank you mzed !
      That patch work in 90%.
      The problem is with the sliders separation:
      When I hit and hold notes C1 and D1, and release ONLY ONE of them, both sliders go down:
      max v2;
    • Jan 24 2006 | 8:44 am
      OK I got it.
      Thank you all.
    • Jan 24 2006 | 12:21 pm
      Ady wrote:
      > The problem is when I play and hold C2 and press and
      > release note C1, my C1 sends note-off on both notes (C1 and C2).
      I bet this is a missinterpretation, no keyboard I know would do that.
      An example patch would show the problem (select all with the open patch,
      and then paste it into the e-mail)
      In general you would have to split or route the note events before you
      strip anything. Example:
      --
      [][] [][][] [][] [][][] [][] [][][] [][] [][][]
      [][][][][][][][][][][][][][][][][][][][][][][][][][][][]
      Stefan Tiedje
      Klanggestalter
      Electronic Composition
      &
      Improvisation
      /~~~~~
      \ /|() ()|
      ))))) )| | |( \
      /// _/)/ )))))
      ___/ ///
      -------------------------x---
      --_____-----------|----------
      --(_|_ ----|-----|-----()---
      -- _|_)----|-----()----------
      ----------()------------x----
      14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France
      Phone at CCMIX +33-1-49 77 51 72