lilypond-user
[Top][All Lists]
Advanced

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

Re: highlight music / fingering


From: Gianmaria Lari
Subject: Re: highlight music / fingering
Date: Wed, 16 Nov 2016 11:05:07 +0100

>   c4 \chordmode {f, f,}
>   e \chordmode {e, e,}
>   \partial 2 b \chordmode {e,}

[graphics]

If that input corresponds to the printed output you gave, I want to see
the code producing the output.


No, it doesn't correspond. Have a look to this code and to attached images:

\version "2.19.49"
\include "AccordionStandardBass.ly"

left = 
{
  \clef bass
  \xao \xam \xaM \xas       %sorry for the terrible name, they are temporary
}

\score 
{
  \new Staff = "left"  {\keepWithTag #'screenOut \left}
  \layout { } %first score
}

\score 
{
  \new Staff = "left" \with { midiInstrument = "accordion"} {\keepWithTag #'midiOut \left}
  \layout {} %second score; just to see the output
  \midi { }
}

This generates two different scores and one midi file. I attached the screenshot of the two scores and the source code of "AccordionStandardBass.ly"
The second score normally does not contain layout because it is used only for the midi output; here I included the "layout" command to show what is going to the midi....

The source "AccordionStandardBass.ly" is "semiautomatically" generated :))  It is semi-automatically generated in the sense that I've written just one note and copy and paste the rest (just changed the note name etc.)

I wrote AccordionStandardBass few months ago. Now that I understand a bit more lilypond I would like to rewrite it. The idea is to have a tool to write for accordion in "standard notation" and also generating corresponding midi output. If you David, or anybody else with more experience than me can help to do a better work it would be great.

Best regards, g.

Attachment: AccordionStandardBass.ly
Description: Text Data

Attachment: Capture.PNG
Description: PNG image


reply via email to

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