Sha256: a24d93f7491775c6683e98bb7694c988461f5a8d5caf20d726aae12dab30c420
Contents?: true
Size: 635 Bytes
Versions: 1
Compression:
Stored size: 635 Bytes
Contents
# frozen_string_literal: true module Vissen module Input module Message # From the MIDI Association: # Channel Pressure (After-touch). This message is most often sent by # pressing down on the key after it "bottoms out". This message is # different from polyphonic after-touch. Use this message to send the # single greatest pressure value (of all the current depressed keys) class ChannelPressure < Base STATUS = 0xD0 DATA_LENGTH = 2 # @return [Integer] the pressure value. def pressure data[1] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vissen-input-0.2.2 | lib/vissen/input/message/channel_pressure.rb |