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

Safe HaskellNone

Synthesizer.MIDI.Dimensional.ValuePlain

Description

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

Synopsis

Documentation

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.