Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Mathieu Demange
Hi David, The jPlayer plugin for jQuery excepts (if possible) two audio formats : Ogg Vorbis (.ogg) and AAC (.m4a). Please make sure you have your audio source file converted into those two formats. I'll update the make-live-script.sh file today so it can accept command line arguments to specify

Re: Better slashed graces

2015-11-30 Thread tisimst
David, On Mon, Nov 30, 2015 at 9:45 AM, David Nalesnik-2 [via Lilypond] < ml-node+s1069038n184294...@n5.nabble.com> wrote: > Hi Gilberto, > > On Mon, Nov 30, 2015 at 10:16 AM, Gilberto Agostinho <[hidden email] > > wrote: > >> Hi all, >> >> I am

Re: Better slashed graces

2015-11-30 Thread Gilberto Agostinho
Hi all, thanks for the comments, tisimst wrote > I believe it's in response to this snippet in the LSR: > http://lsr.di.unimi.it/LSR/Item?id=721 (Slashed beamed grace notes) Yes, that's the function, sorry for being unclear. My improvements above work well on most cases, but I modified that

Re: Better slashed graces

2015-11-30 Thread David Nalesnik
Hi again, On Mon, Nov 30, 2015 at 10:44 AM, David Nalesnik wrote: > Hi Gilberto, > > On Mon, Nov 30, 2015 at 10:16 AM, Gilberto Agostinho < > gilbertohasn...@gmail.com> wrote: > >> Hi all, >> >> I am trying to improve the slashed grace function because currently it >>

Re: Better slashed graces

2015-11-30 Thread David Nalesnik
On Mon, Nov 30, 2015 at 11:01 AM, tisimst wrote: > > Devs, > > Any reason this can't be incorporated into the regular distribution? I > know that beamed grace notes don't *need* a slash, so maybe there could > be a hook to turn it on or off? > > I remember an email--I

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Richard Shann
On Mon, 2015-11-30 at 14:56 +0100, Mathieu Demange wrote: > Hi Richard, > > The ideal approach would have been to have a timing information > directly inserted in the svg output by LilyPond itself but I tried > everything I could to obtain such a result with no luck. I posted here > about that

Re: Better slashed graces

2015-11-30 Thread David Nalesnik
Hi Gilberto, On Mon, Nov 30, 2015 at 10:16 AM, Gilberto Agostinho < gilbertohasn...@gmail.com> wrote: > Hi all, > > I am trying to improve the slashed grace function because currently it does > work only for a limited amount of examples. I am trying to make the slash > always at the same

Re: Better slashed graces

2015-11-30 Thread Gilberto Agostinho
Hi David, As I wrote, I simply tried using some basic programming skills and trial and error in order to get a better looking results, and I would need some help to make this function look decently (I am not very familiar with Scheme at all, nor with programming functions in LilyPond). The main

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Mathieu Demange
Yes! Thanks for the help! I'll check that as soon as possible. This could greatly reduce the amount of work which is actually done by the python script. Is there a way to know the current tempo for any given grob ? Regards, Mathieu Le 2015-11-30 15:50, David Nalesnik a écrit : On Mon, Nov

Better slashed graces

2015-11-30 Thread Gilberto Agostinho
Hi all, I am trying to improve the slashed grace function because currently it does work only for a limited amount of examples. I am trying to make the slash always at the same position relative to the highest beam (which was one of the most annoying things about the other function) and then take

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Kastrup
Mathieu Demange writes: > Yes! Thanks for the help! I'll check that as soon as possible. This > could greatly reduce the amount of work which is actually done by the > python script. > > Is there a way to know the current tempo for any given grob ? I don't think so.

RE: A few notes softer

2015-11-30 Thread mskala
On Mon, 30 Nov 2015, Mark Stephen Mrotek wrote: > Sotto voce? Thanks, I think sotto voce is the term I want. How should I indicate its scope, horizontally and vertically? -- Matthew Skala msk...@ansuz.sooke.bc.ca People before principles. http://ansuz.sooke.bc.ca/

Re: A few notes softer

2015-11-30 Thread Jacques Menu
Hello Matthew, How about: \version "2.19.32" { c1\mf d1-\markup{\dynamic "p" \italic sub} e1\mf} { c1\mf \once\textLengthOn d1-\markup{ \italic "sotto voce"} e1-\markup{ \italic "sopra voce (joke) "}} JM > Le 30 nov. 2015 à 19:43, msk...@ansuz.sooke.bc.ca a écrit : > > On Mon, 30 Nov 2015,

Re: Better slashed graces

2015-11-30 Thread Gilberto Agostinho
David Nalesnik-2 wrote > You could have the idea of proportionality, but relative to the width of > the beam, so the line would always cross dead-center or a fixed distance > below the beams, whether you have 1, 2, 3, That's doable, but a > little > annoying: get the number of beams, the

Re: Better slashed graces

2015-11-30 Thread David Nalesnik
On Mon, Nov 30, 2015 at 11:17 AM, Gilberto Agostinho < gilbertohasn...@gmail.com> wrote: > Hi David, > > As I wrote, I simply tried using some basic programming skills and trial > and > error in order to get a better looking results, and I would need some help > to make this function look

RE: A few notes softer

2015-11-30 Thread Mark Stephen Mrotek
Matthew, Sotto voce? Piu piano? Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of msk...@ansuz.sooke.bc.ca Sent: Monday, November 30, 2015 10:11 AM To: lilypond-user@gnu.org Subject:

Re: Better slashed graces

2015-11-30 Thread David Nalesnik
On Mon, Nov 30, 2015 at 11:48 AM, Gilberto Agostinho < gilbertohasn...@gmail.com> wrote: > David Nalesnik-2 wrote > > My question would be: what is 'stem-fraction' now? What does it now > > measure? > > I have absolutely no idea, I just messed around with the variables and > expressions until I

A few notes softer

2015-11-30 Thread mskala
This may be more a question about musical notation than about LilyPond, but: I would like to indicate that just a few notes (one hand on the piano for the duration of one bar) should be played softly. Not as a progressive change over time (crescendo/decrescendo), but the isolated notes - play at

Re: Better slashed graces

2015-11-30 Thread Gilberto Agostinho
David Nalesnik-2 wrote > My question would be: what is 'stem-fraction' now? What does it now > measure? I have absolutely no idea, I just messed around with the variables and expressions until I got a result that looked right in the situations I was testing :) As you say, ideally this all could

Re: Better slashed graces

2015-11-30 Thread David Nalesnik
On Mon, Nov 30, 2015 at 12:08 PM, David Nalesnik wrote: > > > You could have the idea of proportionality, but relative to the width of > the beam, so the line would always cross dead-center or a fixed distance > Well, not "fixed" if proportional...

Re: transpose pitch by semitones

2015-11-30 Thread Gilles THIBAULT
> #(define (semitones->pitch semitone) >(let ((index (modulo semitone 12)) > (octave (floor (/ semitone 12 > (list > octave > (list-ref >'((0 0) ; c > (0 1/2) ; cis > (1 0) ; d > (1 1/2) ; dis > (2 0) ; e >

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Paul Morris
> On Nov 29, 2015, at 1:08 PM, Mathieu Demange > wrote: > > http://www.mathieudemange.fr/lilypond-html-live-score-demo/ Nice work! This is great stuff, and I’d probably be interested in using it at some point. (Another case where the ability to automatically

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Bellows
> The jPlayer plugin for jQuery excepts (if possible) two audio formats : > Ogg Vorbis (.ogg) and AAC (.m4a). Please make sure you have your audio > source file converted into those two formats. Hey Mathieu, So here is my Lilypond test file. \include "live-score.ily" \score{ {c e g c'}

Re: Is there a similar command to LaTeX's \vfill?

2015-11-30 Thread Andrew Bernard
HI Joshua, Trail and error I am afraid. Andrew On 1/12/2015, 10:16, "Joshua Nichols" wrote: ​Thanks for the lead. How can I apply this to force the item it puts space before to the bottom of the

Re: Layout of a (piano) hand indicator

2015-11-30 Thread Simon Albrecht
Hello Urs, it’s very handy that you just came up with this thread, since I’m needing the very thing in a score I just do. I wrote an event function to nicely wrap up your approach: %%% \version "2.19.32" hook = #(let ((direction? (lambda (n) (= 1 (abs n (hook-markup #{

RE: Layout of a (piano) hand indicator

2015-11-30 Thread Mark Stephen Mrotek
Simon, Attached is a snippet for bracket and hand indication from my library. I cannot remember from whom I got it, so I cannot properly ascribe. Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org]

Re: Is there a similar command to LaTeX's \vfill?

2015-11-30 Thread Joshua Nichols
​Thanks for the lead. How can I apply this to force the item it puts space before to the bottom of the page? All I see is application for mm specific intervals.​ IX, Josh ___ lilypond-user mailing list lilypond-user@gnu.org

Re: aligning melisma and non-melisma lyrics across staves in the same system

2015-11-30 Thread Thomas Morley
2015-11-28 23:54 GMT+01:00 Kieren MacMillan : > Hi Thomas, > > Thanks for the detailed and helpful response! > >> If you want to attract me working on some of your most pressing >> issues, please write short, add a compilable code-example (no link) >> and give

Re: unpacking a list

2015-11-30 Thread Urs Liska
Hi David, now finally to this one ... Am 28.11.2015 um 10:52 schrieb David Kastrup: > Urs Liska writes: > >> If someone might want to have a second look at the actual code it's >> (currently) in >>

\autochange and \override of dynamics and hairpins

2015-11-30 Thread Gilberto Agostinho
Hi all, Can anyone explain to me why the second system doesn't work, while the last one does? Can't I use \override commands inside a \autochange block? \version "2.19.28" \markup{"no override, no problems"} \new PianoStaff \autochange { a\p\< d' g f'\f } \markup{"autochange doesn't work

Re: Gounod - Le Rendez Vous

2015-11-30 Thread Alberto Simões
in a nutshell: s2\> s4\! instead of s2.\> s\! And I have yet another suggestion: It works as is, but LilyPond would have more freedom to make good linebreaks if you insert \bar "" at appropriate places in the introduction’s cadenza. Hi, Simon Better like this?

Force minor trill playback

2015-11-30 Thread Gilberto Agostinho
Hi all, In case someone else will find this useful, here is a way to force all trills to be minor: \include "articulate.ly" \version "2.19.28" #(define (ac:trill music) (let* ((hemisemidur (ly:make-duration 5 0 1/1)) (orig-len (ly:music-length music)) (t (ac:twiddletime

Re: \autochange and \override of dynamics and hairpins

2015-11-30 Thread Gilberto Agostinho
Interesting enough, this works: \version "2.19.28" \new PianoStaff \autochange { \override Score.DynamicText.stencil = ##f \override Score.Hairpin.stencil = ##f a\p\< d' g f'\f } -- View this message in context:

Re: unpacking a list

2015-11-30 Thread Urs Liska
Am 30.11.2015 um 09:27 schrieb Urs Liska: > Hi David, > > now finally to this one ... > > Am 28.11.2015 um 10:52 schrieb David Kastrup: >> Urs Liska writes: >> >>> If someone might want to have a second look at the actual code it's >>> (currently) in >>>

Re: unpacking a list

2015-11-30 Thread David Kastrup
Urs Liska writes: > Am 30.11.2015 um 09:27 schrieb Urs Liska: > > Maybe, not for having someone else do the work for me but as an > incentive to learn: > > I assume I could also rewrite the following code in a similar fashion? > > % Produce the code for coloring one grob in

Re: unpacking a list

2015-11-30 Thread David Kastrup
Urs Liska writes: > now finally to this one ... > > Am 28.11.2015 um 10:52 schrieb David Kastrup: >> Urs Liska writes: >> >>> If someone might want to have a second look at the actual code it's >>> (currently) in >>>

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Mathieu Demange
Hi Richard, The ideal approach would have been to have a timing information directly inserted in the svg output by LilyPond itself but I tried everything I could to obtain such a result with no luck. I posted here about that topic but I didn't get any clue. So I figured out I'd do it myself. I was

Re: Gounod - Le Rendez Vous

2015-11-30 Thread tisimst
Alberto, On Mon, Nov 30, 2015 at 4:25 AM, Alberto Simões-2 [via Lilypond] < ml-node+s1069038n184280...@n5.nabble.com> wrote: > > > > > in a nutshell: > > s2\> s4\! > > instead of > > s2.\> s\! > > > > And I have yet another suggestion: It works as is, but LilyPond would > > have more freedom to

Re: unpacking a list

2015-11-30 Thread Urs Liska
Am 30.11.2015 um 10:03 schrieb David Kastrup: > Urs Liska writes: > >> Am 30.11.2015 um 09:27 schrieb Urs Liska: >> >> Maybe, not for having someone else do the work for me but as an >> incentive to learn: >> >> I assume I could also rewrite the following code in a similar

Re: unpacking a list

2015-11-30 Thread Urs Liska
Am 30.11.2015 um 09:53 schrieb David Kastrup: >> Concretely: Can you tell me what the "#@" in front of (color-music >> > does? > It's like the difference between , (unquote) and ,@ (unquote-splicing). > The first is for putting a single Scheme expression somewhere, the > second takes a list as

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Richard Shann
On Sun, 2015-11-29 at 19:08 +0100, Mathieu Demange wrote: > Hello all, > > I've been developing a tool which is at a very early stage now, but I > humbly guess you should like the idea. Check this very simple page and > click the "play" button (or you can click any note or rest). I wonder

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Kastrup
Mathieu Demange writes: > Hi Richard, > > The ideal approach would have been to have a timing information > directly inserted in the svg output by LilyPond itself but I tried > everything I could to obtain such a result with no luck. I posted here > about that topic

Re: Gounod - Le Rendez Vous

2015-11-30 Thread Alberto Simões
On 30/11/15 14:08, tisimst wrote: Now, that looks very nice. Great job! It will be a great addition to IMSLP. Thank you for your help. I will also contact Chris Sawyer, in case he wants to add these two musics to Mutopia. Best, Alberto ___

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Urs Liska
Am 30.11.2015 um 15:19 schrieb David Kastrup: > Mathieu Demange writes: > >> Hi Richard, >> >> The ideal approach would have been to have a timing information >> directly inserted in the svg output by LilyPond itself but I tried >> everything I could to obtain such a

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Kastrup
Urs Liska writes: > Am 30.11.2015 um 15:19 schrieb David Kastrup: >> Mathieu Demange writes: >> >>> Hi Richard, >>> >>> The ideal approach would have been to have a timing information >>> directly inserted in the svg output by LilyPond itself but

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Nalesnik
On Mon, Nov 30, 2015 at 8:43 AM, Urs Liska wrote: > > > Am 30.11.2015 um 15:19 schrieb David Kastrup: > > Mathieu Demange writes: > > > >> Hi Richard, > >> > >> The ideal approach would have been to have a timing information > >> directly