reactive-midyim-0.4.0.1: Process MIDI events via reactive-banana
Reactive.Banana.MIDI.Pitch
class C pitch where Source #
Minimal complete definition
extract, increase
Methods
extract :: pitch -> Pitch Source #
increase :: Int -> pitch -> Maybe pitch Source #
Instances
extract :: Pitch -> Pitch Source #
increase :: Int -> Pitch -> Maybe Pitch Source #
extract :: PitchChannelVelocity -> Pitch Source #
increase :: Int -> PitchChannelVelocity -> Maybe PitchChannelVelocity Source #
extract :: PitchChannel -> Pitch Source #
increase :: Int -> PitchChannel -> Maybe PitchChannel Source #
maybeFromInt :: Int -> Maybe Pitch Source #
subtract :: Pitch -> Pitch -> Int Source #
toClosestOctave :: C pitch => Int -> pitch -> pitch Source #