Re:

2012-06-14 Thread jakob lund
You could try to install QJackctl, which is designed to control the jack audio server, but also lets you control alsa midi connections. Then start rumor, and on the qjackctl interface, click "Connect" and select the "alsa" tab. You should then see some midi ports (ideally, an output from your keybo

Re: Need some guidance from a Lilypond Scheme expert

2012-06-14 Thread jakob lund
2012/6/11 Matthew Probst : > I understand the Scheme language at intermediate level, but am not adept at > processing Lilypond data structures. > > I'm looking into Snippet 465: > > http://lsr.dsi.unimi.it/LSR/Item?id=465 > > I have the following in my Lilypond code, for typesetting a common guitar

tie-accent collision

2012-06-09 Thread jakob lund
Good evening In the example below, the tie collides with the accent. It looks a little messy, is it intentional? \version "2.15.40" \new Staff { f''8.->~f''16-> } Jakob. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mai

Re: Automatic setting custom bar lines

2012-02-13 Thread jakob lund
13. feb. 2012 01.54 skrev Thomas Morley : > Hi again, > > perhaps you may want to use: > > \version "2.14.2" > %\version "2.15.29" > > CustomDefaultBarLineEngraver = > #(lambda (context) >  (let ((glyph "|")) >    `((acknowledgers >      (bar-line-interface . >        ,(lambda (engraver grob source

Re: override TupletNumber . Custom text

2012-02-10 Thread jakob lund
Sigh.. This is a bit confusing.. 9. feb. 2012 23.45 skrev Pavel Roskin : > On Thu, 9 Feb 2012 22:53:09 +0100 > jakob lund wrote: > >> 9. feb. 2012 22.12 skrev Pavel Roskin : > >> > It's weird indeed.  If "Default_bar_line_engraver" is placed above &g

Re: override TupletNumber . Custom text

2012-02-09 Thread jakob lund
9. feb. 2012 21.13 skrev Nils : > On Thu, 9 Feb 2012 19:50:24 +0100 > jakob lund wrote: > >> 9. feb. 2012 19.25 skrev Pavel Roskin : >> > On Thu, 9 Feb 2012 17:15:50 +0100 >> > Nils wrote: >> > >> >> Hello, >> >> >> >>

Re: override TupletNumber . Custom text

2012-02-09 Thread jakob lund
9. feb. 2012 19.25 skrev Pavel Roskin : > On Thu, 9 Feb 2012 17:15:50 +0100 > Nils wrote: > >> Hello, >> >> I like to work with full tuplet numbers because it makes it clear >> which version of quintuplet is meant (2:5 or 4:5). >> >> Since I don't like errors, however 'traditional' they may have >

Re: the word "LilyPond"

2012-02-09 Thread jakob lund
9. feb. 2012 17.21 skrev Helge Kruse : > Am 09.02.2012 12:45, schrieb Francisco Vila: >> >> >> Files attached. > > > I dislike the binocles at the right hand side. I like those ;-) > > Helge > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org

Re: duration and pitch in a function

2011-12-10 Thread jakob lund
2011/12/9 Matthew Collett : > > On 9/12/2011, at 2:27 pm, David Kastrup wrote: > >>> On 8/12/2011, at 10:48 pm, David Kastrup wrote: >>> Please, *never*, *never*, *never* send a "courtesy copy" of a public answer as a private mail when answering on a mailing list unless you have been

Re: Wiring up a complex song

2011-12-07 Thread jakob lund
this \voiceOne << \global \Sa \Sb >> means that those three parts overlap, as you say... I'm guessing what you want is \new Staff = women << \new Voice \global \new Voice = "S" {\Sa \Sb } } >> \context Lyrics \lyricsto "S" { \womena \womenc } \context Lyrics \lyricsto

Re: How to shift music up/down a semi tone without changing key signature

2011-11-27 Thread jakob lund
You could use \relative for the first entry step... like this Music = \relative c' { a b c d | a b c d | } \score { \key d \major \Music \transpose d des \Music } -- Jakob 2011/11/27 James : > Ole, > > On 27 November 2011 01:05, ole wrote: >> >> a b c d | /transpose c b, { a b c d }

Is this a bug or am I doing it wrong?

2011-11-05 Thread jakob lund
Hello list I am setting up a lead sheat with chord names. At one point there is a descending bassline over a minor chord, and I'd like to display something like: Gm/f#/f/e i.e. don't repeat the "Gm" with each new bass note. To do this, I have #(define (empty-namer pitch lower?) (mak

Re: Help with Section Sequence

2011-04-24 Thread jakob lund
olmes >>>>> >>>>> >>>>> >>>>Hi Phil >>>> >>>>I may be wrong, but: >>>>I don't think the MIDI output includes the repetitions, so the MIDI >>>>will just play s

Re: Help with Section Sequence

2011-04-17 Thread jakob lund
Hola 2011/4/16 Javier Ruiz-Alma : - Original Message - From: Javier Ruiz-Alma To: LilyPond User Group Sent: Friday, April 15, 2011 9:50 AM Subject: Help with Section Sequence Hi All, Please check the attached sample PDF and reply if I need to change

Re: Help with Section Sequence

2011-04-16 Thread jakob lund
Hi Phil I may be wrong, but: I don't think the MIDI output includes the repetitions, so the MIDI will just play sec A, sec B, sec C of this example As far as I know, you have to use \repeat unfold to get repetitions in the MIDI. Regards Jakob. 2011/4/15 Phil Holmes : > That's how I would perf

Re: How to do jazz-style bar repeats

2011-03-04 Thread jakob lund
Hola > Now, I am not sure how to actually use this in a file.  I tried just using > \include in my file and putting the \inlineMMRN R2.*4 where I want it to > appear.  I ended up with 3/4 time, five empty bars with rehearsal marks at > the top of the score, followed by a repeat and six bars wit

Re: error in predefined chord diagram?

2011-02-08 Thread jakob lund
2011/2/6 Carl Sorensen : > I've put together a proposed set of dim and dim7 fretboards. > > You can download it at > > ttredirects=0&d=1> There's an error in there, the G dim doesn't have a G in it (it should be the sam

Re: expressive marks inside slurs

2011-01-26 Thread jakob lund
2011/1/26 Paul Scott : > On 01/25/2011 01:48 PM, James Lowe wrote: >> >> Paul >> >> -Original Message- >> From: Paul Scott >> Date: Tue, 25 Jan 2011 11:36:23 -0700 >> To: "lilypond-user@gnu.org" >> Subject: expressive marks inside slurs >> >> >>> >>> 2.13.46: >>> >>> I've been searching the

Re: Extender style

2011-01-25 Thread jakob lund
Hi customizing these extenders seems like a reasonable feature... Should a bug- or feature request entry be created ? Jakob. 2011/1/24 Marc Hohl : > Am 24.01.2011 21:24, schrieb Marc Hohl: >> >> [...] >> With text spanners, customized dashed lines are easily created. > > Oops, you needed dotted

Re: Using lyrics in a markup

2011-01-24 Thread jakob lund
2011/1/24 jakob lund : > Hi > > 2011/1/24 Jan-Peter Voigt : >> Hi Jakob, hello list, >> >> I was about to answer with my 2.12-version ;-) >> It is essentially like your version (using let and assoc props ...) but >> yours is open for override extension ... &

Re: Using lyrics in a markup

2011-01-24 Thread jakob lund
lever thing and used chain-assoc-get instead of reinventing the wheel like I did... I oughtta have guessed there was already a function to do that :-) > another question: This snippet is mostly your work, but I posted it to LSR > with my name. Shall I add a text: > "created by Jakob Lu

Re: Using lyrics in a markup

2011-01-24 Thread jakob lund
Hi 2011/1/23 jakob lund : > 2011/1/23 Jan-Peter Voigt : >> Hello and thank you Jakob, hello list, >> >> this piece is a great work. It compiles well in 2.13(.47 lilybuntu) and adds >> a very useful function to lily! >> The .ly is attached again, because I t

Re: Using lyrics in a markup

2011-01-23 Thread jakob lund
ke '(this that the-other) is the same as (list 'this 'that 'the-other). The backtick ` is called "quasiquote" an the comma is "unquote". Btw in that last comment in the file, it should read "\verse #words" instead of "\verse \words" of cour

Re: Using lyrics in a markup

2011-01-23 Thread jakob lund
oops, forgot to reply to list (sorry about the extra spam Jan-Peter) 2011/1/23 jakob lund : > Hi again > > After fiddling some more with this, I came up with a simple solution. > Instead of a string, a LineBreakEvent is inserted into the lyric -- > neither \lyricmode or \addlyrics

Re: Using lyrics in a markup

2011-01-20 Thread jakob lund
2011/1/19 Jan-Peter Voigt : > Hello scheme-gurus, > nr. 744 is bookmarked ;-) > There's one more thing. I tried the verse-command and it works nicely, but > it will wrap lines: > say you have a stanza like this > --snip-- > strI = \lyricmode > { >   \set stanza = "1." >   Toch -- ter Zi -- on, freu

Re: Using lyrics in a markup

2011-01-19 Thread jakob lund
2011/1/18 Marc Hohl : > Am 18.01.2011 18:56, schrieb Graham Percival: >> >> On Tue, Jan 18, 2011 at 05:24:11PM +0100, Marc Hohl wrote: >>> >>> These functions should be bundled in a snippet, or perhaps included in >>> the >>> lilypond distribution? >> >> Start by adding it to LSR. > > Done. > > htt

Re: Using lyrics in a markup

2011-01-18 Thread jakob lund
(eat (markup #:concat ((markup wd) (markup (cadr wds (cddr wds))) ;; Not a hyphen, just use wd as the first word on the list, and then recurse. (else (cons wd (eat (car wds) (cdr wds))) #(define (lyrics->text lyrics

Re: Using lyrics in a markup

2011-01-18 Thread jakob lund
2011/1/18 Marc Hohl : > Am 15.01.2011 21:51, schrieb Neil Puttock: >> >> On 15 January 2011 19:01, Marc Hohl  wrote: >> >>> Now I wonder whether it is possible to create a kind of text book by >>> including the lyrics in a markup, perhaps with a scheme function which >>> replaces the " -- " by "".

Re: How to do simple arithmetic on bar numbers?

2011-01-16 Thread jakob lund
2011/1/16 James Lowe : > Hello, > > -Original Message- > From: Graham King > Date: Sun, 16 Jan 2011 21:11:25 + > To: "lilypond-user@gnu.org" > Subject: How to do simple arithmetic on bar numbers? > >>I'm preparing a modern-notation edition of a piece of choral renaissance >>polyphony,

Re: Spurious Repeat Symbol

2011-01-09 Thread jakob lund
Hi Ted You don't want the \repeat info inside the lyrics, just remove it: words = \lyricmode { do re mi fa do re me fa sol } Jakob. 2011/1/9 Ted Stanion : > How can I get rid of the extra repeat symbol in this example? I'm sure it is > caused by the rest at the beginning of the

quoteDuring at the beginning of voice doesn't work

2011-01-01 Thread jakob lund
In the example below, the quoted note doesn't get printed if the (otherwise useless) line marked %workaround% is removed. Is this a (known?) bug, or am I making a mistake Jakob - \version "2.13.44" altoPart = { c''4 } \addQuote alto \altoPart tenorPart

Re: Staff change in piano music - a general approach?

2010-12-31 Thread jakob lund
2010/12/31 Phil Holmes : > Strictly, the ignore-collision override doesn't just suppress warnings - it > stops LilyPond trying to avoid them.  Shane has given you one option for > avoiding the double flag in your final note.  An alternative would be to use > \once \override Stem #'length = #n to ad

Re: Can't use NoteNames twice in score block ??

2010-12-23 Thread jakob lund
e like \context NoteNames { \repeat unfold 40 c'4 } can provoke the same problem? > Do I need to add some other types to my filter or is this another problem > altogether? > Cheers, > Mike > > > On Thu, Dec 23, 2010 at 5:15 AM, jakob lund wrote: >> >> #(de

Re: Can't use NoteNames twice in score block ??

2010-12-23 Thread jakob lund
2010/12/23 Michael Ellis : > I'm clearly Scheme challenged. I've spent several hours trying different > variations of the following. > #(define (note? x) >      (eq? 'EventChord (ly:music-property x 'name))) > #(define notesOnly > ;; Remove anything that is not a note. >   (define-music-function (p

Re: how to write a scheme function to override glissando properties

2010-12-19 Thread jakob lund
I 2010/12/19 Marc Hohl : > Am 16.12.2010 17:04, schrieb Patrick Schmidt: >> >> [...] >> Hi Marc, >> >> thanks for your solution but I'm still trying to find out what's wrong >> with the scheme function I posted. I discussed the need for this function >> with Carl and he gave me some advice: >> htt

Re: nested variables in scheme

2010-12-16 Thread jakob lund
2010/12/16 Rob Canning : > David Kastrup said : >> r...@goto10.org writes: >> >> > beza #0.4 >> > >> > feeding into something like this: (which doesn't work) >> > >> > beza =  #(define-music-function (parser location thickness) (number?) >> >    #{ >> > \bezier #'( 0.1  1.0 0.15  1.0 $number ) >> >

Re: ChordName Font [was: lilypond cameo]

2010-12-14 Thread jakob lund
2010/12/14 Marc Hohl : > Am 14.12.2010 19:38, schrieb Graham Percival: > Jean-Pierre G writes that the font is free to use, but he doesn't leave a > contact > mail address on the page (or I have overlooked it - my french is very rusty) > so it is difficult to ask him... You did, in fact it is the

Re: Adding Staves

2010-12-06 Thread jakob lund
if you create more staves inside << >>, they run in parallel for the length of the piece, rather than starting after one another. Maybe you need something like this? (you still have to fix the alignment properly) \score { << \new Staff { \oneTwo \three \four } \addlyrics { \verseOne \ver

Re: How to print 2 rehearsal marks above and below same bar line

2010-11-29 Thread jakob lund
Hi I've been trying to do something like that my conclusion was that I couldn't because adding two marks to the same bar line would just cause one of them to be deleted. there is an example here that circumvents this by adding an invisible bar line: http://www.kainhofer.com/~lilypond/Documentati

Re: Lyric tie

2010-11-23 Thread jakob lund
Hi you can change the font for a single character in \markup: \addlyrics { Buon gior -- \markup\concat{no \override #'(font-name . "DejaVu Sans Bold"){‿} al} mon -- do. } (I tested with "DejaVu Sans Bold" because I'm not sure if the other one exists on my computer) Jakob. 2010/11/23

Re: how to get half-bar used in Bach Music?

2010-11-22 Thread jakob lund
Ok here's another ugly hack: #(define __x 1) { \override Staff . BarLine #'bar-size = #(lambda (G) (set! __x (1+ __x)) (+ 2 (* 2 (modulo __x 2 \relative c'' { c1 c c c c } } It's ugly because it uses a `global' variable __x to count the bars and set the bar size to 2 only after an odd n

Re: Howto have the number of volte printed out above an end-repeat bar?

2010-11-18 Thread Jakob Lund
I've been messing with the same idea, and after reading this thread I came up with something similar but a little different. I posted it on my blog here http://krimskrams.dk/node/3 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists

Re: Inserting comments into the log file

2010-11-17 Thread jakob lund
Hi Paul Not sure about the log file, but you can print to the standard output like this: #(display "...some text...") (space after "display" is mandatory) Jakob. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listin

Re: transposition question

2010-11-17 Thread jakob lund
why not just "\transpose es des" instead of "es cis"? (say if you're transposing from e-flat?) Jakob. 2010/11/17 Christopher Meredith : > On Wed, Nov 17, 2010 at 1:21 PM, Alex Jones wrote: >> >> I am using lilypond for a transposition solution.  Unfortunately, when >> doing the transposition,

music function

2010-11-17 Thread jakob lund
urrent time signature' (so I can get rid of the hard-coded 4/4 at the end) and (b) the argument to `\repeat volta' (so I won't have to supply the argument #4, which is redundant 'cause I already put `volta 4') ? Regards Jakob Lund.