Re: tablature.ly - please test and comment

2009-06-19 Thread Grammostola Rosea
David Stocker wrote: I've got some things typed out, but I still need to write explanations for the placement and display of objects, and suggestions for the program behavior. As soon as I have those written out, I'll post the first batch. I'll try to get it done today or tomorrow. David May

Re: tablature.ly - please test and comment

2009-06-15 Thread David Stocker
I've got some things typed out, but I still need to write explanations for the placement and display of objects, and suggestions for the program behavior. As soon as I have those written out, I'll post the first batch. I'll try to get it done today or tomorrow. David Grammostola Rosea wrote:

Re: tablature.ly - please test and comment

2009-06-15 Thread Grammostola Rosea
David Stocker wrote: Thanks, Marc and Carl for making this happen. I'll post some editorial suggestions here for how bends should look soon (next week, really! I've had occasion to work on it this week) David Hi, Some progress here? Regards, \r _

Re: tablature.ly - please test and comment

2009-05-30 Thread Marc Hohl
Carl D. Sorensen schrieb: [...] But how can I find out whether the tweak is called within a normal or a tab staff? Within a normal staff, a whiteout should surely be avoided ... I think you have to do this within the callback, where the context is available. Once you have a context, you

Re: tablature.ly - please test and comment

2009-05-29 Thread Carl D. Sorensen
Neil can help with this better than I can. But if you do a git grep for context, you'll see lots of examples of how to get information about contexts >> >>>> >>>> Marc, feel free to add this to tablature.ly if you want to. >>>> >>>>

Re: tablature.ly - please test and comment

2009-05-29 Thread Marc Hohl
Is there a way to change this? Yes. Change the stencil so that it is a composite stencil. But how can I find out whether the tweak is called within a normal or a tab staff? Within a normal staff, a whiteout should surely be avoided ... Marc, feel free to add this to tablature.ly if you w

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" 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 the character

Re: tablature.ly - please test and comment

2009-05-29 Thread Carl D. Sorensen
On 5/29/09 1:56 AM, "Marc Hohl" 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 the character 'capital X' from th

Re: tablature.ly - please test and comment

2009-05-29 Thread Carl D. Sorensen
t;> > There is some drawback/difference: the crosses are drawn without > whiteout, so they look different. Is there a way to change this? Yes. Change the stencil so that it is a composite stencil. >> >> Marc, feel free to add this to tablature.ly if you want to. >

Re: tablature.ly - please test and comment

2009-05-29 Thread Grammostola Rosea
Thanks, Marc and Carl for making this happen. I'll post some editorial suggestions here for how bends should look soon (next week, really! I've had occasion to work on it this week) Great! Next week, nice. Take it easy ;) \r ___ lilypond-use

Re: tablature.ly - please test and comment

2009-05-29 Thread Marc Hohl
(acons 'style 'special (ly:music-property note 'tweaks) note) { } There is some drawback/difference: the crosses are drawn without whiteout, so they look different. Is there a way to change this? Marc, feel free to add this to tablature.ly if you want to.

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 example,

Re: tablature.ly - please test and comment

2009-05-28 Thread Carl D. Sorensen
On 5/28/09 6:28 PM, "David Stocker" wrote: > 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 > us

Re: tablature.ly - please test and comment

2009-05-28 Thread Julian
> 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 (ly:music-property note

Re: tablature.ly - please test and comment

2009-05-28 Thread David Stocker
ad::print (acons 'glyph-name "2cross" (acons 'style 'special (ly:music-property note 'tweaks) note) { } Marc, feel free to add this to tablature.ly if you want to. HTH, Carl

Re: tablature.ly - please test and comment

2009-05-28 Thread Carl D. Sorensen
ne-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 (ly:music-property note 'tweaks) no

Re: tablature.ly - please test and comment

2009-05-28 Thread Julian
Great man! Thanks for your help ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

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-28 Thread Julian
> 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 Dead note is applied only to

Re: tablature.ly - please test and comment

2009-05-28 Thread Carl D. Sorensen
have \tabFullNotation be a non-undoable setting. >> > As you can see, \tabFullNotation works only locally when included in a > score: > > \version "2.13.0" > \include "tablature.ly" > > test = \relative c { c4 d e f g a b c } > > \score { \

Re: tablature.ly - please test and comment

2009-05-28 Thread Marc Hohl
when included in a score: \version "2.13.0" \include "tablature.ly" test = \relative c { c4 d e f g a b c } \score { \new TabStaff { \clef "tab" \test } } \score { \new TabStaff { \clef "tab" \tabFullNotation \test } } \score { \new TabStaff { \clef &quo

Re: tablature.ly - please test and comment

2009-05-27 Thread Carl D. Sorensen
On 5/27/09 2:50 PM, "Neil Puttock" wrote: > 2009/5/23 Marc Hohl : >> Neil Puttock schrieb: > >>> Since none of this works properly (I suspect it will require more than >>> Scheme hacking to get everything working), I don't think it's suitable >>> for inclusion. >>> >>> >> >> Hm, I guess yo

Re: tablature.ly - please test and comment

2009-05-27 Thread Neil Puttock
2009/5/23 Marc Hohl : > Neil Puttock schrieb: >> Since none of this works properly (I suspect it will require more than >> Scheme hacking to get everything working), I don't think it's suitable >> for inclusion. >> >> > > Hm, I guess you're right - but as a compromise, how about letting the > \cle

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: tablature.ly - please test and comment

2009-05-27 Thread Julian
> 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.. Thanks ___ lilypond-user mailing list lilypond-user@gnu.org http:/

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 mess

Re: tablature.ly - please test and comment

2009-05-27 Thread Marc Hohl
Julian schrieb: [...] i found the "\tweak #'style #'cross" works indide < > e.g: 4 d Here, it would be possible to define versions for deadNotes and palmMute that works inside < ... > constructs, i.e. chordNoteDeadNote = #(define-music-function (parser location note) (ly:music?) (set

Re: tablature.ly - please test and comment

2009-05-26 Thread Julian
> 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 messages: "i

Re: tablature.ly - please test and comment

2009-05-25 Thread Carl D. Sorensen
On 5/25/09 12:13 PM, "Julian" wrote: > > Hello Marc, > > Well at first, english is no my native lang, so sorry for don't speak it well. > > I'm the admin of tuxguitar (a tablature editor) project and now i'm trying to > implement some of these features to the lilypond exporter plugin. > >

Re: tablature.ly - please test and comment

2009-05-25 Thread Julian
Marc Hohl hohlart.de> writes: > > [ok, the mail was too big, I removed the attached pdf output] > I attach the latest version of tablature.ly together with a test file. > Please have a look at it and reply any corrections/improvements/changes > /etc. > before I will

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" wrote: Neil Puttock schrieb: 2009/5/22 Marc Hohl : % for ties in tablature, fret numbers that are tied to should be invisible % or -after a line break - put in parentheses. Since this is not (easily?) % possible in lil

Re: tablature.ly - please test and comment

2009-05-23 Thread Carl D. Sorensen
On 5/23/09 1:09 AM, "Marc Hohl" wrote: > Neil Puttock schrieb: >> 2009/5/22 Marc Hohl : >>> % for ties in tablature, fret numbers that are tied to should be invisible >>> % or -after a line break - put in parentheses. Since this is not (easily?) >>> % possible in lilypond, we offer three comma

Re: tablature.ly - please test and comment

2009-05-23 Thread Marc Hohl
Neil Puttock schrieb: 2009/5/22 Marc Hohl : 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 details (mostly minor)

Re: tablature.ly - please test and comment

2009-05-22 Thread Neil Puttock
mment on below. > tablature.ly > > source file of the GNU LilyPond music typesetter > > (c) 2009 Marc Hohl > > > % some publications use the triangled note head > % for palm mute, so here we go: > palmMuteOn = { \set shapeNoteStyles = #(make-vector 7 &#x

tablature.ly - please test and comment

2009-05-22 Thread Marc Hohl
[ok, the mail was too big, I removed the attached pdf output] I attach the latest version of tablature.ly together with a test file. Please have a look at it and reply any corrections/improvements/changes /etc. before I will send patches to Carl. Remember that you have to add (define-public

Re: tablature.ly, second attempt

2009-05-08 Thread Grammostola Rosea
Marc Hohl wrote: There is one problem now with the settings in tablature.ly: I simply made ties transparent, but then, the fret number appears as it were a note to be played. Hopefully somewhere in the future, I will find a possibility to let the fret number disappear, but as David Stocerk

Re: tablature.ly, second attempt

2009-05-04 Thread rosea grammostola
Great job! Really appreciate it! \r On Mon, May 4, 2009 at 9:47 AM, Marc Hohl wrote: > Hello tablature users, > > after sending my first version of a tablature.ly-file, I got a lot of > positive resonse, > and a lot more of corrections/improvements. Thank you all! >

tablature.ly, second attempt

2009-05-04 Thread Marc Hohl
Hello tablature users, after sending my first version of a tablature.ly-file, I got a lot of positive resonse, and a lot more of corrections/improvements. Thank you all! Now, there is a (hopefully) better file which includes the following features/changes: 1) the palmmute/deadnote stuff is

Re: tablature.ly

2009-05-03 Thread Marc Hohl
I tried to follow your suggestions, and after some trial and error, I have rearranged my tablature.ly as follows (see attachment): #(add-new-clef "moderntab" "markup.moderntab" 0 0 0) % this function decides which clef to take #(define (clef::print-modern-tab-if-set grob)

Re: tablature.ly

2009-05-02 Thread Neil Puttock
orrect, see below, but when everything > works, I'll send patches.] That looks fine. I'd just suggest changing `octaviation' to `octavation'. > I tried to follow your suggestions, and after some trial and error, I have > rearranged my tablature.ly as follows (see att

Re: tablature.ly

2009-05-02 Thread Marc Hohl
alist (see attached files and lilypond's error messages). Is this list only locally defined, or am I missing something? You are correct. c0-pitch-alist is not public. So it's currently not possible to cons a value in with the tablature.ly file. Oops. :) Sorry Marc, I didn

Re: tablature.ly

2009-04-30 Thread Neil Puttock
ond's error messages). >> Is this list only locally defined, or am I missing something? > > You are correct.  c0-pitch-alist is not public.  So it's currently not > possible to cons a value in with the tablature.ly file. Oops. :) Sorry Marc, I didn't notice that. I

Re: tablature.ly

2009-04-30 Thread Carl D. Sorensen
On 4/30/09 1:36 AM, "Marc Hohl" wrote: > [snip] > > I have reworked my tablature.ly according to all suggestions and > improvements by Neil and Carl. > > The modern tab clef seems to be scaling properly, I played a bit with > some values for staff-space, >

Re: tablature.ly

2009-04-30 Thread Marc Hohl
[snip] I have reworked my tablature.ly according to all suggestions and improvements by Neil and Carl. The modern tab clef seems to be scaling properly, I played a bit with some values for staff-space, and it looks now as it should be (at least in my opinion). I have managed (with excessive

Re: tablature.ly

2009-04-29 Thread Carl D. Sorensen
On 4/29/09 3:12 AM, "Marc Hohl" wrote: > Neil Puttock schrieb: >> 2009/4/27 Carl D. Sorensen : >> >>> Neil, >>> >>> Thanks for your input. I think it's all really good. >>> >>> >>> On 4/26/09 1:49 PM, "Neil Puttock" wrote: >>> >>> 2009/4/25 Marc Hohl : >>> Marc, the

Re: tablature.ly

2009-04-29 Thread Marc Hohl
Marc Hohl schrieb: Marc Hohl schrieb: Neil Puttock schrieb: 2009/4/27 Carl D. Sorensen : Neil, Thanks for your input. I think it's all really good. On 4/26/09 1:49 PM, "Neil Puttock" wrote: 2009/4/25 Marc Hohl : Hello tablature users*, Like Carl, I'm not a tablature

Re: tablature.ly

2009-04-29 Thread Marc Hohl
Marc Hohl schrieb: Neil Puttock schrieb: 2009/4/27 Carl D. Sorensen : Neil, Thanks for your input. I think it's all really good. On 4/26/09 1:49 PM, "Neil Puttock" wrote: 2009/4/25 Marc Hohl : Hello tablature users*, Like Carl, I'm not a tablature user, so I can onl

Re: tablature.ly

2009-04-29 Thread Marc Hohl
Neil Puttock schrieb: 2009/4/27 Carl D. Sorensen : Neil, Thanks for your input. I think it's all really good. On 4/26/09 1:49 PM, "Neil Puttock" wrote: 2009/4/25 Marc Hohl : Hello tablature users*, Like Carl, I'm not a tablature user, so I can only comment on mat

Re: tablature.ly

2009-04-29 Thread Marc Hohl
Neil Puttock schrieb: 2009/4/27 Marc Hohl : 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 changed to #:cent

Re: tablature.ly

2009-04-28 Thread Neil Puttock
2009/4/27 Marc Hohl : > No, I didn't get this mail. I played around with your suggestions and the > improvements given by Neil and have now: > > #(define-markup-command (customTabClef layout props tuning) (pair?) >   (define (square x) (* x x)) >   (let* ((num-strings (min (max (length tuning) 4)

Re: tablature.ly

2009-04-28 Thread Neil Puttock
2009/4/27 Marc Hohl : > 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 changed to #:center-column, I simply have overloo

Re: tablature.ly

2009-04-28 Thread Neil Puttock
2009/4/27 Carl D. Sorensen : > Neil, > > Thanks for your input.  I think it's all really good. > > > On 4/26/09 1:49 PM, "Neil Puttock" wrote: > >> 2009/4/25 Marc Hohl : >>> Hello tablature users*, >> >> Like Carl, I'm not a tablature user, so I can only comment on matters of >> coding. >> >> Some

Re: tablature.ly

2009-04-28 Thread Marc Hohl
Carl D. Sorensen schrieb: [snip] Try #'(cons 'font-family 'sans), and see if that will work. It may be that the way things are substituted by the macro expansion is causing it to work differently than I would expect with straight Scheme. Yes, it works. Great! Thanks a lot, Carl.

Re: tablature.ly

2009-04-27 Thread Carl D. Sorensen
On 4/27/09 12:47 PM, "Marc Hohl" wrote: > Carl D. Sorensen schrieb: >> >> On 4/27/09 3:38 AM, "Marc Hohl" wrote: >> >> > No, I didn't get this mail. I played around with your suggestions and the > improvements given by Neil and have now: > > #(define-markup-command (customTabClef layout

Re: tablature.ly

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

Re: tablature.ly

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

Re: tablature.ly

2009-04-27 Thread Marc Hohl
Neil Puttock schrieb: 2009/4/25 Marc Hohl : 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 here we go: palmMut

Re: tablature.ly

2009-04-26 Thread Carl D. Sorensen
Neil, Thanks for your input. I think it's all really good. On 4/26/09 1:49 PM, "Neil Puttock" wrote: > 2009/4/25 Marc Hohl : >> 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: >

Re: tablature.ly

2009-04-26 Thread Neil Puttock
2009/4/25 Marc Hohl : > 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 here we go: > palmMuteOn = { \set shapeNoteStyles =

Re: tablature.ly

2009-04-25 Thread Carl D. Sorensen
Looks great, Marc! *Very* nicely done. On 4/25/09 4:06 AM, "Marc Hohl" wrote: > Hello tablature users*, > > > 3) some more tunings are defined: >guitar-seven-string-tuning >guitar-drop-d-tuning >bass-four-string-tuning >bass-drop-d-tuning >bass-five-string-tuning >ba

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 "tablatu

Re: tablature.ly

2009-04-25 Thread Jonathan Kulp
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.

Re: tablature.ly

2009-04-25 Thread Jonathan Kulp
Grammostola Rosea wrote: Marc Hohl wrote: Hello tablature users*, after some days of struggling with lilypond's internals, I have created a file tablature.ly Wow, I am very happy about this! I'm gonna test it for sure. Thanks Marc and Carl! @David could you make some progres

Re: tablature.ly

2009-04-25 Thread Graham Percival
On Sat, Apr 25, 2009 at 12:06:07PM +0200, Marc Hohl wrote: > after some days of struggling with lilypond's internals, I have created > a file tablature.ly Fantastic work! This is exactly the kind of thing I was hoping would happen. Not from a tab-specific viewpoint, but fro

Re: tablature.ly

2009-04-25 Thread Grammostola Rosea
Marc Hohl wrote: Hello tablature users*, after some days of struggling with lilypond's internals, I have created a file tablature.ly Wow, I am very happy about this! I'm gonna test it for sure. Thanks Marc and Carl! @David could you make some progress with the bends and st

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 defau