The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse Contributing Snippet database

Results 1−10 of 34 for instrument

Adding instrument name and clef change to cue notes [0.42857]

Adding instrument name and clef change to cue notes

…However, these commands do neither print any cue instrument name, nor do they allow the cue notes … …that you always have to manually give the instrument name and clef of the quoting voice, because … …way known to me how to set the instrument name and clef for a quoted voice automatically.

…id=388 \paper { tagline = ##f } % set the cue instrument name setCue = #(define-music-function (instr) (string?) #{ \set … …cueDuring % -) CueInstrument and OriginalInstrument are the displayed instrument names % -) CueClef and OriginalClef are the clefs … …layout { \context { \Score % set the font of the instrument names to a smaller size: \override InstrumentSwitch.font-size = …

Adding instrument name and clef change to cue notes

Aligning and centering instrument names (advanced) [0.40179]

Aligning and centering instrument names (advanced)

…is an advanced macro to produce automatically centered instrument names: use \instrument for a single line instrument name, and \instruments for a multi line instrument name.

…markup #:hcenter-pad indent #:huge m)) texts))))) #(define-markup-command (instrument layout props text) (markup?) (interpret-markup layout props (markup … …new StaffGroup << \new Staff << \set Staff . instrumentName = \markup \instrument Violons { c'4 d' e' f' g'1 } >> \… …g'1 } >> \new Staff << \set Staff . instrumentName = \markup \instrument Basses { \clef bass c4 c c g, c1 } >> >> \…

Aligning and centering instrument names (advanced)

Aligning and centering instrument names [0.37500]

Aligning and centering instrument names

The horizontal alignment of instrument names is tweaked by changing the Staff.InstrumentName.… …and short-indent define the space in which the instrument names are aligned before the first and the …

…InstrumentName.self-alignment-X = #LEFT instrumentName = \markup \left-column { "Left aligned" "instrument name" } shortInstrumentName = "Left" } { c''1 \break c''1 } \… …override InstrumentName.self-alignment-X = #CENTER instrumentName = \markup \center-column { Centered "instrument name" } shortInstrumentName = "Centered" } { g'1 g'1} \new … …InstrumentName.self-alignment-X = #RIGHT instrumentName = \markup \right-column { "Right aligned" "instrument name" } shortInstrumentName = "Right" } { e'1 e'1 } >> \layout { …

Aligning and centering instrument names

Replacing default MIDI instrument equalization [0.26786]

Replacing default MIDI instrument equalization

The default MIDI instrument equalizer can be replaced by setting the instrumentEqualizer … …a user-defined Scheme procedure that uses a MIDI instrument name as its argument along with a pair … …volumes respectively to be applied to that specific instrument. The following example sets the minimum and maximum …

Replacing default MIDI instrument equalization

Generating multiple PDFs from one lilypond file (and naming them appropriately) [0.24107]

…probabily also want to generate scores for each instrument. You can make lilypond create multiple PDFs from … …error message...) \book { \score { \new Staff << \va >> } \header {instrument = "Viola"} } To have some control about the naming …

…output-suffix "VI") \book { \score { \new Staff << \vI >> } \header {instrument = "Violino I"} } % The output will now be called *… …-Va-3.pdf #(define output-suffix "Va") \book { \header {instrument = "Viola"} \score { \new Staff << \va >> } } % The output will … …-VcB-4.pdf #(define output-suffix "VcB") \book { \header {instrument = "Violoncello e Basso"} \score { \new Staff << \vcb >> } } % The …

Generating multiple PDFs from one lilypond file (and naming them appropriately)

Transposing and naming instrument groups [0.21429]

Transposing and naming instrument groups

…score (Beethoven's Coriolan overture), there are different instrument groups, and some of the instruments may be …

Transposing and naming instrument groups

Specifying instrument changes as markups [0.21429]

Specifying instrument changes as markups

…useful macro when you need to specify multiple instrument changes on a same staff. Just write \inst "…

Specifying instrument changes as markups

Instrument name as staff lines [0.21429]

Instrument name as staff lines

Instrument name as staff lines

Instrument name as staff lines

Instrument name as staff lines (alternative) [0.21429]

Instrument name as staff lines (alternative)

Instrument name as staff lines (alternative)

Instrument name as staff lines (alternative)

Using Scheme to display the list of all supported midi instruments [0.17857]

…and then creating a \markup for each midi instrument definition. This is done by a markup-list function …

…a lambda function to the list (instrument-names-alist) of instrument definitions % That function simply creates a markup containing … …a simple string (the first % entry of the instrument definition is the name, thus the (car instr). % …

Using Scheme to display the list of all supported midi instruments

1 2 3 4 Next ⇨