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

Perform.Lilypond.Constants

Synopsis

ly-global instrument

ly_global :: ScoreT.Instrument Source #

This is a pseudo-instrument used to mark notes which are actually global lilypond directives. E.g., meter changes, page breaks, movement titles.

code fragments

data FreeCodePosition Source #

A free-standing code fragment is merged in with its nearest

Constructors

FreePrepend 
FreeAppend 

Instances

Instances details
Bounded FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Enum FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Show FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Eq FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Ord FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

ShowVal.ShowVal FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Typecheck.ToVal FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Typecheck.Typecheck FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Pretty FreeCodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

data CodePosition Source #

A code fragment that has to be attached to notes.

Instances

Instances details
Show CodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Eq CodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Ord CodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

Pretty CodePosition Source # 
Instance details

Defined in Perform.Lilypond.Constants

ShowVal.ShowVal (Position CodePosition) Source # 
Instance details

Defined in Derive.Call.Ly

Typecheck.ToVal (Position CodePosition) Source # 
Instance details

Defined in Derive.Call.Ly

Typecheck.Typecheck (Position CodePosition) Source # 
Instance details

Defined in Derive.Call.Ly

data Attach Source #

Chord goes before or after the whole chord, Note goes before or after the individual pitch within the chord.

Constructors

Chord 
Note 

Instances

Instances details
Show Attach Source # 
Instance details

Defined in Perform.Lilypond.Constants

Eq Attach Source # 
Instance details

Defined in Perform.Lilypond.Constants

Methods

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

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

Ord Attach Source # 
Instance details

Defined in Perform.Lilypond.Constants

data Position Source #

Constructors

Prepend 
Append 

Instances

Instances details
Show Position Source # 
Instance details

Defined in Perform.Lilypond.Constants

Eq Position Source # 
Instance details

Defined in Perform.Lilypond.Constants

Ord Position Source # 
Instance details

Defined in Perform.Lilypond.Constants

data Distribution Source #

If the note is split into multiple tied notes, which ones should get the code?

Constructors

First 
Last 
All 

other env keys

v_append_pitch :: Key Source #

String: append after the pitch, and before the duration. This is for pitch modifiers like reminder accidentals (!) and cautionary accidentals (?). TODO this isn't integrated with CodePosition, but maybe could be. Would Prepend make any sense?

v_tie_direction :: Key Source #

String: "^" or "_", manually sets tie direction, if this note is tied.

tuplet

set_tuplet Source #

Arguments

:: RealTime

score_dur is the visible duration in the score

-> RealTime

real_dur is the duration it actually consumes, so 3 quarters into 1 whole will be 3/4.

-> Environ 

Set the env vars that signals that the lilypond converter should make the following notes into a tuplet.

tremolo

v_tremolo :: Key Source #

This marks a tremolo event, which triggers special treatment for coincident notes.

ly-global

v_meter :: Key Source #

String: should be parseable by parse_meter, e.g. '3/4'. Used only on >ly-global events.

v_subdivision :: Key Source #

String: this has the same format as v_meter, but it affects the rhythmic spelling for the instrument.

v_movement :: Key Source #

String: Gives the title of a new movement. An event with ly_global instrument and this env val will cause a movement break.

common code

mixed_pedal_style :: Text Source #

Emit Ped_^_/ style pedal markings.