Karya, built on 2018-02-23T20:23:55 (patch cf8565b7ac832266878af99a942555d139065f12)

Safe HaskellNone

Perform.Lilypond.Constants

Contents

Synopsis

ly-global instrument

ly_global :: Score.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

Bounded FreeCodePosition # 
Enum FreeCodePosition # 
Eq FreeCodePosition # 
Ord FreeCodePosition # 
Show FreeCodePosition # 
Pretty FreeCodePosition # 
ShowVal.ShowVal FreeCodePosition # 
Typecheck.TypecheckSymbol FreeCodePosition # 
Typecheck.ToVal FreeCodePosition # 
Typecheck.Typecheck FreeCodePosition # 

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

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.