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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.MIDI.Dimensional.Value

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, T v y) -> Int -> y Source #

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

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

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

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