Eclats de vers : Opus : Musica : Templates
Table of Contents
1. Jazz
Le résultat :
La source :
% vim: set fdm=indent: % ------------ headers ------------ %\version "2.24.0" \language "english" \header { title = "jazz" subtitle="subtitle" composer = "composer" poet = "poet" %piece = "piece" } \layout { %\enablePolymeter \override Score.BarNumber.break-visibility = ##(#t #t #t) \context { \Score %barNumberVisibility = #(every-nth-bar-number-visible 8) barNumberVisibility = #(modulo-bar-number-visible 8 0) } \context { \Staff \RemoveEmptyStaves \consists "Merge_rests_engraver" } } % ------------ view only the beg/end ------------ %showFirstLength = R2.*8 %showLastLength = R2.*8 % ------------ melodies ------------ \include "include/mel.ly" % ------------ voices ------------ voiceWoodSoprano = \fixed c'' { \global \tempo 2. = 50 % Music follows here. \anacrusis } voiceWoodBass = \fixed c, { \global % Music follows here. \anacrusis } voiceBrassSoprano = \fixed c'' { \global % Music follows here. \anacrusis } voiceBrassBass = \fixed c, { \global % Music follows here. \anacrusis } voiceOrganRight = \fixed c'' { \global % Music follows here. \anacrusis } voiceOrganLeft = \fixed c { \global % Music follows here. \anacrusis } voiceKeyboardRight = \fixed c'' { \global % Music follows here. \anacrusis } voiceKeyboardLeft = \fixed c { \global % Music follows here. \anacrusis } voiceLuteTreble = \fixed c' { \global % Music follows here. \anacrusis } voiceLuteBass = \fixed c { \global % Music follows here. \anacrusis } voiceVibraphone = \fixed c' { \global % Music follows here. \anacrusis } voiceDrums = \drummode { \global % Music follows here. \anacrusisDrums } % ------------ instruments ------------ instrumentWoods = \new StaffGroup \with { instrumentName = "woods" shortInstrumentName = "wd" } << \new Staff = "treble" \with { midiInstrument = "clarinet" midiMinimumVolume = #1.0 midiMaximumVolume = #1.5 } { \clef treble \voiceWoodSoprano } \new Staff = "bass" \with { midiInstrument = "baritone sax" midiMinimumVolume = #1.0 midiMaximumVolume = #1.5 } { \clef bass \voiceWoodBass } >> instrumentBrass = \new StaffGroup \with { instrumentName = "brass" shortInstrumentName = "br" } << \new Staff = "treble" \with { midiInstrument = "trumpet" midiMinimumVolume = #1.0 midiMaximumVolume = #1.5 } { \clef treble \voiceBrassSoprano } \new Staff = "bass" \with { midiInstrument = "french horn" midiMinimumVolume = #1.0 midiMaximumVolume = #1.5 } { \clef bass \voiceBrassBass } >> instrumentOrgan = \new GrandStaff \with { instrumentName = "organ" shortInstrumentName = "org" } << \new Staff = "treble" \with { midiInstrument = "drawbar organ" midiMinimumVolume = #1.0 midiMaximumVolume = #1.0 } { \clef treble \voiceOrganRight } \new Staff = "bass" \with { midiInstrument = "drawbar organ" midiMinimumVolume = #1.0 midiMaximumVolume = #1.0 } { \clef bass \voiceOrganLeft } >> instrumentKeyboard = \new GrandStaff \with { instrumentName = "piano" shortInstrumentName = "pn" connectArpeggios = ##t } << \new Staff = "treble" \with { midiInstrument = "acoustic grand" midiMinimumVolume = #1.5 midiMaximumVolume = #2.0 } { \clef treble %\showStaffSwitch \voiceKeyboardRight } \new Staff = "bass" \with { midiInstrument = "acoustic grand" midiMinimumVolume = #1.5 midiMaximumVolume = #2.0 } { \clef bass %\showStaffSwitch \voiceKeyboardLeft } >> instrumentLutes = \new GrandStaff \with { instrumentName = "guitars" shortInstrumentName = "gtr" } << \new Staff = "treble" \with { midiInstrument = "acoustic guitar (nylon)" midiMinimumVolume = #1.5 midiMaximumVolume = #2.0 } { \clef treble \voiceLuteTreble } \new Staff = "bass" \with { midiInstrument = "acoustic bass" midiMinimumVolume = #1.5 midiMaximumVolume = #2.0 } { \clef bass \voiceLuteBass } >> instrumentVibraphone = \new Staff \with { instrumentName = \markup \column { vibra- phone } shortInstrumentName = "vb" midiInstrument = "vibraphone" midiMinimumVolume = #1.0 midiMaximumVolume = #1.5 } { \clef treble \voiceVibraphone } instrumentDrums = \new DrumStaff \with { instrumentName = "drums" shortInstrumentName = "dm" } { \clef percussion \voiceDrums } % ------------ book ------------ \book { \markup \column { \vspace #1 \line { woods = clarinet, baritone sax } \line { brass = trumpet, french horn } \line { guitars = guitar, bass guitar } \vspace #1 } \score { << \instrumentWoods \instrumentBrass \instrumentOrgan \instrumentKeyboard \instrumentLutes \instrumentVibraphone \instrumentDrums >> \layout { } \midi { \context { \Score %midiChannelMapping = #'instrument %\enablePolymeter } } } \paper { system-separator-markup = \slashSeparator } }