Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

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
Show State Source # 
Instance details

Defined in Perform.Midi.Perform

Methods

showsPrec :: Int -> State -> ShowS #

show :: State -> String #

showList :: [State] -> ShowS #

Eq State Source # 
Instance details

Defined in Perform.Midi.Perform

Methods

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

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

Pretty.Pretty State Source # 
Instance details

Defined in Perform.Midi.Perform

data Config Source #

Instances

Instances details
Show Config Source # 
Instance details

Defined in Perform.Midi.Perform

Eq Config Source # 
Instance details

Defined in Perform.Midi.Perform

Methods

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

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

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