Urs Liska | 31 May 09:15 2016
Gravatar

relative include with ly:parser-parse-string

Hi all,

I need to do a relative include with ly:parser-parse-string. But
regardless whether I use an \include string or retrieve the file through
ly:gulp-file LilyPond uses the search path to look up the target file.
The 'relative-includes option doesn't have any effect on this obviously.

So is there:

a) a way to perform a relative include from ly:parser-parse-string or

b) a way to determine the absolute path to the file where the current
code is read from (not the *location*)?

The current code in place is

(ly:parser-parse-string (ly:parser-clone) "\\include
\"internal/os-path.ily\"")

Thanks for any pointers
Urs
dtsmarin | 30 May 23:51 2016
Picon

Dynamic Range fluctuation function

Hi everyone,
I'm trying to create a box that will contain two dynamics and between them a
two-way arrow.
As you can see in the attached file, the function is faked.

Ideally something like this would make sense: 

c1\dynr #niente #ff 

(need a function that will translate those 2 values to dynamic text -in case
of the niente dynamic symbol that isn't available in the Feta font so the
smufl equivalent must be used-)

2)I had box padding issues with some dynamics and I think that the box
should be shorter vertically.
4)The current faked function works as a markup whereas it should work as a
dynamic.

Best,
Dimitris 

dynamicrange.ly
<http://lilypond.1069038.n5.nabble.com/file/n191216/dynamicrange.ly>  

--
View this message in context: http://lilypond.1069038.n5.nabble.com/Dynamic-Range-fluctuation-function-tp191216.html
Sent from the User mailing list archive at Nabble.com.
Michael Edwards | 30 May 21:20 2016
Gravatar

Re: multiple tails

Thanks for your responses Marc, tisimst, and Urs.

> Which lilypond version do you use?
2.18.2-1

> BTW, is this just happening when you print it?
Yes, only when printing. The PDF looks fine on-screen.

> And (maybe even more important): what code did produce that output?

Here's bar 711. Please note that this code is being generated by my
algorithmic composition software, slippery chicken, though I'm not
sure that makes a difference.

r8 < d' fs'\harmonic  \parenthesize \tweak font-size -2 fs''' >4.~ (
^\markup { \teeny "III" } \pp \> < d' fs'\harmonic  \parenthesize
\tweak font-size -2 fs''' >16 \pppp \< < f' bf'\harmonic
\parenthesize \tweak font-size -2 f''' >4.. ^\noise ) ^\markup {
\teeny "III" } \pp \! \mark \markup{ \box \bold \abs-fontsize #18
3.2.3 } |

Best, Michael

On 21 May 2016 at 15:09, Michael Edwards <m <at> michael-edwards.org> wrote:
> Hello everyone,
>
> When I print some scores I get multiple tails on some notes. See
> attached for an example. Looking at the PDF it's fine, but I've
> printed on several printers from different machines and always get
> extra tails. Any idea what might be causing this?
(Continue reading)

weblily | 30 May 16:54 2016
Picon

Weblily.net now running Lilypond 2.19.40

On Weblily.net you can run Lilypond from within your browser without any local intallation.  After quite some time I've found time and energy to give Weblily.net an update.

The new features are
  • Now running Lilypond 2.19.40
    I've changed my setup, so that updates to Weblily.net with new upcoming versions of Lilypond will take less effort than before. So I hope to be able to follow major updates in the future more closely. All those that asked for it: You have been listened to.
  • Improved Stability via scorio's Lilypond engine
    Weblily usees the Lilypond engine of scorio.com. The scorio engine runs Lilypond considerably faster and is much more stable. So hopefully you will not see "Server Overloaded" messages ever again. However, be prepared to see other messages for what reaseon so ever. I keep working.
  • Audio plaback for all Browsers via MIDI.js
    The playback option is now working again with all(?) current browsers. I integrated the Javascript library  MIDI.js that takes advantage of sound synthesis capabilities built into modern browsers. So no plugins or add-ons are needed anymore.

Keep enjoying Lilypond on the web with www.weblily.net.Thanks to all who gave their feedback and supported my efforts.

Weblily


_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Phil Holmes | 30 May 16:09 2016
Picon

Further scheme help, please

I have some boiler-plate markup that I use in 16C music to show the lyric 
repeat sign they use: a small circle, 2 lines and another circle.  This is 
what I use, split into separate lines and commented:

\once \override Lyrics.LyricText.Y-extent = #'(-10 . 10) % stops 
collisions with stems
\set lyricMelismaAlignment = #CENTER % keeps the symbol centred
\markup { \raise #1 % shifts it up
{ \draw-circle #0.1 #0.1 ##t % draw the first circle
\raise #1 { \draw-line #'( 0 . -2 ) } % draw first line
\raise #1 { \draw-line #'( 0 . -2 ) } % draw second line
\draw-circle #0.1 #0.1 ##t } } % draw final circle
_ _ _ _ _  % one underscore for each note in the lyric repeat 
\unset lyricMelismaAlignment % reset alignment

I was hoping to replace this with a function to make the copying and 
pasting less of a problem.  Ideally, I would have something like:

lyr = \lyricmode { Word \LyRep #5 next word }

And the LyRep command would use the commands above to draw the repeat sign 
and add 5 skips.  Problem is, I can't currently get close to making this 
work.  I can draw the symbol with a define-markup-command, but don't know 
how to deal with the skips.

Help appreciated.
bart deruyter | 30 May 13:45 2016
Picon

note names as solmisation printed as markup automagically?

Hi all,

I've found a pdf on imslp with music of Sagreras. The names of the notes are printed above the notes that are played.

Since I teach guitar to people without prior knowledge of music theory, I often use tabulature. Now I have some people who want to learn how to read notes. Here in Belgium it is usually not with letters, but with the solmisation names of the notes. 

So I was wondering, would there be a way to print the names of the notes as markup, in an automated way? I know how to print them with a markup command, but it's a heck of a task to add manually with so much notes :-) .

Of course I'd only do this for some easy pieces, and then let them exercise without those added names, but it might be a good start for newbies in reading music.

grtz,

Bart

_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Jacques Menu Muzhic | 30 May 12:02 2016
Picon

Re: Making flags a bit thicker? Changing distance between key signature elements?

Thanks Brian!

JM

> Le 30 mai 2016 à 11:34, Brian Barker <b.m.barker <at> btinternet.com> a écrit :
> 
> At 11:18 30/05/2016 +0200, Jacques Menu Muzhic wrote:
>> Le 30 mai 2016 à 11:13, Stanislav Ossovsky a écrit :
>>> I have been developing tactile stave music notation for the visually impaired. I am going to make a score
with subsequent milling on a CNC machine. [...]
>> 
>> FMI : what is a CNC machine?
> 
> See https://en.wikipedia.org/wiki/CNC_router .
> 
> Brian Barker 
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
Simon Albrecht | 30 May 11:58 2016
Picon

Re: Making flags a bit thicker? Changing distance between key signature elements?

It’s generally helpful to keep replies on-list.
Best, Simon

On 30.05.2016 11:29, Stanislav Ossovsky wrote:
> Yes, exactly!
> I mean accidentals in a key signature.
> In terms of import facilities - it is better to fix some things manually then writing the whole piece from
the scratch, especially is that pieces of music is loooong. Besides now I have been experimenting, so I am
going to mill a simple Bach’s invention. Shouldn’t be too many problems with formatting I hope.
> Sincerely
> Stas.
>
>> On 30 May 2016, at 12:27, Simon Albrecht <simon.albrecht <at> mail.de> wrote:
>>
>> On 30.05.2016 11:13, Stanislav wrote:
>>> Hello everybody!
>>> I have been developing tactile stave music notation for
>>> the visually impaired. I am going to make a score with
>>> subsequent milling on a CNC machine. Now I mainly
>>> use Musescore, which is a wonderful piece of software,
>>> but as of yet it cannot change the width of flags
>>> and change distance between key signature elements.
>>> Can those things be done in Lilypond?
>> Certainly they can.  The flags in their current shape are part of the music font, so it’s not quite easy to
just make them thicker, but you can create a new ‘stencil’ (or someone on this list can) and replace the
default one.  The other one is also feasible: do you mean the padding between individual accidentals in a
key signature?
>>
>>> In such case I would prepare the score in
>>> Musescore and then import it into
>>> Lilypond and do the rest.
>> Unfortunately, this is difficult. LilyPond has MusicXML import facilities, but they aren’t quite
satisfactory and tend to require a lot of manual adjustments. There is ongoing work to improve this.
>>
>> Best, Simon
Stanislav | 30 May 11:13 2016
Picon

Making flags a bit thicker? Changing distance between key signature elements?

Hello everybody!
I have been developing tactile stave music notation for 
the visually impaired. I am going to make a score with 
subsequent milling on a CNC machine. Now I mainly 
use Musescore, which is a wonderful piece of software, 
but as of yet it cannot change the width of flags 
and chance distance between key signature elements. 
Can those things be done in Lilypond? 
In such case I would prepare the score in 
Musescore and then import it into 
Lilypond and do the rest.
Please help! 
70147persson | 30 May 10:28 2016
Picon

MIDI and template for dynamics

Hi all,

Using a template for dynamics is a convenient way of writing, when dealing with voices following the same dynamics pattern. Basically it works very well for producing beautiful scores, and also controlling MIDI. But now I have found something that might be a bug, even if I hope it is just a mistake of mine. Here is a small example:

\version "2.18.2"

Music = {
  a'4 a' a' a'
  a'4 a' a' a'
}

Dynamics = {
  s4\ppp s s s
  s4\fff s s s
}

\score {
   \new Staff <<
     \new Voice { \Music }
     \new Voice { \Dynamics }
   >>

  \layout {}
  \midi {}
}

It produces a nice score and also the MIDI reflects the dynamics. But, if I name one of the Voices, which I need to for Lyrics, the score is still fine, but in the MIDI file nothing of dynamics can be heard. Just one level all the time.

\version "2.18.2"

Music = {
  a'4 a' a' a'
  a'4 a' a' a'
}

Dynamics = {
   s4\ppp s s s
   s4\fff s s s
}

\score {
  \new Staff <<
    \new Voice = "SA" { \Music }  % <-- named voice
    \new Voice { \Dynamics }
  >>

   \layout {}
   \midi {}
}

As you see the above examples are written for version 2.18.2, the latest stable, but I have tested also in version 2.19.42 without any difference.

/Kaj

p, li { white-space: pre-wrap; }
_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Thomas Shaddox | 30 May 01:26 2016
Picon
Gravatar

Arpeggio crossing multiple staves overlaps with previous note

I've got a simple arpeggio crossing my two staves, and for some reason the
arpeggio symbol is overlapping the previous note. I have used crossing
arpeggios before without problems, but something about this one is problematic.
I have tried various repositioning techniques described in the Lilypond
documentation, with no success. Any help is much appreciated!

Here's an image:


Here's my Lilypond example:

\version "2.12.3"
\include "english.ly"

global = {
  \key f \major
  \numericTimeSignature
  \time 4/4
}

right = \relative c'' {
  \global
  f4 f f8 g8
  <g df bf f>4\arpeggio |
  <f c a>1 |
}

left = \relative c {
  \global
  f16 df' af df f,16 df' af df ef,16 df' a df
  <ef, df' a>4\arpeggio |
  <f c f,>1 |
}

\score {
  \new PianoStaff <<
    \set PianoStaff.connectArpeggios = ##t
    \new Staff = "right" \with {
      midiInstrument = "acoustic grand"
    } \right
    \new Staff = "left" \with {
      midiInstrument = "acoustic grand"
    } { \clef bass \left }
  >>
}

_______________________________________________
lilypond-user mailing list
lilypond-user <at> gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Gmane