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

Synth.Shared.Note

Contents

Description

The Note type and support.

Synopsis

# Documentation

data Note Source #

High level representation of one note. This will be converted into one or more Samples.

Constructors

 Note Fieldspatch :: !PatchNameMap this note to one of the synthesizer's patches.instrument :: !InstrumentName element :: !TextAddress this note to a particular element within the patch. What it is depends on the instrument. For instance, it might the a particular string on a pipa. The difference from attributes is that each element is mutually exclusive.start :: !RealTime duration :: !RealTime controls :: !(Map Control.Control Signal.Signal)E.g. envelope, pitch, lpf.attributes :: !Attrs.Attributes

Instances

 # MethodsshowsPrec :: Int -> Note -> ShowS #show :: Note -> String #showList :: [Note] -> ShowS # # MethodsformatList :: [Note] -> Doc Source # # Methods

type PatchName = Text Source #

Unique identifier for a patch.

This is the local scone instantiation of the PatchName. This is the same as Instrument.