synthesizer-midi-0.6.1.2: Render audio signals from MIDI files or realtime messages
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 y Source #

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

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

frequencyFromPitch :: C y => Pitch -> Frequency y Source #

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