Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
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

Instances details
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

Instances details
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