guitar tab feature requests

2009-03-13 Thread Marc Hohl
Hello, I have just read in the mailing archive about the plans (mainly encouraged by David Stocker) about expanding the features of lilypond concerning guitar tabs. I don't know how to code bendings and such in Scheme, but if someone is needed for testing, I will gladly join. I play and write

Re: guitar tab feature request

2009-03-21 Thread Marc Hohl
[Sorry, the attached eps was too big; I converted it to png] I have a wishlist of features for the tablature and guitar _notation_ feature request. I don't know how far the work on the features has gone, so I post to the list: (1) writing muted notes (i.e. dead notes) is already possible, but

Re: guitar tab feature request

2009-03-22 Thread Marc Hohl
Carl, thanks for your answer. Carl D. Sorensen schrieb: On 3/21/09 1:48 PM, Marc Hohl m...@hohlart.de wrote: [Sorry, the attached eps was too big; I converted it to png] I have a wishlist of features for the tablature and guitar _notation_ feature request. I don't know how far the work

Re: guitar tab feature request

2009-03-23 Thread Marc Hohl
A better definition of x would be x = #(define-music-function (parser location notes) (ly:music?) #{ \override NoteHead #'style = #'cross \set tablatureFormat = #x-tab-format $notes \unset tablatureFormat \revert NoteHead #'style #})

Re: guitar tab feature request

2009-03-23 Thread Marc Hohl
Carl D. Sorensen schrieb: On 3/23/09 5:02 AM, Marc Hohl m...@hohlart.de wrote: I assume that this will happen when tablature is updated. As far as I know, nobody is yet planning to do the work on tablature. They are only planning to put in the requests. I'd be happy to have

Re: invisible slurs in tablature

2009-04-01 Thread Marc Hohl
Carl D. Sorensen schrieb: If I understand correctly, you have a group of interested users who are working on defining how Tablature should behave. You also have a couple of tablature users who are interested in becoming Frogs and thus joining the development team (Marc is one of them, IIRC).

Re: invisible slurs in tablature

2009-04-01 Thread Marc Hohl
I think you should also add: \override TabVoice.Tie #'transparent = ##t Yes, of course. But then another problem occurs: if the tie isn't visible, it looks as if there are two distinct notes. Therefore, I think strongly about a scheme function (which at the end should be hidden in the

Re: invisible slurs in tablature

2009-04-02 Thread Marc Hohl
David Stocker schrieb: Marc Hohl wrote: I think you should also add: \override TabVoice.Tie #'transparent = ##t Yes, of course. But then another problem occurs: if the tie isn't visible, it looks as if there are two distinct notes. Therefore, I think strongly about a scheme function

Re: invisible slurs in tablature

2009-04-02 Thread Marc Hohl
Carl D. Sorensen schrieb: On 4/1/09 1:09 AM, Marc Hohl m...@hohlart.de wrote: Carl D. Sorensen schrieb: Would it be easier to define two separate staff commands? In my files, I define noten = \relative c { c d e f } and feed this into a Staff AND a TabStaff. So, why

Re: significance of whitespace [WAS: LilyPond, Finale and Sibelius]

2009-04-06 Thread Marc Hohl
Despite the fact that it would cause massive problems in parsing, a line like c4 4 4 4 is not quite readable for me. As lilypond is THE tool for typesetting beautiful scores, the source file should reflect the beauty. So I should be able to grasp the score at first sight, and in my opinion,

Re: significance of whitespace [WAS: LilyPond, Finale and Sibelius]

2009-04-06 Thread Marc Hohl
Anthony W. Youngman schrieb: In message 49da120a.7090...@hohlart.de, Marc Hohl m...@hohlart.de writes 1) personally, I would use the %, but this is the comment sign and can't be used. (perhaps this would be even possible, but ... NO!) Oh my gosh, please, NOOO As Han-Wen has said

Re: Slur / phrasingSlur half dashed, half solid

2009-04-14 Thread Marc Hohl
Kieren MacMillan schrieb: Hi all you Slur-happy people, 1. Kudos to Mark for his amazing and generous contributions! 2. Does it (now) bother anyone else that dashed slurs do not look like real slurs? I guess I always assumed — without visually confirming, obviously — that dashed slurs were

Re: Margins

2009-04-16 Thread Marc Hohl
Anthony W. Youngman schrieb: I don't know there is one. Why should there be? Just like a page has a top and bottom margin, and your usable area is usually what's left (but may lose some to a header and/or footer space), so from left to right you normally have left and right margin with

Re: Custom guitar chords

2009-04-16 Thread Marc Hohl
First, currently the output has Bm for my chord, but actually I would like to have it as 'Bm \super omit3/A'. (No, I don't really mind about the midi output. :) ) As a guitarist, I would call this chord B5/A, because it without the third, it isn't really a minor chord - but this

Re: invisible slurs in tablature

2009-04-18 Thread Marc Hohl
...@gmail.com wrote: Grammostola Rosea wrote: Marc Hohl wrote: Grammostola Rosea schrieb: Btw it's time to make tablature with invisible Ties, Slurs, Dots, Stems etc. default imo. I don't know whether this should be the default, but it should be archieved

Re: invisible slurs in tablature

2009-04-19 Thread Marc Hohl
Carl D. Sorensen schrieb: On 4/18/09 9:22 AM, Marc Hohl m...@hohlart.de wrote: Carl D. Sorensen schrieb: People who care strongly about tablature (of which I am *not* one) should be the people who make the decision about what the default should be. In fact, I don't think there's

conditionals in scheme?

2009-04-19 Thread Marc Hohl
I'm working on some extensions of the tablature facilities of lilypond. Now I have defined modern TAB clefs for 4, 5, 6 and 7 string instruments, for example tabClefIV = \markup { \raise #0.7 { \override #'(font-family . sans) \bold\fontsize #-1.0 \override #'(baseline-skip . 1.5 )

Re: conditionals in scheme?

2009-04-20 Thread Marc Hohl
Simon, thank you! The link looks interesting - good starting point! Marc Simon Bailey schrieb: marc, On 19 Apr 2009, at 21:46, Marc Hohl wrote: The other clefs simply use other values for raise, fontsize and baseline-skip, so my idea is to use conditionals to get these values on the right

tablature.ly

2009-04-25 Thread Marc Hohl
Hello tablature users*, after some days of struggling with lilypond's internals, I have created a file tablature.ly which supports: 1) two commands to switch between the display style: \tabNumbersOnly shows only the mubers, \tabFullNotation shows up everything (as it is the default in

Re: tablature.ly

2009-04-25 Thread Marc Hohl
Jonathan Kulp schrieb: Jonathan Kulp wrote: octave. I think there were only two examples in tablature.ly that didn't use the treble_8 clef for guitar. All the other clefs (including the bass_8 for bass guitar) were correct. Sorry I meant to say in tablature-test1.ly Jon Yes, you are right.

Re: tablature.ly

2009-04-27 Thread Marc Hohl
Neil Puttock schrieb: 2009/4/25 Marc Hohl m...@hohlart.de: Hello tablature users*, Like Carl, I'm not a tablature user, so I can only comment on matters of coding. Some suggestions and thoughts follow below: % some publications use the triangled note head % for palm mute, so

Re: tablature.ly

2009-04-27 Thread Marc Hohl
Carl D. Sorensen schrieb: On 4/27/09 3:38 AM, Marc Hohl m...@hohlart.de wrote: Neil Puttock schrieb: 2009/4/25 Marc Hohl m...@hohlart.de: (font-size (- (* num-strings 1.5) 7)) (base-skip (cond ((= 4 num-strings) 1.55

Re: New fonts for chords

2009-04-27 Thread Marc Hohl
Pekka Siponen schrieb: For chords I don't think there is a standard approach. Chords haven't been around long enough. I was hoping to collect opinions here. :) Maybe the best source would be in some typography book? I checked mine and couldn't find any specific mention about the position, only

Re: tablature.ly

2009-04-29 Thread Marc Hohl
Neil Puttock schrieb: 2009/4/27 Marc Hohl m...@hohlart.de: Thank you for your suggestions! As I am no expert in scheme, some things can surely be done more elegant. I corrected my file as you suggested above. Glad to help. :) You're doing fine with Scheme so far. Ok, #:column

Re: tablature.ly

2009-04-29 Thread Marc Hohl
Neil Puttock schrieb: 2009/4/27 Carl D. Sorensen c_soren...@byu.edu: Neil, Thanks for your input. I think it's all really good. On 4/26/09 1:49 PM, Neil Puttock n.putt...@gmail.com wrote: 2009/4/25 Marc Hohl m...@hohlart.de: Hello tablature users*, Like Carl, I'm

Re: tablature.ly

2009-04-29 Thread Marc Hohl
Marc Hohl schrieb: Neil Puttock schrieb: 2009/4/27 Carl D. Sorensen c_soren...@byu.edu: Neil, Thanks for your input. I think it's all really good. On 4/26/09 1:49 PM, Neil Puttock n.putt...@gmail.com wrote: 2009/4/25 Marc Hohl m...@hohlart.de: Hello tablature users

Re: tablature.ly

2009-04-29 Thread Marc Hohl
Marc Hohl schrieb: Marc Hohl schrieb: Neil Puttock schrieb: 2009/4/27 Carl D. Sorensen c_soren...@byu.edu: Neil, Thanks for your input. I think it's all really good. On 4/26/09 1:49 PM, Neil Puttock n.putt...@gmail.com wrote: 2009/4/25 Marc Hohl m...@hohlart.de: Hello

Re: tablature.ly

2009-04-30 Thread Marc Hohl
size which is obtained by appending _change to the glyph-name. You'd probably want to disable this feature by setting 'full-size-change = ##t. Regards, Neil Thanks for your help! Marc tablature.ly source file of the GNU LilyPond music typesetter (c) 2009 Marc Hohl

Re: tablature.ly

2009-05-02 Thread Marc Hohl
Thank you, Carl and Neil, for your answers. Neil Puttock schrieb: 2009/4/30 Carl D. Sorensen c_soren...@byu.edu: On 4/30/09 1:36 AM, Marc Hohl m...@hohlart.de wrote: I tried to cons these values, and I succeded (or at least it seemed to me) for the supported-clefs list

missing glissando features (bugs?)

2009-05-02 Thread Marc Hohl
I have made some observations concerning \glissando: 1) accidentals are not recognised properly; I know this is in the bug list and there are workarounds, see http://lists.gnu.org/archive/html/bug-lilypond/2005-08/msg00235.html 2) the glissando line between half steps should indicate the

Re: tablature.ly

2009-05-03 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/2 Marc Hohl m...@hohlart.de: Ok, so I inserted the following lines in my scm/parser-clef.scm: ;; a function to add new clefs at runtime (define-public (add-new-clef clef-name clef-glyph clef-position octaviation c0-position) Append the entries for a clef

tablature.ly, second attempt

2009-05-04 Thread Marc Hohl
tablature.ly source file of the GNU LilyPond music typesetter (c) 2009 Marc Hohl m...@hohlart.de % some publications use the triangled note head % for palm mute, so here we go: palmMuteOn = { \set shapeNoteStyles = #(make-vector 7 do) } palmMuteOff = { \unset

Re: missing glissando features (bugs?)

2009-05-05 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/2 Marc Hohl m...@hohlart.de: I have made some observations concerning \glissando: 1) accidentals are not recognised properly; I know this is in the bug list and there are workarounds, see http://lists.gnu.org/archive/html/bug-lilypond/2005-08/msg00235.html

Re: How to create shortcut to a command?

2009-05-06 Thread Marc Hohl
Marc Mouries schrieb: Thanks a lot guys this is helpful. I am trying to make the lily code easier to read. I also have many command to write the position like ^\markup { \small IV } and ^\markup { \small } and so on, would you know how to create a command that takes an argument? I

Re: missing glissando features (bugs?)

2009-05-09 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/2 Marc Hohl m...@hohlart.de: I have made some observations concerning \glissando: 1) accidentals are not recognised properly; I know this is in the bug list and there are workarounds, see http://lists.gnu.org/archive/html/bug-lilypond/2005-08/msg00235.html

Re: missing glissando features (bugs?)

2009-05-10 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/9 Marc Hohl m...@hohlart.de: I tried to receive the informations needed by overriding the Glissando #'stencil with a function which simply displays the values obtained by the ly:spanner-bound call before calling ly:line-spanner::print, but I get only #Grob

Re: missing glissando features (bugs?)

2009-05-10 Thread Marc Hohl
Werner LEMBERG schrieb: I came up with the following definition: [...] and it works! Mhmm, not perfect: There should be a dx correction to avoid an overlap between the glissando line and the accidental. Werner Yes, I know, but I concentrated on item (2); see the start of this

Re: missing glissando features (bugs?)

2009-05-10 Thread Marc Hohl
Marc Hohl schrieb: Neil Puttock schrieb: 2009/5/9 Marc Hohl m...@hohlart.de: I tried to receive the informations needed by overriding the Glissando #'stencil with a function which simply displays the values obtained by the ly:spanner-bound call before calling ly:line-spanner::print, but I

Re: missing glissando features (bugs?)

2009-05-11 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/10 Marc Hohl m...@hohlart.de: And here's my solution for tablature: #(define (glissando::calc-tab-extra-dy grob) (let* ((original (ly:grob-original grob)) (left-bound (ly:spanner-bound original LEFT)) (right-bound (ly:spanner-bound original

Re: rhythm dynamics

2009-05-11 Thread Marc Hohl
isaac schrieb: Hi, i'm isaac ive been recently composing my own music but i came to a problem. I cant find where the rhythm dynamics are in the online manual. im looking for the input names for ritenuto', 'a tempo' and the likes to put into my composition. Am i simply looking in the wrong

Re: Bass in Chord Name

2009-05-13 Thread Marc Hohl
Stjepan Brbot schrieb: Kieren MacMillan wrote: I do not use english.ly. I use template in OOoLilypond (lilypond macro for OpenOffice.org). However I still don't know how to achieve F# as bass in chord. If you include the (full, minimal) snippet that isn't working, we can try

Re: Bass in Chord Name

2009-05-13 Thread Marc Hohl
Stjepan Brbot schrieb: Marc Hohl wrote: Stjepan Brbot schrieb: Kieren MacMillan wrote: You have to remove the \germanChords command, then the bass is not shown as fis, but as F#, as you want. As Mats has written, insert \override Score.RehearsalMark #'break-align-symbols

changing grob properties?

2009-05-13 Thread Marc Hohl
I'm working on the tie problem in tablatures, that is, tied notes should become invisible, or (after a line break) parenthesized. I found http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Difficult-tweaks#Difficult-tweaks #(define (my-callback grob) (let* ( ; have we been

Re: changing grob properties?

2009-05-13 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/13 Marc Hohl m...@hohlart.de: How can I achieve this? Remember how you got the bounds of a glissando? In the case of the broken tie, the right bound will be the notehead you want to make transparent, so you can retrieve the TabNoteHead grob using

Re: printing rest in ChordNames context

2009-05-14 Thread Marc Hohl
Tim McNamara schrieb: [...] In jazz lead sheets, the usual method is to write N.C. above the staff (No Chord) which cues the chordal instruments and rhythm section to stop playing to allow the break. There's a workaround that Martial wrote to facilitate this, but it would be nice to have a

Re: How to achieve chord stop with ¬

2009-05-14 Thread Marc Hohl
Stjepan Brbot schrieb: In chords for chord stop usually the following sign is used: ¬ How to get this with lilypond? Have you an example of how this should look like? I haven't seen this mark ever before. Marc ___ lilypond-user mailing list

Re: missing glissando features (bugs?)

2009-05-14 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/11 Marc Hohl m...@hohlart.de: (if (and (= left-staff-position right-staff-position) ( (ly:pitch-semitones right-pitch) (ly:pitch-semitones left-pitch))) -1 1 ))) This will apply an extra-dy of 1 for glissandos

Re: printing rest in ChordNames context

2009-05-14 Thread Marc Hohl
Marc Hohl schrieb: Tim McNamara schrieb: [...] In jazz lead sheets, the usual method is to write N.C. above the staff (No Chord) which cues the chordal instruments and rhythm section to stop playing to allow the break. There's a workaround that Martial wrote to facilitate this, but it would

Re: Bass in Chord Name

2009-05-15 Thread Marc Hohl
Stjepan Brbot schrieb: Marc Hohl wrote: descried his analysis about chords representation Thanks Marc very very much. Actually your code does not work for me but you pointed me to right direction. I analyzed ly/property-init.ly and scm/chord-name.scm files and functions in them

Re: missing glissando features (bugs?)

2009-05-16 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/15 Marc Hohl m...@hohlart.de: I still don't get it - when I use extra-dy = 0, I get glissando lines parallel to the staff lines, so a value of zero can't be right. I have attached the pdf output, the upmost tab lie is the standard behaviour, the middle line

Re: changing grob properties?

2009-05-16 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/15 Marc Hohl m...@hohlart.de: Upto now, I have achieved to make tablature fret numbers invisible which are tied to another note. But I don't know how to add parentheses to the numbers that are tied but show up after a line break (for example the first note

Re: changing grob properties?

2009-05-16 Thread Marc Hohl
Marc Hohl schrieb: [...] Is the a possibility to handle these situations with a different approach? For the normal case (i.e. tied notes within the same staff line) everything works properly with tie::handle-tab-tie, so if there is a possibility to filter all notes that are tied _and_

Re: Creating harmonized lines

2009-05-17 Thread Marc Hohl
Tim McNamara schrieb: On May 16, 2009, at 2:36 AM, Tao Cumplido wrote: Take a look at this threads, there are several slightly different versions of modal and diatonic transpose functions. http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00805.html

Re: changing grob properties?

2009-05-19 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/16 Marc Hohl m...@hohlart.de: Neil Puttock schrieb: So can I use it as a callback for 'stencil? (see below) Not for the broken spanners, since they haven't been created when the stencil callback is evaluated. Hm, I didn't get any errors

Re: missing glissando features (bugs?)

2009-05-20 Thread Marc Hohl
Mats and Jon, thank yoou for your comments, I will \revert Second, glissandos between different strings is - if not impossible to play - very seldom to find, so to: glissandos between different strings are possible but there seems to be no common sense how to play :-) I've played several

tablature.ly - please test and comment

2009-05-22 Thread Marc Hohl
LilyPond music typesetter (c) 2009 Marc Hohl m...@hohlart.de % some publications use the triangled note head % for palm mute, so here we go: palmMuteOn = { \set shapeNoteStyles = #(make-vector 7 'do) } palmMuteOff = { \unset shapeNoteStyles } % for single notes (or groups of notes within

Re: single staff poliphony

2009-05-22 Thread Marc Hohl
Jonathan Kulp schrieb: Federico Bruni wrote: I'm trying to write a bar for fingerstyle guitar (I'm using the tablature.ly file, I'd be glad to test it...but I'm at the beginnings with lilypond, please help). Could you please tell me what's wrong here? melody = \relative c { \time 4/4

Re: single staff poliphony

2009-05-23 Thread Marc Hohl
Federico Bruni schrieb: Hi Marc, thank you so much, the code you've suggested works fine. Marc Hohl wrote: As I have written some guitar music in lilypond, I find it easier to do so with seperate voices for upper and lower notes. It's easier to read and to correct, and all

Re: tablature.ly - please test and comment

2009-05-23 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/22 Marc Hohl m...@hohlart.de: Please have a look at it and reply any corrections/improvements/changes /etc. before I will send patches to Carl. Well done Marc, this is very promising. Thank you! I still have a few reservations concerning some

Re: tablature.ly - please test and comment

2009-05-23 Thread Marc Hohl
Carl D. Sorensen schrieb: On 5/23/09 1:09 AM, Marc Hohl m...@hohlart.de wrote: Neil Puttock schrieb: 2009/5/22 Marc Hohl m...@hohlart.de: % for ties in tablature, fret numbers that are tied to should be invisible % or -after a line break - put in parentheses. Since

Re: Stroked quarter note

2009-05-23 Thread Marc Hohl
Alberto Simões schrieb: Hello I am transcribing a music that uses a lot of quarter notes that have their beam stroked. Acccordingly with my few music knowledge, this means that the note can be splited in two notes. Please have a look at

Re: tablature.ly - please test and comment

2009-05-27 Thread Marc Hohl
Julian schrieb: I think you can make this work with parallel music, instead of chords. c, \deadNotes{ c ] HTH, Carl I was looking about this. at first it seems to be a good solution but then i could see that it give some problems managing voices. it also displays some warning

Re: tablature.ly - please test and comment

2009-05-27 Thread Marc Hohl
Julian schrieb: Here, it would be possible to define versions for deadNotes and palmMute that works inside ... constructs, i.e. Yes they works fine, i think it is the best way to use now.. But still not within the tablature staff :-( At the moment, I don't know how to manage this.

Re: Info about TabStaff

2009-05-27 Thread Marc Hohl
Arthur Lenoir schrieb: Hi! I'm working since a few months on a program which converts MIDI files into LilyPond code. It already works fine (If you are intesresting, I can show you) but I came up against a little problem. I don't know if this problem is a bug or if I don't do the right thing.

Re: tablature.ly - please test and comment

2009-05-28 Thread Marc Hohl
Carl D. Sorensen schrieb: [...] I think it's better to have the duplication and the ability to switch between \tabNumbersOnly and \tabFullNotation, than to avoid the duplication, and have \tabFullNotation be a non-undoable setting. As you can see, \tabFullNotation works only locally when

Re: tablature.ly - please test and comment

2009-05-28 Thread Marc Hohl
Julian schrieb: But still not within the tablature staff At the moment, I don't know how to manage this. I found it, % Dead Note \tweak #'stencil #ly:note-head::print \tweak #'glyph-name #2cross \tweak #'style #'special f'\1 % End of Dead Note f\4 4

Re: tablature.ly - please test and comment

2009-05-29 Thread Marc Hohl
David Stocker schrieb: If I may chime in... This may just be a matter of editorial taste, but would it be possible to make it so the 'X' on in the Tab staff is not the musical glyph from Feta, but rather the character 'capital X' from the same font set being used for tab numbers? For

Re: tablature.ly - please test and comment

2009-05-29 Thread Marc Hohl
Carl D. Sorensen schrieb: [...] Here's one way to do it: deadNote = #(define-music-function (parser location note) (ly:music?) (set! (ly:music-property note 'tweaks) (acons 'stencil ly:note-head::print (acons 'glyph-name 2cross (acons 'style 'special

Re: tablature.ly - please test and comment

2009-05-29 Thread Marc Hohl
Carl D. Sorensen schrieb: On 5/29/09 1:56 AM, Marc Hohl m...@hohlart.de wrote: David Stocker schrieb: If I may chime in... This may just be a matter of editorial taste, but would it be possible to make it so the 'X' on in the Tab staff is not the musical glyph from Feta, but rather

Re: tablature.ly - please test and comment

2009-05-29 Thread Marc Hohl
Carl D. Sorensen schrieb: On 5/29/09 2:05 AM, Marc Hohl m...@hohlart.de wrote: Carl D. Sorensen schrieb: [...] Here's one way to do it: deadNote = #(define-music-function (parser location note) (ly:music?) (set! (ly:music-property note 'tweaks) (acons 'stencil ly:note

Re: scheme function for transposition

2009-06-01 Thread Marc Hohl
Josiah Boothby schrieb: I think you have to declare two variables: #(define-music-function (parser location trans notes) (ly:music? ly:music?) #{ \transpose c $trans { $notes } #}) Sorry, I forgot to answer to the list, but as my proposal doesn't work anyway, it doesn't matter. The

Re: Lilypond and Jazz chords

2009-06-01 Thread Marc Hohl
Thomas schrieb: I was just brainstorming, I don`t expect anybody to implement that :-) ... I just thought, if music (as long as it's not abstract) follows some basic principles, why this is not reflected in the chord naming sometimes. Slash Chords are a good example ... they are a good,

add-grace-properties in TabVoice context

2009-07-03 Thread Marc Hohl
Hello, I tried to make grace notes in tablature smaller and found the function add-grace-properties in the lsr. I tried the following: [snip] \version 2.13.1 example = \relative c { \grace e8 c4 d e f \appoggiatura e8 c4 d e f \acciaccatura e8 c4 d e f } \score { \new Staff {

Re: add-grace-properties in TabVoice context

2009-07-07 Thread Marc Hohl
Neil Puttock schrieb: 2009/7/3 Marc Hohl m...@hohlart.de: Programmierfehler: cannot find context: Fortsetzung, die Daumen drücken TabVoiceProgrammierfehler: cannot find context: Fortsetzung, die Daumen drücken TabVoiceVorverarbeitung der grafischen Elemente... Solving 1 page-breaking chunks

Re: add-grace-properties in TabVoice context

2009-07-09 Thread Marc Hohl
Neil Puttock schrieb: [...] I'd suggest making this part of the default grace settings by adding the override directly to graceSettings and make-voice-props-set. Hello Neil, I have changed your improved parentheses handler to get the font-size for the parentheses from the TabNoteHead, so

Re: Problem of chords with lilypond 2.10.33 under debian lenny

2009-07-09 Thread Marc Hohl
Le Piaf schrieb: Hello everybody ! I just discover lilypond and want to make, in one page, a list of some chords with their names above. In order to do so, I tried to use \chordnames. I got two problems : First, not all the alterations are visible before each chord, because lilypond

Re: add-grace-properties in TabVoice context

2009-07-10 Thread Marc Hohl
Neil Puttock schrieb: 2009/7/9 Marc Hohl m...@hohlart.de: I have changed your improved parentheses handler to get the font-size for the parentheses from the TabNoteHead, so parentheses around grace notes are scaled properly in tablature. Looks good. Thank you! Let's just hope

Re: Best name for function to create cross-style noteheads

2009-07-22 Thread Marc Hohl
TaoCG schrieb: Carl Sorensen-3 wrote: 2) For each of the instances you identified in part 1), what do you call the resulting note? I've never heard the term 'dead note' but 'ghost note' is very common. Doesn't matter if it's a string or wind instrument. Neither is it limited to

Re: Best name for function to create cross-style noteheads

2009-07-22 Thread Marc Hohl
David Raleigh Arnold schrieb: On Tuesday 21 July 2009, Mark Polesky wrote: Trevor Daniels wrote: Given the wide variation in the use of the x-shaped note head I think the only possible name to use is one that reflects the shape of the note head - crossNote, crossNoteHead or similar -

Re: Best name for function to create cross-style noteheads

2009-07-22 Thread Marc Hohl
Ian Hulin schrieb: Mark Polesky wrote: Trevor Daniels wrote: Given the wide variation in the use of the x-shaped note head I think the only possible name to use is one that reflects the shape of the note head - crossNote, crossNoteHead or similar - rather than trying to find a suitable generic

Re: eps, markup and adding hammer-on/pull-off to tablature

2009-07-23 Thread Marc Hohl
Federico Bruni schrieb: Hi all, I'm trying to add hammer-on and pull-off to a tablature. These are not supported by tablature.ly, so I was told to use an .eps file and \markup to get what I want. Hi Federico, as long as you need simple slurs to indicate hammer-on and pull-off, you'll have

Re: eps, markup and adding hammer-on/pull-off to tablature

2009-07-23 Thread Marc Hohl
Federico Bruni schrieb: Marc Hohl wrote: Federico Bruni schrieb: Hi all, I'm trying to add hammer-on and pull-off to a tablature. These are not supported by tablature.ly, so I was told to use an .eps file and \markup to get what I want. Hi Federico, as long as you need simple slurs

Re: Best name for function to create cross-style noteheads

2009-07-23 Thread Marc Hohl
Carl Sorensen schrieb: On 7/23/09 12:28 PM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi Mark, is there a clear advantage to having a smaller namespace? No need to maintain crossrefs and aliases in the documentation. [Might not be a huge thing, but it's a clear

Re: Best name for function to create cross-style noteheads

2009-07-24 Thread Marc Hohl
Mark Polesky schrieb: Carl Sorensen wrote: Recognizing that we may want to change noteheads to various styles, and that we may want to mix styles in a chord, it might be a good idea to define a function \changeNoteHead that accepts a style parameter, and then define \xHead as

Re: Best name for function to create cross-style noteheads

2009-07-24 Thread Marc Hohl
Carl Sorensen schrieb: On 7/24/09 6:16 AM, Trevor Daniels t.dani...@treda.co.uk wrote: The structure of the Notation Reference is designed to accommodate documenting this. The specialist sections in NR 2 would contain an indexed description of all the uses of crossed note heads. For

Manipulating grob properties doesn't work

2009-07-26 Thread Marc Hohl
I am starting to implement bends in lilypond. As a first step, I want to make the right tab note head covered by a slur transparent. This worked fine with ties, but when I try the same with slurs, it simply shows no difference. What am I doing wrong here? Marc

Re: Manipulating grob properties doesn't work

2009-07-26 Thread Marc Hohl
Marc Hohl schrieb: I am starting to implement bends in lilypond. As a first step, I want to make the right tab note head covered by a slur transparent. This worked fine with ties, but when I try the same with slurs, it simply shows no difference. What am I doing wrong here? Marc

Re: lilypond 2.12.1 - strange result - missing line breaks

2009-07-26 Thread Marc Hohl
Michał Dwużnik schrieb: Hi, after quite a long time of not using lilypond I got back to engraving. Attached example (modified SATB example, proven to work with other pieces) produces somewhat surprising result - printout with second line extending to the right well past the edge of the page...

Re: Manipulating grob properties doesn't work

2009-07-26 Thread Marc Hohl
Robin Bannister schrieb: Marc Hohl wrote: This worked fine with ties, but when I try the same with slurs, it simply shows no difference. (display right-bound) says - Tie: #Grob TabNoteHead - Slur: #Grob NoteColumn Thank you - this explains why it does not work, so I have to find

Re: Best name for function to create cross-style noteheads

2009-07-30 Thread Marc Hohl
Trevor Daniels schrieb: Carl Sorensen wrote Friday, July 24, 2009 2:07 PM On 7/24/09 6:16 AM, Trevor Daniels t.dani...@treda.co.uk wrote: The structure of the Notation Reference is designed to accommodate documenting this. The specialist sections in NR 2 would contain an indexed

how to define a boolean?

2009-08-08 Thread Marc Hohl
Sorry if this is a stupid question, but here im totally stuck: I need to define a boolean which is to be changed within a music-function and a stencil callback. I tried #(define mybool #f) at the beginning and later myfunc = #(define-music-function (parser location note) (ly:music?) (set!

Re: how to define a boolean?

2009-08-08 Thread Marc Hohl
Mark Polesky schrieb: Marc Hohl wrote: Sorry if this is a stupid question, but here im totally stuck: Not a stupid question. This involves parser variables which are giving us developers troubles, too! If you're curious, you can follow this long thread: http://lists.gnu.org/archive

Re: how to define a boolean?

2009-08-08 Thread Marc Hohl
Mark Polesky schrieb: Marc Hohl wrote: Thank you! At least I can play with this ... The callback is a little trickier for me for the moment. I'll get back to you. Great. I am awaiting your response. Man, this stuff is tricky. Here's the best I can do for right now. I

Re: how to define a boolean?

2009-08-08 Thread Marc Hohl
Carl Sorensen schrieb: [...] For the music-function you can do this: % you can also do: % mybool = ##f #(define mybool #f) Why not just change this to #(define-public mybool #f) then use mybool everywhere else? I tried this first, but it seems that it doesn't work inside a

Re: how to define a boolean?

2009-08-09 Thread Marc Hohl
Carl Sorensen schrieb: On 8/8/09 2:20 PM, Marc Hohl m...@hohlart.de wrote: Carl Sorensen schrieb: [...] For the music-function you can do this: % you can also do: % mybool = ##f #(define mybool #f) Why not just change this to #(define-public mybool #f

Re: how to define a boolean?

2009-08-09 Thread Marc Hohl
Trevor Daniels schrieb: [...] From what I see on the console output, the calls of \myMusicFunc are evaluated first, so myBool is #t and the callbacks come in action afterwards (the first slur claims #t, every other slur reads #f), so apparently they don't influence each other the way I

Re: how to define a boolean?

2009-08-09 Thread Marc Hohl
Nicolas Sceaux schrieb: Le 9 août 09 à 13:21, Marc Hohl a écrit : #(define-public (slur::boolean grob) ;; just a test function to try and switch boolean values (display \nWithin callback\n) (display myBool: )(display myBool)(newline) (if myBool (set! myBool #f) (set! myBool

Re: how to define a boolean?

2009-08-09 Thread Marc Hohl
Carl Sorensen schrieb: On 8/9/09 1:20 AM, Marc Hohl m...@hohlart.de wrote: Was there something else you were trying to do? Yes, I have to change the value of myBool within a stencil callback. Like this: \version 2.13.3 #(define myBool #f) myMusicFunc = #(define-music-function

Re: how to define a boolean?

2009-08-10 Thread Marc Hohl
Carl Sorensen schrieb: [...] The *specific* behavior you have requested can be achieved by the following: #(define myBool #f) myMusicFunc = #(define-music-function (parser location) () #{ \once \override Slur #'dummyProperty = ##t #}) #(define-public (slur::boolean grob) ;; just

Re: how to define a boolean?

2009-08-10 Thread Marc Hohl
Carl Sorensen schrieb: On 8/10/09 1:54 AM, Marc Hohl m...@hohlart.de wrote: Carl Sorensen schrieb: [...] The *specific* behavior you have requested can be achieved by the following: #(define myBool #f) myMusicFunc = #(define-music-function (parser location) () #{ \once

  1   2   3   4   5   6   7   8   9   >