lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

snippet to automatically elaborate a bass line


From: Gianmaria Lari
Subject: snippet to automatically elaborate a bass line
Date: Wed, 30 Jan 2019 15:54:31 +0100

Is there any snippet that automatically convert the chord accompaniment at the bass in something a bit more elaborate for the midi?

For example, I write this

\version "2.19.82"
lh = \chordmode { c4 a:m d:m g }
rh = \fixed c' { e8-. e-. g-. e-. f16 g f e~ e8 d-. }

\score 
  <<
    \new Staff \rh    
    \new ChordNames \lh
  >>
  \layout {}
  \midi{}
}

and I would like to get (for example) something like this:

\version "2.19.82"
lh = \chordmode { c4 a:m d:m g }
lhMidi = {\clef bass  c,8 <c e g> a,, <a, c e> d, <d f a> g,, <g, b, d> }
rh = \fixed c' { e8-. e-. g-. e-. f16 g f e~ e8 d-. }

\score 
  <<
    \new Staff \rh    
    \new ChordNames \lh
  >>
  \layout {}
}

\score {
  \new PianoStaff 
  <<
    \new Staff \rh
    \new Staff \lhMidi
  >>
  \midi { }
}

Thank you, g.
P.S. My apologies if the musical words are not correct. I hope I have been clear anyway.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]