X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fperformer-init.ly;h=76ea46221d8b24cbaaef67e7c5db6bb23932721d;hb=b25faeacb156a7301285f252722287bf39d966b1;hp=244f0eb5e4f1b3e13ec41fa9c1032a3afbdcb501;hpb=493e670b2be12e94f6ebf57a709981bf7f452b25;p=lilypond.git diff --git a/ly/performer-init.ly b/ly/performer-init.ly index 244f0eb5e4..76ea46221d 100644 --- a/ly/performer-init.ly +++ b/ly/performer-init.ly @@ -1,87 +1,122 @@ -\version "2.1.19" +\version "2.7.39" - % - % setup for Request->Element conversion. Guru-only - % -\translator { - \type "Staff_performer" +%% +%% setup for Request->Element conversion. +%% +\context { + \type "Performer_group" \name Staff \accepts Voice - + \accepts CueVoice + \defaultchild Voice + + \consists "Staff_performer" \consists "Key_performer" \consists "Tempo_performer" \consists "Time_signature_performer" - } -\translator { - \StaffContext +\context { + \name Global + \accepts Score +\description "Hard coded entry point for LilyPond. Cannot be tuned." + } + +\context { + \Staff \name DrumStaff + midiInstrument = #"drums" \accepts DrumVoice + \defaultchild DrumVoice } -\translator { - \type "Performer_group_performer" +\context { + \type "Performer_group" \name Voice - \consists "Dynamic_performer" + % The order of the dynamic performers is significant: absolute dynamic events must override crescendo events in midi. \consists "Span_dynamic_performer" + \consists "Dynamic_performer" \consists "Tie_performer" \consists "Piano_pedal_performer" + \consists "Note_performer" + \consists "Beam_performer" + \consists "Slur_performer" } -\translator { - \VoiceContext - \name DrumVoice +\context { + \Voice + \name CueVoice + \alias Voice } -\translator { - \type "Performer_group_performer" - \name Voice - \consists "Note_performer" +\context { + \Voice + \name VaticanaVoice + \alias Voice } -\translator { - \type "Performer_group_performer" +\context { + \Voice + \remove "Note_performer" + \consists "Drum_note_performer" + \name DrumVoice +} + +\context { + \type "Performer_group" \name FiguredBass \consists "Swallow_performer" } -\translator { - \type "Performer_group_performer" +\context { + \type "Performer_group" \name GrandStaff \accepts RhythmicStaff \accepts Staff + \defaultchild Staff } -\translator { - \type "Performer_group_performer" +\context { + \type "Performer_group" \name "PianoStaff" \accepts Staff \accepts DrumStaff + \defaultchild Staff } -\translator { - \type "Performer_group_performer" +\context { + \type "Performer_group" \name "TabVoice" \consists "Swallow_performer" } -\translator { - \type "Performer_group_performer" +\context { + \type "Performer_group" \name "Devnull" \consists "Swallow_performer" } -\translator { - \type "Performer_group_performer" +\context { + \type "Performer_group" \name "TabStaff" \accepts "TabVoice" + \defaultchild "TabVoice" +} + +\context { + \type "Performer_group" + \name "VaticanaStaff" + \alias "Staff" + \denies "Voice" + \accepts "VaticanaVoice" + \defaultchild "VaticanaVoice" } -\translator { +\context { \type "Score_performer" \name Score - \alias Timing - instrument = #"bright acoustic" + + melismaBusyProperties = #default-melisma-properties + instrumentName = #"bright acoustic" \accepts Staff \accepts DrumStaff \accepts GrandStaff @@ -94,52 +129,71 @@ \accepts RhythmicStaff \accepts ChordNames \accepts FiguredBass - - \alias "Timing" + \accepts Lyrics + \accepts VaticanaStaff + \consists "Timing_translator" \consists "Swallow_performer" + + \defaultchild "Staff" dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume instrumentEqualizer = #default-instrument-equalizer + drumPitchTable = #(alist->hash-table midiDrumPitches) + timing = ##t } -\translator { - \type "Staff_performer" % Performer_group_performer ? +\context { + \type "Performer_group" + \consists "Staff_performer" % Performer_group ? \consists "Lyric_performer" - \name LyricsVoice + \name Lyrics \consists "Time_signature_performer" \consists "Tempo_performer" } -\translator{ - \type "Performer_group_performer" +\context{ + \type "Performer_group" \name ChoirStaff \accepts Staff \accepts DrumStaff + \defaultchild Staff + } -\translator { - \type "Staff_performer" + +\context { + \type "Performer_group" + \consists "Staff_performer" \accepts ChordNameVoice \name ChordNames } -\translator { - \type "Performer_group_performer" +\context { + \type "Performer_group" \consists "Note_performer" \name ChordNameVoice } -\translator { - \type "Performer_group_performer" +\context { + \type "Performer_group" \name StaffGroup \accepts Staff \accepts DrumStaff + \accepts TabStaff + \accepts RhythmicStaff + \accepts GrandStaff + \accepts PianoStaff + \accepts Lyrics + \accepts ChordNames + \accepts FiguredBass + + \defaultchild Staff } -\translator { \StaffContext \name RhythmicStaff } +\context { \Staff \name RhythmicStaff }