Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Derive.C.Prelude.Note

Description

Basic calls for note tracks.

Synopsis

Documentation

transformed_note :: Doc.Doc -> Tags.Tags -> (NoteArgs -> NoteDeriver -> NoteDeriver) -> Generator Note Source #

Create a standard note call with a transformer applied.

note_call :: CallName -> Doc.Doc -> Tags.Tags -> GenerateNote -> Generator Note Source #

Create a note call, configuring it with the actual note generating function. The generator is called with the usual note arguments, and receives the usual instrument and attribute transform.

data Config Source #

Constructors

Config 

Fields

Instances

Instances details
Show Config Source # 
Instance details

Defined in Derive.C.Prelude.Note

no_duration_attributes :: Config Source #

Don't observe any of the duration affecting attributes.

type GenerateNote = NoteArgs -> NoteDeriver Source #

Generate a single note. This is intended to be used as the lowest level null call for some instrument.

default_note :: Config -> GenerateNote Source #

The actual note generator.

min_duration :: RealTime.RealTime Source #

This keeps a negative sustain_abs from making note duration negative.