Safe Haskell | None |
---|---|
Language | Haskell2010 |
Convert MIDI events of a MIDI controller to a control signal.
Synopsis
- type T = T StrictTime
- duration :: T y -> LazyTime
- zipWith :: C time => (a -> b -> c) -> T time a -> T time b -> T time c
- initWith :: (y -> c) -> c -> T StrictTime [y] -> T c
- controllerLinear :: (C event, C y) => Channel -> Controller -> (y, y) -> y -> Filter event (T y)
- controllerExponential :: (C event, C y) => Channel -> Controller -> (y, y) -> y -> Filter event (T y)
- pitchBend :: (C event, C y) => Channel -> y -> y -> Filter event (T y)
- channelPressure :: (C event, C y) => Channel -> y -> y -> Filter event (T y)
- bendWheelPressure :: (C event, C y, C y) => Channel -> Int -> y -> y -> Filter event (T (T y))
- bendWheelPressureZip :: (C event, C y, C y) => Channel -> Int -> y -> y -> Filter event (T (T y))
Documentation
type T = T StrictTime Source #
controllerLinear :: (C event, C y) => Channel -> Controller -> (y, y) -> y -> Filter event (T y) Source #
controllerExponential :: (C event, C y) => Channel -> Controller -> (y, y) -> y -> Filter event (T y) Source #
pitchBend :: (C event, C y) => Channel -> y -> y -> Filter event (T y) Source #
pitchBend channel range center
:
emits frequencies on an exponential scale from
center/range
to center*range
.