Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

Safe HaskellNone

Cmd.Simple

Contents

Description

Simple Events are supposed to be easy to read, and easy to serialize to text and load back again. Functions here convert them to and from text form, stashing converted simple blocks in the clipboard.

Synopsis

Documentation

type State = (Text, Allocations, [Block]) Source #

Dump a score, or part of a score, to paste into a test. (global_transform, allocations, blocks)

type Block = (Text, Text, [Maybe Track], [Skeleton.Edge]) Source #

(id_name, title, tracks, skeleton)

type Track = (Text, Text, [Event]) Source #

(id_name, title, events)

type Event = (Double, Double, Text) Source #

(start, duration, text)

type ScoreEvent = (Double, Double, String, Maybe Pitch.NoteNumber) Source #

(start, duration, text, initial_nn)

type PerfEvent = (String, Double, Double, Pitch.NoteNumber) Source #

(inst, start, duration, initial_nn)

type Allocations = [(Instrument, (Qualified, [(WriteDevice, Midi.Channel)]))] Source #

(instrument, (qualified, [(device, chan)]))

[] chans means it's UiConfig.Dummy.

This doesn't include Patch.config_settings, so it's assumed they're the same as Patch.patch_defaults.

state

block

track

allocations

ExactPerfEvent