Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

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 # 
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.