Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Midi.State

Description

Simulate the state of a MIDI synthesizer.

Midi.Synth is different in that it wants to convert MIDI messages to higher level notes, but similar in that it's also simulating a synthesizer. This module focuses on the instantaneous state of the synth.

Synopsis

Documentation

newtype State Source #

Constructors

State (Map Addr Channel) 

Instances

diff :: State -> State -> [Message] Source #

Emit msgs needed to take one State to another.