easy? question about note-offs.

    Aug 28 2013 | 11:11 pm
    hi all - i'm trying to assign random velocities to notes without messing up the note-off messages and having a difficult time, especially when chords come into the picture. attached is my flawed approach. i know there is something simple that i'm missing here, i just can't place it..

    • Aug 28 2013 | 11:46 pm
      does this work ?
    • Aug 28 2013 | 11:54 pm
      a bit - but it still struggles with chords a bit.. maybe this is a job for borax?
    • Aug 29 2013 | 9:01 am
      hm, this is odd. Your thing should have worked as well as mine in fact. You could try something with borax but it will maybe be complicated?.. You don't have any midi problem with chords, when you don't use that thing ? try linking directly a midiparse to a midiformat ? i don't think it will change anything, but try placing integer 0's in place of floating point 0's in your unpack ? this looks like a midi specific timing related issue...but really, it should not be harder than that...
    • Aug 29 2013 | 12:15 pm
      I think the problem is that individual chord notes are played with different velocities which sounds odd. For playing the chord notes with equal velocity you need to collect them using eg. the [thresh] object.
    • Aug 29 2013 | 10:12 pm
      well, i'm actually using the velocity information for sample-triggering, rather than volume.. but i bet the thresh object will solve this problem...
    • Sep 10 2013 | 10:30 am
      Here's a similar patch with the same problem. I'm trying to randomly route each new note to a new channel. I'm not sure how to do that.