Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Perform.Midi.Perform

Contents

Description

Main entry point for Perform.Midi. Render Deriver output down to actual midi events.

Synopsis

Documentation

default_velocity :: MSignal.Y Source #

This winds up being 100, which is loud but not too loud and distinctive-looking.

data State Source #

Performance state. This is a snapshot of the state of the various functions in the performance pipeline. You should be able to resume performance at any point given a RealTime and a State.

I don't do that anymore, and this is left over from when I cached the performance. I removed the cache but left the state visible.

Constructors

State 

Fields

Instances
Eq State # 
Instance details

Defined in Perform.Midi.Perform

Methods

(==) :: State -> State -> Bool #

(/=) :: State -> State -> Bool #

Show State # 
Instance details

Defined in Perform.Midi.Perform

Methods

showsPrec :: Int -> State -> ShowS #

show :: State -> String #

showList :: [State] -> ShowS #

Pretty.Pretty State # 
Instance details

Defined in Perform.Midi.Perform

data Config Source #

Instances
Eq Config # 
Instance details

Defined in Perform.Midi.Perform

Methods

(==) :: Config -> Config -> Bool #

(/=) :: Config -> Config -> Bool #

Show Config # 
Instance details

Defined in Perform.Midi.Perform

perform :: State -> Configs -> Events -> (MidiEvents, State) Source #

Render instrument tracks down to midi messages, sorted in timestamp order. This should be non-strict on the event list, so that it can start producing MIDI output as soon as it starts processing Events.

types