Re: Conditionally including lyrics

2011-12-02 Thread Marc Hohl
Am 02.12.2011 12:33, schrieb Jan-Peter Voigt: Hello Marc, for me this problem leads to the question how to name variables and how store music. I am using my own functions to store music and typeset it into a template. IIRC, you posted these functions some days ago – this looks very

Re: Conditionally including lyrics

2011-12-02 Thread Marc Hohl
Am 02.12.2011 17:44, schrieb David Kastrup: Marc Hohlm...@hohlart.de writes: Am 02.12.2011 12:02, schrieb David Kastrup: Marc Hohlm...@hohlart.de writes: Hello list, I have a lot of small music pieces with several stanzas which I store like this textA = \lyricmode { \set stanza =

Re: Conditionally including lyrics

2011-12-06 Thread Marc Hohl
Am 03.12.2011 20:25, schrieb Jay Anderson: On Fri, Dec 2, 2011 at 3:26 AM, Marc Hohlm...@hohlart.de wrote: Now the data files contain different numbers of stanzas, and ideally, the generator file should be intelligent enough to include all stanzas which are present. Has someone an idea how to

Re: Would you donate for structured Lilypond variables?

2011-12-06 Thread Marc Hohl
Am 06.12.2011 12:33, schrieb David Kastrup: Marc Hohlm...@hohlart.de writes: Am 02.12.2011 17:44, schrieb David Kastrup: Marc Hohlm...@hohlart.de writes: Am 02.12.2011 12:02, schrieb David Kastrup: Marc Hohlm...@hohlart.dewrites: Hello list, I have a lot of small music pieces

Re: bar lines at the beginning of staves

2011-12-18 Thread Marc Hohl
Am 18.12.2011 15:01, schrieb luis jure: on 2011-12-18 at 14:38 Thomas Morley wrote: try: \version 2.14.2 \new Staff { c'1 d' } \new Staff { c'1 d' } \new Staff { c'1 d' } \new Staff { c'1 d' } % or \new StaffGroup \with { \override SystemStartBracket #'transparent = ##t } \new Staff { c'1

problems with user-defined command line options

2011-12-23 Thread Marc Hohl
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 == \version 2.15.23 #(ly:add-option 'no-slurs #f Whether to print a slur or not.) slurSwitch = #(define-music-function

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

Re: problems with user-defined command line options

2011-12-25 Thread Marc Hohl
Hello Nicolas, Am 24.12.2011 11:13, schrieb 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

Re: problems with user-defined command line options

2011-12-25 Thread Marc Hohl
Nicolas, Eluze, thanks for your answers and clarifications! I can ignore the warning, and lilypond does now what I want ;-) Best wishes Marc Am 25.12.2011 16:41, schrieb -Eluze: Nicolas Sceaux wrote: $ lilypond -dwithout-slur toto.ly GNU LilyPond 2.15.20 Avertissement : option interne

transposing music via command line argument

2011-12-27 Thread Marc Hohl
Hello list, in another thread, my problems with command line arguments were solved (or workarounds provided), but now I am stuck with another but similar problem: I want to transpose some music and tell lilypond the 'to' pitch in the command line: lilypond -dpitch=e' myfile.ly where myfile.ly

Re: How to change the name of the MIDI file ?

2011-12-27 Thread Marc Hohl
Am 27.12.2011 20:10, schrieb Louis Bettens: Hello everybody, Tiny example : try.ly : \version 2.12.3 \book { \score { %first arpeggio \relative c' { c e g c } \midi { } } \score { %second arpeggio \relative c' { d fis a d } \midi { } } } The midi

Re: transposing music via command line argument

2011-12-29 Thread Marc Hohl
Am 27.12.2011 14:45, schrieb Marc Hohl: Hello list, in another thread, my problems with command line arguments were solved (or workarounds provided), but now I am stuck with another but similar problem: I want to transpose some music and tell lilypond the 'to' pitch in the command line

Re: Minuet and Trio

2011-12-30 Thread Marc Hohl
Am 30.12.2011 13:06, schrieb Peter Gentry: Seasonal greetings. [...] However when it comes to the classical Minuet and Trio form I am stumped. Is it possible to produce all the various repeats in a Midi file with the final minuet played without repeats to “fine”. So far I am stumped – my

Re: bar length

2012-01-14 Thread Marc Hohl
Am 14.01.2012 19:16, schrieb David Kastrup: Angles D\'Auriacdaur...@grenoble.cnrs.fr writes: David Kastrupdakat gnu.org writes: Angles D'Auriacdauriacat grenoble.cnrs.fr writes: Hello ! I am a total beginner and I wonder if it is possible to have all measure of exactly the same length

Re: Lyircs melsima line ending in interpunctation

2012-01-23 Thread Marc Hohl
Am 23.01.2012 20:36, schrieb Nils: [...] Any known solutions? And if not: I find it strange to make it like this. Do you know reasons that speaks against __ _ _! which I can tell my publisher? Well, at least in Behind bars from Elaine Gould it is explained that the punctuations come *before*

Re: Bounties

2012-01-25 Thread Marc Hohl
Am 25.01.2012 02:06, schrieb Tim McNamara: As a user, I would tend to prefer to just kick money into a general fund and let someone figure out how it gets utilized for exactly the reason that was mentioned: I might want feature X, but groundwork U V and W- about which I know nothing- would

Re: Bounties

2012-01-25 Thread Marc Hohl
Am 25.01.2012 11:01, schrieb David Kastrup: Marc Hohlm...@hohlart.de writes: [...] I don't know about legal and organizational issues, but what about a optional lilypond usage fee? fee has a bad ring to it. Ok, this was not the appropriate word - replace it with whatever you think is

Re: MIDI Dynamics

2012-01-28 Thread Marc Hohl
Am 28.01.2012 13:45, schrieb Helge Kruse: Hello, I want to generate a MIDI file with the correct dynamics. Although it is possible to have different dynamics in left and tight hand I want to have the upper staff the same volume as the lower staff. Therefore I want only to write the dynamics

Re: Using other NoteHeads with \harmonicByFret?

2012-01-30 Thread Marc Hohl
Am 29.01.2012 15:54, schrieb Peter Crighton: Hello y'all, Is there an easy way to use other NoteHeads (I need harmonic-mixed) with \harmonicByFret, other than overriding the NoteHead right after every use of \harmonicByFret? I guess I could write my own \harmonicByFret function, but I can't

Re: OSX 10.7, fonts and fondu?

2012-02-01 Thread Marc Hohl
Am 31.01.2012 21:55, schrieb padovani: hello, I'm having troubles with 2.15.27 and OSX 10.7.2. In a simple piece of code using fonts like Texier's Controla (http://christian.texier.pagespro-orange.fr/mididesi/free/index.htm), the compilation process ends with the following error: Drawing

Re: Experimental Web-based Lilypond Editor

2012-02-01 Thread Marc Hohl
Am 01.02.2012 11:18, schrieb trevordixon: Yes, I will upgrade it. 2.12 is what's in Ubuntu's repository, but I think an upgrade to 2.14 will be trivial. I'll do that soon. Will it almost always be desirable to use the latest LilyPond release, or would it benefit a lot of people to be able to

Re: OSX 10.7, fonts and fondu?

2012-02-01 Thread Marc Hohl
Am 01.02.2012 11:06, schrieb padovani: Em 2/1/12 6:34 AM, Marc Hohl escreveu: Am 31.01.2012 21:55, schrieb padovani: hello, I'm having troubles with 2.15.27 and OSX 10.7.2. In a simple piece of code using fonts like Texier's Controla (http://christian.texier.pagespro-orange.fr/mididesi/free

Re: Text on slurs (faking bends etc)

2012-02-02 Thread Marc Hohl
Hello Pete, Am 01.02.2012 09:48, schrieb Pete Farmer: Hi Mark Hohl, Just wanted to let you know that I'm using your bend.ly file too, and to thank you for your generous contribution to the cause. Thanks! I'm glad to hear that this file is still of some use. I'm using LilyPond v2.14.2-1 on

Re: Using other NoteHeads with \harmonicByFret?

2012-02-03 Thread Marc Hohl
Am 03.02.2012 10:13, schrieb Thomas Morley: Hi Peter, 2012/2/3 Peter Crightonpetecrigh...@googlemail.com: Thanks, that fixed the issue with the accidentals, but it's now harmonic again and not harmonic-mixed… the \override NoteHead line seems to just be ignored. (I also don't see how

Re: Slashes in leadsheets

2012-02-10 Thread Marc Hohl
Am 10.02.2012 09:52, schrieb Francisco Vila: Hello, Does anyone know a way of printing slashes instead of chord names when a chord is repeated? It would serve as well to be able to print an arbitrary markup in a chordnames context, instead of letting lilypond to detect repeated chords

Re: Total number of pages Logo

2012-02-10 Thread Marc Hohl
Am 10.02.2012 11:56, schrieb Frederik Van der Veken: Hi everybody, First I want to say thanks to the makers of Lilypond, it really is a superb program! Fantastic layout and easy to use, it is my main music layout program now (coming from Sibelius, which I also like, but which is getting

Re: Total number of pages Logo

2012-02-10 Thread Marc Hohl
Am 10.02.2012 21:59, schrieb Marc Hohl: [...] A quick search in the user archives showed at least http://lists.gnu.org/archive/html/lilypond-user/2010-08/msg00403.html which could be adapted to your needs. Forgot to mention: http://lists.gnu.org/archive/html/lilypond-user/ and http

Re: Using other NoteHeads with \harmonicByFret?

2012-02-14 Thread Marc Hohl
Am 04.02.2012 02:03, schrieb Thomas Morley: Hi Marc, 2012/2/3 Marc Hohlm...@hohlart.de: [...] BTW, should harmonic-mixed be the default for guitar notation? What do you think? Regards, Marc IMHO harmonic-mixed and \set harmonicDots = ##t should be the default! Hi Harm, Do you want to

Re: Using other NoteHeads with \harmonicByFret?

2012-02-17 Thread Marc Hohl
and \harmonicByRatio. Patch is attached, but I have no push privileges. Thanks for your work! Regards, Marc From b56abfe0b25fdab0cf47388bbc7abbf9b6b31cc4 Mon Sep 17 00:00:00 2001 From: Marc Hohl m...@hohlart.de Date: Fri, 17 Feb 2012 09:59:58 +0100 Subject: [PATCH] Improving \harmonicBy

Re: Drum patterns and MIDI

2012-02-20 Thread Marc Hohl
Am 20.02.2012 15:20, schrieb Torquil Macdonald Sørensen: Hi! [...] I have structured my file differently than the drum examples I have found online, because defining the patterns like I have done is much more convenient than to make separate definitions of upper and lower voices that are to

Re: Inverted-Stem Notes

2012-02-24 Thread Marc Hohl
Am 24.02.2012 05:29, schrieb J Ruiz: Pls help typesetting command for these 19th cent notation: quarter-notes with reversed half-note heads. How about \override NoteHead #'stem-attachment = #'(-0.8 . -.2) \repeat tremolo 4 { c''16 e'' } You'll have to fiddle around with the numbers, but it

Re: Additional notes or ossia

2010-01-03 Thread Marc Hohl
James Bailey schrieb: On 02.01.2010, at 17:16, Helge Kruse wrote: Am 29.12.2009 20:04, schrieb James Bailey: I thought I could help, but apparently my scheme-fu isn't good enough for this. I first thought I could beat \Balloon_engraver into doing what you need, but there's scant

Re: Temporary polyphonic passages in TabStaff

2010-01-26 Thread Marc Hohl
Oscar van Eijk schrieb: Hi All, I'm currently engraving a piece for several instruments, one of them an acoustic guitar. I'ld like to be able to print both the full score, and the instruments separately, in which case I wanna print guitar tabs as well. At some locations I add a second

Re: \hideNotes in TabStaff (was: Re: Temporary polyphonic passages inTabStaff)

2010-01-28 Thread Marc Hohl
Trevor Daniels schrieb: Oscar van Eijk wrote Wednesday, January 27, 2010 1:39 PM Another one though; also in the original sample you might have seen I use \hideNotes. Thet doesn't seem to have any affect in the TabStaff. As a workaround I made set the transparent property of TabNoteHead to

Re: \hideNotes in TabStaff

2010-01-28 Thread Marc Hohl
Federico Bruni schrieb: Il giorno Wed, 27 Jan 2010 14:39:40 +0100 Oscar van Eijk oscar.van.e...@oveas.com ha scritto: Another one though; also in the original sample you might have seen I use \hideNotes. Thet doesn't seem to have any affect in the TabStaff. As a workaround I made set the

Re: fretted string chord notation

2010-02-10 Thread Marc Hohl
Gerry Prosser schrieb: How can I enter text such as 'Capo 1' to the beginning of a line of chord names , please ? I often misuse the header for this purpose: \header { piece = Capo I } HTH, Marc Gerry Prosser ___ lilypond-user mailing

Re: fretted string chord notation

2010-02-10 Thread Marc Hohl
really should be with the chords. Yes, you're right - but I don't know any *proper* solution, sorry. Marc On 10 February 2010 08:42, Marc Hohl m...@hohlart.de mailto:m...@hohlart.de wrote: Gerry Prosser schrieb: How can I enter text such as 'Capo 1' to the beginning of a line

Re: Glissando tweaking - help !!

2010-02-22 Thread Marc Hohl
Hello David, David Stocker schrieb: [...] To the list, is LilyPond's not respecting dots and accidentals in the \glissando command a bug? Yes, it is already in the tracker (#40) - I was working on it for some time, but a proper solution requires more C++ knowledge than I have today. Marc

measurePosition within a music function?

2010-03-05 Thread Marc Hohl
Hello, I have a music function which simply outputs the durations of every note: \version 2.13.13 #(define (test-apply m) (if (eq? 'NoteEvent (ly:music-property Voice 'name)) (let ((dur (ly:music-property m 'duration))) (display \nduration: )(display dur)(display

Re: measurePosition within a music function?

2010-03-07 Thread Marc Hohl
Carl Sorensen schrieb: On 3/5/10 5:05 AM, Marc Hohl m...@hohlart.de wrote: This works fine, but I wanted to evaluate the position of the current note within the current bar. I found the measurePosition property, but to use ly:context-property context 'measurePosition in my function, I

Re: Tuplets with different note lenghts in bagpipe music

2010-03-12 Thread Marc Hohl
Erden Oguz schrieb: Hello, due to the real rhythmic expression of tuplets as played in Strathspeys in bagpipe music, I am trying to write down tuplets with different note lengths: \times 2/3 { f16 [e16 c4] } Maybe I misunderstand this, but a crotchet has no flag, therefore there is no

Re: Tuplets with different note lenghts in bagpipe music

2010-03-13 Thread Marc Hohl
Erden Oguz schrieb: Am 12.03.2010 um 20:36 schrieb Marc Hohl: Erden Oguz schrieb: Hello, due to the real rhythmic expression of tuplets as played in Strathspeys in bagpipe music, I am trying to write down tuplets with different note lengths: \times 2/3 { f16 [e16 c4

Re: REHEARSAL MARK BUG?

2010-03-15 Thread Marc Hohl
Seng Hin Yew schrieb: Dear All, If insist to use the boxed alphabet with the I included, possible? The \set Score.markFormatter = #format-mark-alphabet shows only plain alphabet which not a very satisfied look. Try \set Score.markFormatter = #format-mark-box-alphabet this should do the

Re: REHEARSAL MARK BUG?

2010-03-15 Thread Marc Hohl
Seng Hin Yew schrieb: Hi Mark, I knew this command. But it won't show the alphabet I (i) It does; I think you confused format-mark-box-letters with -alphabet - the latter shows the I. Marc On Tue, Mar 16, 2010 at 2:39 AM, Marc Hohl m...@hohlart.de mailto:m...@hohlart.de wrote: Seng

key change between repetition bars?

2010-04-14 Thread Marc Hohl
I don't know whether this is kind of standard notation practice, but I have to sty as close as possible to the original score, so I want to achieve something similar to the attached picture. I tried to work with \version 2.13.13 mel = \relative c { \time 3/4 \repeat volta 2 { c4 c c | c2

Re: key change between repetition bars?

2010-04-14 Thread Marc Hohl
watch out that you include a similar grace note in all staves if your score has several staves. Thank you for the tip, it does the trick. There is a small space between key signature and the following repeat bar, but I think I can live with that. Marc /Mats Marc Hohl wrote: I don't know

Re: key change between repetition bars?

2010-04-14 Thread Marc Hohl
Kieren MacMillan schrieb: Hi Marc, Thank you for the tip, it does the trick. There is a small space between key signature and the following repeat bar, but I think I can live with that. You can also fix it... ;) Yes, that's the better option ;-) Here's one possibility:

Re: Problems with chord glissandos with articulations and tablature

2010-04-23 Thread Marc Hohl
Carl Sorensen schrieb: On 4/16/10 8:30 AM, Bernardo Barros bernardobarr...@gmail.com wrote: [...] Check out the attached files for one possibility. Note that I've moved the chordGlissando function to its own .ly file so it can be included in any .ly file you desire to write,

Re: [tablatures] Re: Problems with chord glissandos with articulations and tablature

2010-04-24 Thread Marc Hohl
Carl Sorensen schrieb: On 4/23/10 1:48 AM, Marc Hohl m...@hohlart.de wrote: Carl Sorensen schrieb: On 4/16/10 8:30 AM, Bernardo Barros bernardobarr...@gmail.com wrote: [...] Check out the attached files for one possibility. Note that I've moved

Re: [tablatures] Re: Problems with chord glissandos with articulations and tablature

2010-04-25 Thread Marc Hohl
Carl Sorensen schrieb: [...] Looks great. I think both of these overrides are redundant, since they're already part of `add-glissando-line': \once \override Glissando #'thickness = #2 \override NoteColumn #'ignore-collision = ##t I think you're right. Originally,

Re: [tablatures] Re: Problems with chord glissandos with articulations and tablature

2010-04-28 Thread Marc Hohl
Bernardo Barros schrieb: Hi Carl, marc and others, Did you manage to use \chordGlissando with dynamics? I didn't use dynamics yet. It creates a lot of dynamics, and if I try to create a hiden voice the score becomes a mess. I'm not putting dynamics in those chords until I know what to do.

Re: Music function that attaches text to a music argument

2010-05-04 Thread Marc Hohl
Nathan Reed schrieb: Hello all, I would like to write a music function that takes a single-note music expression and attaches some markup text to it. I tried to write: \version 2.12.3 myfunc = #(define-music-function (parser location mymusic) (ly:music?) #{ $mymusic ^Hello, world! #}

Re: repeat bar at the beginning of a piece

2010-05-10 Thread Marc Hohl
Steve Tarr schrieb: I'm working with 2.13.20, trying to reproduce a piece of shape-note music that has a 4-dot (with no line) repeat bar at the beginning of the piece. The snippet titled Printing a repeat sign at the beginning of a piece works as described if I use the |: bar, but doesn't

Re: OMET: Online Music Editing Tools feedback?

2010-05-10 Thread Marc Hohl
Mike Blackstock schrieb: If somebody could have a quick look at http://www.vex.net/~mikeb/omet and tell me what they think I'd appreciate it. Keys and stuff are missing but all that code is ready to upload, as is code for producing midi 'on-the-fly' and generating lllypond source. Also I can

Re: tied harmonic and parentheses in TabStaff

2010-05-30 Thread Marc Hohl
Federico Bruni schrieb: Hi all, I've realized that a tied harmonic note in TabStaff keeps the angle brackets while the number is correctly removed. (see attached file) I suppose this is not intended and in my opinion brackets should be removed. Hi Federico, you are right, the brackets have

Re: \repeat volta not worked in midi output.

2010-05-30 Thread Marc Hohl
Oleksandr Gavenko schrieb: On 2010-05-30 21:43, Xavier Scheuer wrote: 2010/5/30 Oleksandr Gavenkogaven...@gmail.com: This example: \score { \drums { \repeat volta 2 { bd sn bd sn } } \layout { } \midi { } } in Cygwin Lilypond \version 2.12.4 produce correct .pdf but midi file

Re: bounties

2010-06-17 Thread Marc Hohl
Jonathan Wilkes schrieb: Writing reports on deliverables isn't overhead, it's documentation of new features (which would have to be done anyway). Though presentations would certainly be overhead, as well as filling out forms, forms, forms... [...] On Tue, Jun 15, 2010 at 08:25:27PM

Re: Creating a ://: repeat mark?

2010-07-02 Thread Marc Hohl
Matthew Vernon schrieb: M Watts writes: On 07/02/2010 09:58 AM, M Watts wrote: So it's probaly best done as a markup. \markup { { \italic : } \hspace #-1.25 ? \hspace #-1.25 { \italic : }} I found if you use the // on the keyboard, they're too far apart: the double

Re: Creating a ://: repeat mark?

2010-07-02 Thread Marc Hohl
Matthew Vernon schrieb: Marc Hohl writes: Matthew Vernon schrieb: M Watts writes: On 07/02/2010 09:58 AM, M Watts wrote: \markup { { \italic: } \hspace #-1.25 / \hspace #-1.25 / \hspace #-1.25 { \italic : }} That's pretty good, although the :'s could ideally be vertically

Re: Creating a ://: repeat mark?

2010-07-04 Thread Marc Hohl
M Watts schrieb: On 07/02/2010 06:20 PM, Marc Hohl wrote: Why don't you just combine the double slash? Um, mental block; or just blockhead :) you can use \raise: \markup { \raise #0.25 { \italic : } \hspace #-1.25 / \hspace #-1.25 / \hspace #-1.25 \raise #0.25 { \italic : }} Instead

adding 'HarmonicEvent?

2010-09-20 Thread Marc Hohl
Hello all, I try to write a function that changes its argument to harmonics, so \makeHarmonic c4 should have the same effect as c\harmonic4 I read Notation Reference 6.3.4, but the 'HarmonicEvent is deep inside the 'elements list, so I think the only way to get this done is to read the full

Re: adding 'HarmonicEvent?

2010-09-21 Thread Marc Hohl
David Kastrup schrieb: Marc Hohl m...@hohlart.de writes: Hello all, I try to write a function that changes its argument to harmonics, so \makeHarmonic c4 should have the same effect as c\harmonic4 I read Notation Reference 6.3.4, but the 'HarmonicEvent is deep inside the 'elements list

Re: adding 'HarmonicEvent?

2010-09-21 Thread Marc Hohl
Éditions IN NOMINE schrieb: Naerly the same, that works perfectly (welle I'm quite enthousiastic beacause it's my first scheme function !) : makeHarmonic = #(define-music-function (parser location note)(ly:music?) force noteHead to harmonic (let ((result-note (ly:music-deep-copy note)))

Re: adding 'HarmonicEvent?

2010-09-21 Thread Marc Hohl
Éditions IN NOMINE schrieb: Hi. I think I see what you want to achieve : you want to write in Scheme the function \harmonicsOn \harmonicsOff shown here http://lilypond.org/doc/v2.13/Documentation/notation/common-notation-for-unfretted-strings#harmonics ? Hello, no, I need a real harmonic,

Re: Suppressing chords in MIDI output

2010-09-22 Thread Marc Hohl
Peter Chubb schrieb: Christopher == Christopher Meredith chmered...@gmail.com writes: Christopher I use chordmode to print the chords above the piano Christopher music, but when rendering the MIDI file, I would prefer Christopher the chords to not be played. Is there a way to

Re: adding 'HarmonicEvent?

2010-09-24 Thread Marc Hohl
Marc Hohl schrieb: [...] Meanwhile, it tried to expand your function by adapting some lsr snippets, http://lsr.dsi.unimi.it/LSR/Item?id=82 http://lsr.dsi.unimi.it/LSR/Item?id=696 Playing (or struggling?) with the latter, I came up with the following: ---8--- \version 2.13.32 #(define (make

Re: adding 'HarmonicEvent?

2010-09-26 Thread Marc Hohl
Neil Puttock schrieb: On 24 September 2010 08:16, Marc Hohl m...@hohlart.de wrote: How can I place the 'articulations entry in the appropriate hierarchy level? Look for a NoteEvent instead of an EventChord, then you can be sure you're adding the HarmonicEvent to 'articulations

Creating a callback with an additional argument?

2010-09-26 Thread Marc Hohl
Hello list, is it possible to create a callback with an additional argument? I tried #(define-public (my-callback string grob) ... .. ) and wanted to call it by \override Notehead #'stencil = #my-callback #'foo' but lilypond complains. Is this possible at all or do I have to use another

Re: Creating a callback with an additional argument?

2010-09-26 Thread Marc Hohl
Wilbert Berendsen schrieb: Op zondag 26 september 2010 schreef Marc: is it possible to create a callback with an additional argument? I tried #(define-public (my-callback string grob) ... .. ) and wanted to call it by \override Notehead #'stencil = #my-callback #'foo' but lilypond

Re: Creating a callback with an additional argument?

2010-09-26 Thread Marc Hohl
Reinhold Kainhofer schrieb: Am Sonntag, 26. September 2010, um 20:19:28 schrieb Marc Hohl: is it possible to create a callback with an additional argument? Yes, that's possible. I'm using it for example for the glyph-flag flag style. I tried #(define-public (my-callback string

Scoping problem in define-music-function

2010-09-27 Thread Marc Hohl
Hello list, thanks to Reinhold Kainhofer and Wilbert Berendsen I managed to get a callback with an additional argument. Now I want to write a music function like this: myFunction = #(define-music-function parser location fret music) (string? ly:music?) (let (( ... some expressions ... ))

Re: Scoping problem in define-music-function

2010-09-27 Thread Marc Hohl
Marc Hohl schrieb: Hello list, thanks to Reinhold Kainhofer and Wilbert Berendsen I managed to get a callback with an additional argument. Now I want to write a music function like this: myFunction = #(define-music-function parser location fret music) (string? ly:music?) (let (( ... some

How to create a music function properly?

2010-09-27 Thread Marc Hohl
Hello list, after having written mails way too early to this list recently while overlooking the obvious, I think I stumbled upon a *real* problem now :-/ Please have a look at the attached file. This is not the real world problem, but I boiled it down to a nearly minimal example. Only version

Re: How to create a music function properly?

2010-09-27 Thread Marc Hohl
Neil Puttock schrieb: On 27 September 2010 20:02, Marc Hohl m...@hohlart.de wrote: harmonicTestOne = #(define-music-function (parser location music) (ly:music?) (let* ((test 2) (result (/ test 2))) #{ \override TabNoteHead #'transparent = ##t #} (make-harmonic music

Re: How to create a music function properly?

2010-09-27 Thread Marc Hohl
David Kastrup schrieb: Marc Hohl m...@hohlart.de writes: Hello list, after having written mails way too early to this list recently while overlooking the obvious, I think I stumbled upon a *real* problem now :-/ Please have a look at the attached file. This is not the real world problem

Re: Resizing accidental in a chord

2010-11-03 Thread Marc Hohl
Am 03.11.2010 15:39, schrieb Rodolfo Zitellini: Dear All, The house style of my publisher wants suggested accidentals to be displayed usign a smaller font than normal ones. This is done easily overriding the font size for every accidental. BUT how do I do this is a chord? Let's suppose I have a

Re: Resizing accidental in a chord

2010-11-04 Thread Marc Hohl
Am 03.11.2010 17:25, schrieb Toine Schreurs: I looked into the internals and tried \key b \major \override Voice.AccidentalSuggestion #'font-size = #-5 fis ais cis!4 but this didn't work as expected and I don't know why. What about making cautinary accidentalsfis ais cis? and: \override

Re: Resizing accidental in a chord

2010-11-04 Thread Marc Hohl
Am 04.11.2010 11:29, schrieb Phil Holmes: - Original Message - From: Marc Hohl m...@hohlart.de To: a.m.m.schre...@uu.nl Cc: lilypond-user@gnu.org Sent: Thursday, November 04, 2010 8:54 AM Subject: Re: Resizing accidental in a chord Am 03.11.2010 17:25, schrieb Toine Schreurs: I

Re: Treating a tie as a slur

2010-11-11 Thread Marc Hohl
Am 11.11.2010 17:20, schrieb Johan Vromans: Valentin Villenavevalen...@villenave.net writes: Are you referring to something like http://code.google.com/p/lilypond/issues/detail?id=461 ? Not quite. I was referring to two really different notes (e.g. a and b). These should not be

Re: General newbie questions

2010-11-15 Thread Marc Hohl
Am 15.11.2010 09:49, schrieb Xavier Scheuer: [...] OK, let's try to answer in order. [...] Xavier, I am impressed by the amount of time you invest in giving such detailed answers on the list, not only to this specific mail, but in general. You do a great job, kudos! Marc Cheers, Xavier

Re: TabStaff feature requests

2010-11-23 Thread Marc Hohl
Am 23.11.2010 08:37, schrieb Steve Yegge: Hi all, Hi Steve, The TabStaff is amazingly cool. I'm not a big tab user myself, but for people who want tabs, LilyPond makes it easy to add them. I've been busily adding tabs for a few months and have some feature requests to put into the queue if

Re: TabStaff feature requests

2010-11-23 Thread Marc Hohl
Am 24.11.2010 06:25, schrieb Steve Yegge: [...] \include english.ly http://english.ly music = \relative c { a' e' a cs a'1 } \score { \new Staff { \music } \new TabStaff { \transpose c c, { \music } } } Just for clarification: as the guitar is notated one octave

Re: formatting only one syllabe in a word - please help

2010-11-24 Thread Marc Hohl
Am 24.11.2010 09:27, schrieb Janek Warchoł: Hi, probably this is quite basic, but i'm in a hurry and can't find it in manuals... I want only one syllabe in a word be formatted, for example i'd like to have syllabe ma in word malicious bold and underlined. Unfortunately the code \markup { {\bold

Re: TabStaff feature requests

2010-11-24 Thread Marc Hohl
Am 24.11.2010 17:16, schrieb Steve Yegge: Sigh... please disregard this. It works fine. I just had the wrong expectations. I assumed incorrectly that for purposes of relative pitch calculation, the harmonics would be ignored, allowing you to focus on the base string pitches. It has to be

Re: TabStaff feature requests

2010-11-24 Thread Marc Hohl
Am 24.11.2010 15:59, schrieb Steve Yegge: Hi Marc, On Tue, Nov 23, 2010 at 11:28 PM, Marc Hohl m...@hohlart.de mailto:m...@hohlart.de wrote: Just for clarification: as the guitar is notated one octave above its sounding pitch, I use the following template: \score

Re: ChordName Font [was: lilypond cameo]

2010-12-14 Thread Marc Hohl
Am 14.12.2010 14:23, schrieb Marc Mouries: wow the font is really nice for song books. I also discovered the Gonville fonts and it would be great if those fonts be included into lilypond out of the box and the selection of font made simpler. +1 Marc

Re: ChordName Font [was: lilypond cameo]

2010-12-14 Thread Marc Hohl
Am 14.12.2010 19:38, schrieb Graham Percival: On Tue, Dec 14, 2010 at 07:32:09PM +0100, Marc Hohl wrote: Am 14.12.2010 14:23, schrieb Marc Mouries: wow the font is really nice for song books. I also discovered the Gonville fonts and it would be great if those fonts be included into lilypond

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

2010-12-14 Thread Marc Hohl
Am 14.12.2010 14:25, schrieb Patrick Schmidt: Hi all, Hi Patrick, I noticed that glissandi are quite often hardly visible in a Staff-context. There is also a huge difference in the look of glissandi in Staff- and TabStaff-contexts. I'd like to write a function to adjust these differences

Re: ChordName Font [was: lilypond cameo]

2010-12-14 Thread Marc Hohl
Am 14.12.2010 20:09, schrieb Graham Percival: On Tue, Dec 14, 2010 at 08:02:11PM +0100, Marc Hohl wrote: Ok, you're right - but IMHO 1204 is about documenting the new font features, whereas Marc Mouries proposed to include the Jazz font and Gonville into the standard lilypond distribution

Re: ChordName Font [was: lilypond cameo]

2010-12-14 Thread Marc Hohl
Am 14.12.2010 20:34, schrieb jakob lund: 2010/12/14 Marc Hohlm...@hohlart.de: 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

Re: ChordName Font [was: lilypond cameo]

2010-12-15 Thread Marc Hohl
Am 15.12.2010 00:36, schrieb Valentin Villenave: On Tue, Dec 14, 2010 at 8:39 PM, Marc Hohlm...@hohlart.de wrote: Oh - thanks for the hint! I'll contact him... I'm available to do the go-between if needed. Thanks for your offer! I have no response until now, but when problems occur, I'll

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

2010-12-19 Thread 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:

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

2010-12-20 Thread Marc Hohl
Am 19.12.2010 21:26, schrieb jakob lund: [...] I think what happens is that the start note, passed to your function, is already wrapped up in an object. \glissando is meant for use with a single note, rather than with a music object. Sounds reasonable. You can use scheme to add the `start

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

2010-12-20 Thread Marc Hohl
Am 19.12.2010 21:22, schrieb Patrick Schmidt: [...] The values for minimum-length in different contexts influence each other. The highest value wins. This is reasonable but unfortunately the glissandi staves and tab staves don't have the same length in print even when they were given the

Re: pb with 2.13 with doc example fret diagram

2010-12-21 Thread Marc Hohl
Am 22.12.2010 03:43, schrieb Carl Sorensen: On 12/21/10 7:26 PM, Marc Mouries m...@mouries.net wrote: On Dec 21, 2010, at 1:28 PM, Carl Sorensen wrote: Well, it's supposed to be the number of semitones above middle C for each open string, starting with the highest string. Wow, that's

Using lyrics in a markup

2011-01-15 Thread Marc Hohl
Hello list, is there a possibility to re-use lyrics in a markup? I am working on a musical for children and I get the sheets for several instruments, choir, partition etc. by a simple shell script which calls sed and lilypond. Now I wonder whether it is possible to create a kind of text book

Re: Using lyrics in a markup

2011-01-16 Thread Marc Hohl
Am 15.01.2011 21:51, schrieb Neil Puttock: On 15 January 2011 19:01, Marc Hohlm...@hohlart.de 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 . Is it possible to store the

Re: Using lyrics in a markup

2011-01-18 Thread Marc Hohl
Am 15.01.2011 21:51, schrieb Neil Puttock: On 15 January 2011 19:01, Marc Hohlm...@hohlart.de 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 . Is it possible to store the

Re: how to add punctuation mark (or other things) at the end of lyric extender?

2011-01-18 Thread Marc Hohl
Am 18.01.2011 13:48, schrieb Janek Warchoł: Hi all, i have a melisma at the end of a sentence, like here: \version 2.13.45 { \new Voice { c'8 d'4 e'8( c' f'4. g2 c'8 )} \addlyrics { ex -- ten -- der. __ } } i'd like the dot to appear after the extender (like in the bottom of the

Re: Using lyrics in a markup

2011-01-18 Thread Marc Hohl
Am 18.01.2011 16:10, schrieb jakob lund: [...] Sure... You have to play the game, right? [...] snip Jakob Wow, I am very impressed! The named let construct is absolutely new to me, but allows for very elegant code. These functions should be bundled in a snippet, or perhaps included in the

<    1   2   3   4   5   6   7   8   9   >