Re: Animated SVG Percussion Music

2011-09-30 Thread Tim Sawyer
On 30/09/11 07:12, Jay Anderson wrote: On Fri, Aug 19, 2011 at 5:30 AM, Tim Sawyer wrote: http://percussion360.com/ This works by taking SVG generated from lilypond, munging it a bit (including matching it up with the .ly source), then playing it back using javascript and html5 audio

Re: Lilypond's SVG output

2011-08-25 Thread Tim Sawyer
Hi, I'm using lilypond's SVG output to produce playable notation using JavaScript and HTML5 audio: http://percussion360.com/ Tim. On 24/08/11 08:46, Marek Klein wrote: Hello, 2011/8/18 Sandor Spruit mailto:a.g.l.spr...@uu.nl>> Hello, I recently had an informal discussion with so

Animated SVG Percussion Music

2011-08-19 Thread Tim Sawyer
Hi Folks, Over the years I've written four drum/percussion tutor books using lilypond-book. I've just put these up on the web, with the added feature that you can play back the small exercises that make up the majority of the books with noteheads highlighted and sound. Volume 1 is free, the

Re: 4 bar repeat

2008-12-13 Thread Tim Sawyer
>So two sets of double percent repeats? Not quite...that would be "repeat the last two bars twice", not "repeat the last four bars" ;-) Never mind...it's not something that comes up very often anyway, I was just trying to be complete in explaining what it was in my drum tutor book. It should

Re: 4 bar repeat

2008-12-13 Thread Tim Sawyer
On Saturday 13 December 2008 17:41:23 Neil Puttock wrote: > Hi Tim, > > 2008/12/13 Tim Sawyer : > > I'd like to produce a four bar percent repeat, is this possible in 2.10? > > I'm not sure whether this is what you're after (and I haven't tested > it

4 bar repeat

2008-12-13 Thread Tim Sawyer
Hi, I'd like to produce a four bar percent repeat, is this possible in 2.10? I've tried this but it doesn't work, but instead gives me four blank bars. There are four bars of 4/4 notes between the inner curly braces. up = \drummode { \repeat "percent" 2 {sn4 sn4 sn4 sn4 sn8 sn8 sn8 sn8 sn4 sn4

Re: Removing bar numbers with lilypond-book

2007-08-13 Thread Tim Sawyer
ill will allocate space for the > bar number, even though it's not printed, so the spacing between the score > lines may get unnecessarily wide (though the inter-score line spacing > isn't handled > the same way when you use lilypond-book as when you use pure lilypond). &g

Re: Removing bar numbers with lilypond-book

2007-08-12 Thread Tim Sawyer
Thanks folks. I tried it with a Capital S first - that's when the error message is from, hence that has \Score in, must have copied a later trial in the source, sorry! volume1.lytex:2158:2: error: syntax error, unexpected STRING, expecting '='        \context { volume1.lytex:2159:2: error: s

Re: Removing bar numbers with lilypond-book

2007-08-12 Thread Tim Sawyer
bass << { \stemUp e4 e4 e4 e4 e8 e8 e8 e8 e8 e8 e8 e8 e16 e e e e16 e e e e16 e e e e16 e e e e1 \bar "|." } \addlyrics { blah } >> } \layout {        \context {          \score          \remove "Bar_number_engraver"        }      } } \end{lilypo

Removing bar numbers with lilypond-book

2007-08-12 Thread Tim Sawyer
I have a section of a tex file, used with lilypond book, that looks something like this: \begin[staffsize=20]{lilypond} \score { \version "2.10.0" { \time 4/4 \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 7) \override Staff.TimeSignature #'style = #'() \clef b

Another upgrade/beaming question

2007-08-02 Thread Tim Sawyer
Folks, In4/4 time, \times 4/6 { sn16 sn sn sn sn sn } creates a six, with six notes, semiquaver lines joining them together. Perfect. However, \times 4/6 { sn8 sn16 sn sn sn } in lilypond 2.6, produced a quaver joined to a group of four semiquavers, whilst in 2.10 I get a quaver, a semiquave

Re: Four Single Semiquavers In A Row

2007-08-02 Thread Tim Sawyer
Works a treat, thank you very much. Tim. On Thursday 02 Aug 2007, Dominic Neumann wrote: > Hi Tim, > > try the switch \autoBeamOff: > > \autoBeamOff > e16 e e e > > > Dominic > > 2007/8/2, Tim Sawyer <[EMAIL PROTECTED]>: > > Hi, > > > >

Four Single Semiquavers In A Row

2007-08-02 Thread Tim Sawyer
Hi, I've just migrated to 2.10 under Ubuntu. With 2.6, this used to produce a line of four single quavers, with tails - not joined together. e16[] e[] e[] e[] How do I achieve the same effect in 2.10? Thanks, Tim. ___ lilypond-user mailing list l

Re: Drum Kit Writing

2006-04-18 Thread Tim Sawyer
Hi Naomi, Here's what I do. (If anyone has any better ideas, please shout!) Bear in mind I'm using lilypond-book to produce multiple small snippets of music for a tutor book. \begin[staffsize=20]{lilypond} \version "2.6.0" #(define mydrums '((bassdrum default #f -3)(sidestick xcircle #f 1)(sn

Re: Defining Drumsets

2006-03-18 Thread Tim Sawyer
Here's what I do: \begin[staffsize=20]{lilypond} \version "2.6.0" #(define mydrums '((bassdrum default #f -3)(sidestick xcircle #f 1)(snare default #f 1)(closedhihat cross "stopped" 3)(hihat cross #f 3)(openhihat cross "open" 3)(pedalhihat cross #f -5)(ridecymbal cross #f 5) (crashcymbal x

Grace Note Size

2006-01-24 Thread Tim Sawyer
I'm doing this to get percussion "drag" notation in lilypond 2.6: \appoggiatura { e16[ e16 ] } \stemUp e4 The grace notes stems are as long as the main note - it would be better if they were smaller. Is there a property I can tweak to do this? I've looked, but couldn't find anything relevant

Rest Placement

2006-01-07 Thread Tim Sawyer
I'm doing this in lilypond-book, version 2.6.4. The top line rests (the "up" ones) appear in ledger lines above the stage. How do I stop it moving them so far up? ta, Tim. \begin[staffsize=20]{lilypond} \version "2.6.0" up = \drummode { sn4 sn4 r2 sn4 sn4 r2 sn4 sn4 r2 sn4 r4 r2 \bar "|."} d

Multiple Staves on a Page in lilypond-book

2005-11-21 Thread Tim Sawyer
I'm trying to write a set of exercises on a page for a tutor book. There are nine staves to a page, with a number at the start of the line (1 to 9) and a stave to the right of the number, containing four bars. An example can be found at http://www.progressivepercussion.co.uk/Volume1/sample1.pd

Re: lilypond-book twice

2005-11-17 Thread Tim Sawyer
Thanks, that fixed it. Tim. On Tuesday 15 Nov 2005 23:39, Graham Percival wrote: > On 15-Nov-05, at 12:58 PM, Tim Sawyer wrote: > > My lilypond-book command line is: > > > > lilypond-book -V --psfonts -o output volume2.tex > > Try renaming volume2.tex to volume2.

lilypond-book twice

2005-11-15 Thread Tim Sawyer
I've just upgraded from 2.0 to 2.6. I used to be able to run lilypond-book multiple times on the same source, and it would only generate the music that had changed. Now if I try it I get: lilypond-book (GNU LilyPond) 2.6.4 lilypond-book: error: Output would overwrite input file; use --output.

Re: Upgrading to 2.6 Help

2005-11-14 Thread Tim Sawyer
Excellent, thanks that works! Tim. On Monday 14 Nov 2005 01:04, Graham Percival wrote: > On 13-Nov-05, at 2:16 PM, Tim Sawyer wrote: > > Thanks! That now gets me a dvi I can preview. Unfortunately, it has > > font > > trouble - I appear to be missing note heads and the t

Re: Upgrading to 2.6 Help

2005-11-13 Thread Tim Sawyer
i volume2 cp volume2.pdf ../.. The fonts are available in /usr/local/share/lilypond/2.6.4/fonts/type1 etc. Any ideas what I've missed? Thanks, Tim. On Sunday 13 Nov 2005 21:12, Graham Percival wrote: > On 13-Nov-05, at 12:12 PM, Tim Sawyer wrote: > > ! Undefined control sequence. > &g

Re: Upgrading to 2.6 Help

2005-11-13 Thread Tim Sawyer
ng (%d)...') % i Exiting (2)... Can someone point me in the right direction? I ideally want PDF output but always went through dvi with version 2.0. ta, Tim. On Sunday 13 Nov 2005 18:21, Han-Wen Nienhuys wrote: > Tim Sawyer wrote: > > I'm trying to upgrade from 2.0 to 2.6, and

Upgrading to 2.6 Help

2005-11-13 Thread Tim Sawyer
I'm trying to upgrade from 2.0 to 2.6, and I'm having trouble. This fragment, passed to lilypond-book: \begin[staffsize=20]{lilypond} \version "2.6.0" up = { \repeat "percent" 3 { hh8 hh8 << hh8 sn8 >> hh8 hh8 hh8 << hh8 sn8 >> hh8 } hh8 hh8 << hh8 sn8 >> hh8 sn8 sn8 sn8 sn8 \bar "|." } down =

\markup question

2005-09-04 Thread Tim Sawyer
Hi, I'm using \markup{ \small { \note #3 #0 #1 \note #3 #0 #1 = \note #3 #0 #1 \note #4 #0 #1 }} to produce a swing notation header in my music. I'd like to add a dot after the first note on the right hand side, making the note lengths add up properly. (Two quavers = dotted quaver, semiquave

Swing markings

2005-07-03 Thread Tim Sawyer
I'd like to add the annotation two quavers = dotted quaver semiquaver to the top of my music, kind of like a metronome marking but without the speed. Is this possible? I'm using lilypond 2.0.3 which I appreciate is a little old! thanks, Tim. ___ l

Re: Ties to nothing

2005-01-16 Thread Tim Sawyer
stemUp b1:32~b4^"L.V." r4 r2 b1:32~b4~ \hideNotes b4 \unHideNotes r4 r2 \bar "|." } } \end{lilypond} Thanks all, Tim. On Monday 15 Nov 2004 15:30, Erik Sandberg wrote: > On Friday 12 November 2004 22.33, Tim Sawyer wrote: > > Thanks all, b

Re: Ties to nothing

2004-11-12 Thread Tim Sawyer
Thanks all, but I can't get it to work. I'm doing \begin[20pt]{lilypond} \score { \notes { \time 4/4 \property Staff.TimeSignature \set #'style = #'() \clef bass \stemUp b1:32~b4^"L.V." r4 r2 b1:32~b4~<< \hideNotes b4 \unHideNotes r4 >> r2 \bar "|." }

Ties to nothing

2004-10-30 Thread Tim Sawyer
In percussion music, it is normal to have a tie to nothing after a cymbal note, to indicate that the cymbal should be left to ring. Can anyone help me achieve this effect in lilypond 2.0.3 (lilypond book if that makes any difference)? This is what I want to do but it doesn't print the final tie

Re: Coda Wheel and Sign not printing

2004-07-03 Thread Tim Sawyer
On Saturday 03 Jul 2004 03:45, Bruce wrote: > Looks like convert-ly is wrong. I don't use your version of lilypond > however see > http://lilypond.org/doc/v2.0/Documentation/user/out-www/lilypond/The-Feta >-f ont.html#The%20Feta%20font > > for the proper markup syntax and > > http://lilypo

Re: Coda Wheel and Sign not printing

2004-07-02 Thread Tim Sawyer
On Thursday 01 Jul 2004 10:24, Mats Bengtsson wrote: > You could try to run convert-ly on your LaTeX file with the included > lilypond code, but make sure to check afterwards that it didn't destroy > any of rest of the document. As an alternative, just copy the relevant > lines of LilyPond code int

Re: Coda Wheel and Sign not printing

2004-06-27 Thread Tim Sawyer
On Saturday 26 Jun 2004 18:05, Erik Sandberg wrote: > On Saturday 26 June 2004 14.30, Tim Sawyer wrote: > > e4. e8 e8 e8 e4 e8 e4 e8 e8 e8 e8 e8 e8 e8 e4. r4. \mark #'(music > > "scripts-segno") \bar "||" e8 e8 e8 e8 e8 e8 e4. e4. e8 e8 e8 e8 e8 e8 > &g

Coda Wheel and Sign not printing

2004-06-26 Thread Tim Sawyer
Hi, I'm using Lilypond 2.0.3 to write some drum music. I've just upgraded from 1.8.2 to 2.0.3, and my coda wheel and sign now both appear as a number 1. These worked under 1.8.2. Here's how I'm using the signs: e4. e8 e8 e8 e4 e8 e4 e8 e8 e8 e8 e8 e8 e8 e4. r4. \mark #'(music "scripts-segno