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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.MIDI.Value

Description

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

Synopsis

Documentation

controllerLinear :: C y => (y, y) -> Int -> y Source #

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

pitchBend :: C y => y -> y -> Int -> y Source #

velocity :: C y => Velocity -> y Source #

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

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