synthesizer-midi-0.6.0.4: Render audio signals from MIDI files or realtime messages
Synthesizer.MIDI.Value.BendModulation
Description
Combine pitchbend and modulation in one data type.
Synopsis
data T a Source
bend is a frequency factor and depth is a modulation depth to be interpreted by the instrument.
bend
depth
Constructors
Fields
Instances
deflt :: C a => T aSource
force :: T a -> T aSource
shift :: C a => a -> T a -> T aSource
Multiply the pitch bend by a given factor. This way you can e.g. shift the pitch bend from around 1 to the actual frequency.
fromBendWheelPressure :: (C a, C a) => Int -> a -> a -> T -> T aSource