2 thoughts on “I did a recording session with the disklavier…”

  1. anyone who’s setting their amplitudes before the call to midi-play can make sure their velocities don’t get too high via this hard-limiting approach when calling midi-play:

    (midi-play +jitterbug+ :force-velocity
    	   #'(lambda (event)
    	       (min 100 (floor (* (amplitude event) 127)))))
    
    1. or perhaps simpler and not hard-limiting, this will automatically range over 100 instead of 127, assuming that your events’ amplitude values range up to 1.0

      (midi-play +jitterbug+ :force-velocity
                 #'(lambda (event)
                     (floor (* (amplitude event) 100))))
      

Leave a Reply

Your email address will not be published. Required fields are marked *