Re: Slashed beam

2011-12-24 Thread David Kastrup
Thomas Morley writes: > this should compile (tested with "2.15.20"): > > \version "2.15.20" > > \layout { >ragged-right = ##f >point-and-click = ##f > } > > %% Arguments to Makeslash (all numbers are in staff units): > %% > %% #1: angle > %% #2: length of the left half of the slash > %%

Re: Slashed beam

2011-12-24 Thread Thomas Morley
Hi Paolo, 2011/12/25 Paolo Prete : > Unfortunately the snippet doesn't work (--> wrong slash position) if I > \override Stem #'direction = #down > > In addition, the example I linked gives me more control of the slash (offset, > length etc.) > > --- Dom 25/12/11, James ha scritto: > >> Da: Jame

Re: Slashed beam

2011-12-24 Thread Paolo Prete
Unfortunately the snippet doesn't work (--> wrong slash position) if I \override Stem #'direction = #down In addition, the example I linked gives me more control of the slash (offset, length etc.) --- Dom 25/12/11, James ha scritto: > Da: James > Oggetto: Re: Slashed beam > A: "Paolo

Re: Slashed beam

2011-12-24 Thread James
Hello, On 24 December 2011 23:46, Paolo Prete wrote: > Hi, > > is there a way to have a slash on the beam of a _sequence_ of notes? > > Something like a slash for an acciaccatura with multiple notes, but intended > for normal (not acciaccatura) notes. > > This piece of code wuold be very useful,

Slashed beam

2011-12-24 Thread Paolo Prete
Hi, is there a way to have a slash on the beam of a _sequence_ of notes? Something like a slash for an acciaccatura with multiple notes, but intended for normal (not acciaccatura) notes. This piece of code wuold be very useful, but it doesn't compile on 2.15.21 http://lists.gnu.org/archive/ht

Re: Horizontally Scrolling Score Aligned to Audio

2011-12-24 Thread luis jure
on 2011-12-23 at 16:07 Jay Anderson wrote: >- Mark each beat in the audio (list of millisecond offsets from the >beginning of the audio). > * My method of doing this was pretty crude: listen to the file and >record the times when I hit the spacebar. sonic visualiser has very handy tools for mar

Re: problems with user-defined command line options

2011-12-24 Thread Johan Vromans
Marc Hohl writes: > optional-slurs.ly > == > > \version "2.15.23" > > #(ly:add-option 'no-slurs #f > "Whether to print a slur or not.") > > slurSwitch = #(define-music-function (parser location) () >(if (eq? #t (ly:get-option 'no-slurs)) >#{ \override Slur #'tran

Re: instrument name or \markup question

2011-12-24 Thread -Eluze
lily-user wrote: > > Thanks a lot. However, this produces the attached image. Apologize if I > was not clear, I would like to right align the "1 2" (i.e., closer to the > brace, as in the original). Also, where can I learn about the various ways > of markup? > Also, what does \null and the \ov

Re: problems with user-defined command line options

2011-12-24 Thread Eluze
hi Marc i think *no* has a special meaning here: it puts the default value to the opposite! in your case you define a variable *slur* with #f - and there is no variable *no-slur*. so probably using another name for your variable will get the correct result. hth Eluze Am 24.12.2011 09:13,

Re: problems with user-defined command line options

2011-12-24 Thread Nicolas Sceaux
Le 23 déc. 2011 à 09:39, Marc Hohl a écrit : > #(ly:add-option 'no-slurs #f > "Whether to print a slur or not.") The "no-" prefix is dealt with specially for options. For instance, considering an option named `foo', if you use the command line switch: lilypond -dno-foo ... then (ly:get-o

Re: Skip a chord in a lead sheet

2011-12-24 Thread -Eluze
gajatko wrote: > > > Hello, > > I would like to skip a given duration in a list of chords. For example, I > have notes: > c''2 bes'2 c''1 e''2 d''2 e''1 > and want to have chords displayed for these notes: > C (skip a chord for bes) Em C D C > My application, which uses LilyPond for d

Re: instrument name or \markup question

2011-12-24 Thread -Eluze
lily-user wrote: > > Newbie question, > How do I make the "Flute" instrument name appear like the one in the image > i.e., along with the 1 2 player information, with the correct alignment. > Thanks. > > http://old.nabble.com/file/p33030134/markup.jpg > \new Staff \with { instrumen

Re: problems with user-defined command line options

2011-12-24 Thread Marc Hohl
> cc'ing to -devel, perhaps it is a bug? Am 24.12.2011 00:41, schrieb -Eluze: hi Marc Hohl wrote: Hello list, I have some files with songs where I want to switch the slurs on and off. After searching the docs, I came up with this: optional-slurs.ly ==