From: Carl Worth Date: Wed, 18 Sep 2013 03:04:06 +0000 (-0700) Subject: Add support for pedal X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;ds=sidebyside;h=f9ffdfde546d16f24ab5d30ed9caef2c687b4755;hp=f9ffdfde546d16f24ab5d30ed9caef2c687b4755;p=scherzo Add support for pedal As scherzo listens to the pedal, it will analyze the chord harmony based on notes that continue to sustain due to the pedal. I'm not 100% comfortable with the empirically-derived value of 64 for the sustain pedal. I'd feel a bit better if I had found a symbolic constant for this in the ALSA header files. As things stand now, I'm not sure if the sustain pedal on another keyboard will return the same value. ---