synthesizer-midi-0.6: Render audio signals from MIDI files or realtime messages

Safe HaskellNone



Functions for converting MIDI controller and key values to something meaningful for signal processing.



controllerLinear :: (C y, C v) => (T v y, T v y) -> Int -> T v ySource

controllerExponential :: (C y, C v) => (T v y, T v y) -> Int -> T v ySource

pitchBend :: (C y, C v) => y -> T v y -> Int -> T v ySource

frequencyFromPitch :: C y => Pitch -> Frequency ySource

Convert pitch to frequency according to the default tuning in MIDI 1.0 Detailed Specification.