Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

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 # 
Instance details

Defined in Perform.Lilypond.Constants

Enum FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Eq FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Ord FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Show FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Pretty FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

ShowVal.ShowVal FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Typecheck.TypecheckSymbol FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Typecheck.ToVal FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Typecheck.Typecheck FreeCodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

data CodePosition Source #

A code fragment that has to be attached to notes.

Instances
Eq CodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Ord CodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Show CodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

Pretty CodePosition # 
Instance details

Defined in Perform.Lilypond.Constants

ShowVal.ShowVal (Position CodePosition) # 
Instance details

Defined in Derive.Call.Ly

Typecheck.TypecheckSymbol (Position CodePosition) # 
Instance details

Defined in Derive.Call.Ly

Typecheck.ToVal (Position CodePosition) # 
Instance details

Defined in Derive.Call.Ly

Typecheck.Typecheck (Position CodePosition) # 
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
Eq Attach # 
Instance details

Defined in Perform.Lilypond.Constants

Methods

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

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

Ord Attach # 
Instance details

Defined in Perform.Lilypond.Constants

Show Attach # 
Instance details

Defined in Perform.Lilypond.Constants

data Position Source #

Constructors

Prepend 
Append 
Instances
Eq Position # 
Instance details

Defined in Perform.Lilypond.Constants

Ord Position # 
Instance details

Defined in Perform.Lilypond.Constants

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