Re: Bend

2024-04-21 Thread Thomas Richter
I guess what you are looking for is the brassBend glyph defined in SMuFL 
compliant fonts like Bravura or Ekmelos 
<http://www.ekmelic-music.org/en/extra/ekmelos.htm> with codepoint 
U+E5E3.  And it is one of the few musical symbols which is also defined 
in Unicode with codepoint U+1D189.





\version "2.24.0"

#(define-markup-command (brassBend layout props) ()
  #:properties ((font-size 0))
  (interpret-markup layout
    (cons
  `((font-name . "Ekmelos")
    (font-size . ,(+ font-size 5)))
  props)
    (ly:wide-char->utf-8 #xE5E3)))

{ c'' ^ \markup \brassBend }



Thomas


Am 20.04.2024 um 22:39 schrieb gehent...@gmail.com:

Hello friends,

I thought this was recently covered, but I haven't been able to find
what I need.

I'm looking for an articulation to add that will indicate a note is
supposed to bend down, before bending back up again. Usually I see it
looking something like an upside-down fermata, without the dot. I can
do this in Musescore easily, but I've never found a satisfactory bend
like this in Lilypond. I have a script for a scoop, and I know about
\bendBefore, but not this one.

Thanks!

Brian



Re: Bend

2024-04-21 Thread Thomas Richter

I guess what you are looking for is the brassBend glyph (U+E5E3) in



Am 20.04.2024 um 22:39 schrieb gehent...@gmail.com:

Hello friends,

I thought this was recently covered, but I haven't been able to find
what I need.

I'm looking for an articulation to add that will indicate a note is
supposed to bend down, before bending back up again. Usually I see it
looking something like an upside-down fermata, without the dot. I can
do this in Musescore easily, but I've never found a satisfactory bend
like this in Lilypond. I have a script for a scoop, and I know about
\bendBefore, but not this one.

Thanks!

Brian






Re: Bend

2024-04-21 Thread Lukas-Fabian Moser
Hi Brian,

if you know \bendBefore, you're probably referring to the semi-finished
improved bendAfter/bendBefore pair that I reposted recently. This supports
an arbitrary contour for the bend line by giving a list of tone relations.
See the examples that come with it.

I'll not be at my computer for the rest of the day (German time zone), but
maybe this pointer is already helpful?

Lukas

 schrieb am Sa., 20. Apr. 2024, 22:39:

> Hello friends,
>
> I thought this was recently covered, but I haven't been able to find
> what I need.
>
> I'm looking for an articulation to add that will indicate a note is
> supposed to bend down, before bending back up again. Usually I see it
> looking something like an upside-down fermata, without the dot. I can
> do this in Musescore easily, but I've never found a satisfactory bend
> like this in Lilypond. I have a script for a scoop, and I know about
> \bendBefore, but not this one.
>
> Thanks!
>
> Brian
>
>


Re: Bend

2024-04-21 Thread gehentogo
After searching unicode, I think I may have found a character that
works even better. ^"‿", or ^\markup { ‿ }.

On Sun, Apr 21, 2024 at 8:41 AM  wrote:
>
> Hey Paul,
>
> \lheel is what I had in mind, except it looks more like a "U," while I
> am used to seeing something a bit flatter. I'm surprised there isn't
> something for this as it's not so uncommon in jazz.
>
> But, I might have found something that kind of works: instead of
> ^\lheel (^ ensures it is above the note), I am using ^"◡". After a
> quick google search, I found out there is ascii code for the lower
> half of a circle. I feel like this is a good, 90% solution.
>
> Cheers,
>
> Brian
>
> On Sat, Apr 20, 2024 at 11:59 PM waterhorsemusic
>  wrote:
> >
> > Not perfect but \lheel works.
> >
> > HTH,
> >
> > Paul
> >
> >
> >
> >
> > Sent from my Galaxy
> >
> >
> >  Original message 
> > From: gehent...@gmail.com
> > Date: 4/20/24 1:39 PM (GMT-07:00)
> > To: lilypond-user@gnu.org
> > Subject: Bend
> >
> > Hello friends,
> >
> > I thought this was recently covered, but I haven't been able to find
> > what I need.
> >
> > I'm looking for an articulation to add that will indicate a note is
> > supposed to bend down, before bending back up again. Usually I see it
> > looking something like an upside-down fermata, without the dot. I can
> > do this in Musescore easily, but I've never found a satisfactory bend
> > like this in Lilypond. I have a script for a scoop, and I know about
> > \bendBefore, but not this one.
> >
> > Thanks!
> >
> > Brian
> >



Re: Bend

2024-04-21 Thread gehentogo
Hey Paul,

\lheel is what I had in mind, except it looks more like a "U," while I
am used to seeing something a bit flatter. I'm surprised there isn't
something for this as it's not so uncommon in jazz.

But, I might have found something that kind of works: instead of
^\lheel (^ ensures it is above the note), I am using ^"◡". After a
quick google search, I found out there is ascii code for the lower
half of a circle. I feel like this is a good, 90% solution.

Cheers,

Brian

On Sat, Apr 20, 2024 at 11:59 PM waterhorsemusic
 wrote:
>
> Not perfect but \lheel works.
>
> HTH,
>
> Paul
>
>
>
>
> Sent from my Galaxy
>
>
>  Original message 
> From: gehent...@gmail.com
> Date: 4/20/24 1:39 PM (GMT-07:00)
> To: lilypond-user@gnu.org
> Subject: Bend
>
> Hello friends,
>
> I thought this was recently covered, but I haven't been able to find
> what I need.
>
> I'm looking for an articulation to add that will indicate a note is
> supposed to bend down, before bending back up again. Usually I see it
> looking something like an upside-down fermata, without the dot. I can
> do this in Musescore easily, but I've never found a satisfactory bend
> like this in Lilypond. I have a script for a scoop, and I know about
> \bendBefore, but not this one.
>
> Thanks!
>
> Brian
>



RE: Bend

2024-04-20 Thread waterhorsemusic
Not perfect but \lheel works.HTH,PaulSent from my Galaxy
 Original message From: gehent...@gmail.com Date: 4/20/24  1:39 
PM  (GMT-07:00) To: lilypond-user@gnu.org Subject: Bend Hello friends,I thought 
this was recently covered, but I haven't been able to findwhat I need.I'm 
looking for an articulation to add that will indicate a note issupposed to bend 
down, before bending back up again. Usually I see itlooking something like an 
upside-down fermata, without the dot. I cando this in Musescore easily, but 
I've never found a satisfactory bendlike this in Lilypond. I have a script for 
a scoop, and I know about\bendBefore, but not this one.Thanks!Brian

Bend

2024-04-20 Thread gehentogo
Hello friends,

I thought this was recently covered, but I haven't been able to find
what I need.

I'm looking for an articulation to add that will indicate a note is
supposed to bend down, before bending back up again. Usually I see it
looking something like an upside-down fermata, without the dot. I can
do this in Musescore easily, but I've never found a satisfactory bend
like this in Lilypond. I have a script for a scoop, and I know about
\bendBefore, but not this one.

Thanks!

Brian



Re: Fwd: Scoop and bend

2022-12-28 Thread Ralph Palmer
On Wed, Dec 28, 2022 at 8:19 PM Paul Scott  wrote:

> This is what I use for scoop that I probably got from this list a number
> of years ago.
>
> #(define (scoop-stencil grob)
>   (ly:stencil-combine-at-edge
>(ly:note-head::print grob) 0 -1
>(grob-interpret-markup grob
> (markup #:with-dimensions '(0 . 0) '(0 . 0)
>  #:translate '( -2 . -2) #:musicglyph "brackettips.up" )) 0 )
> )
>
> scoop = \once \override NoteHead.stencil = #scoop-stencil
>
> music = \fixed c'' { \scoop c2 r }
>
> HTH,
>
> Paul
>
>
> On 12/28/22 3:56 PM, Ralph Palmer wrote:
>
> -- Forwarded message -
> From: Ralph Palmer 
> Date: Wed, Dec 28, 2022 at 10:18 AM
> Subject: Re: Scoop and bend
> To: Benjamin Tordoff 
>
>
> On Wed, Dec 28, 2022 at 3:55 AM Benjamin Tordoff 
> wrote:
>
>> Hi all, I’ve recently been type-setting some saxophone parts that employ
>> quite a lot of glissandi, note-bends, falls, and scoops. Lilypond has the
>> glissando and fall (bendAfter) covered, but I’m struggling to find a good
>> solution for scoop (basically “bendBefore”) or bend (in the originals this
>> is indicated like a glissando down a tone and back to the same note). A
>> hand-drawn example is attached.
>>
>> I managed something passable using hidden grace-notes and adjusting the
>> slur offset, but the appearance isn’t ideal and seems sensitive to the
>> overall score spacing. Not to mention that it adds bizarre notes to the
>> midi output. Any suggestions for something more robust would be appreciated.
>>
>> Thanks
>> Ben
>>
>
> Oops. Forgot to copy the list.
> Ralph
>
> I would love to see this as well!
>
> All the best,
>
> Ralph
>
>
Thanks, Paul. I don't have time right now to test it, but I shall, soon!

All the best,

Ralph

__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


Re: Fwd: Scoop and bend

2022-12-28 Thread Paul Scott
This is what I use for scoop that I probably got from this list a number 
of years ago.


#(define (scoop-stencil grob)
  (ly:stencil-combine-at-edge
   (ly:note-head::print grob) 0 -1
   (grob-interpret-markup grob
    (markup #:with-dimensions '(0 . 0) '(0 . 0)
 #:translate '( -2 . -2) #:musicglyph "brackettips.up" )) 0 )
)

scoop = \once \override NoteHead.stencil = #scoop-stencil

music = \fixed c'' { \scoop c2 r }

HTH,

Paul


On 12/28/22 3:56 PM, Ralph Palmer wrote:

-- Forwarded message -
From: *Ralph Palmer* 
Date: Wed, Dec 28, 2022 at 10:18 AM
Subject: Re: Scoop and bend
To: Benjamin Tordoff 


On Wed, Dec 28, 2022 at 3:55 AM Benjamin Tordoff  
wrote:


Hi all, I’ve recently been type-setting some saxophone parts that
employ quite a lot of glissandi, note-bends, falls, and scoops.
Lilypond has the glissando and fall (bendAfter) covered, but I’m
struggling to find a good solution for scoop (basically
“bendBefore”) or bend (in the originals this is indicated like a
glissando down a tone and back to the same note). A hand-drawn
example is attached.

I managed something passable using hidden grace-notes and
adjusting the slur offset, but the appearance isn’t ideal and
seems sensitive to the overall score spacing. Not to mention that
it adds bizarre notes to the midi output. Any suggestions for
something more robust would be appreciated.

Thanks
Ben


Oops. Forgot to copy the list.
Ralph

I would love to see this as well!

All the best,

Ralph

__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com

Fwd: Scoop and bend

2022-12-28 Thread Ralph Palmer
-- Forwarded message -
From: Ralph Palmer 
Date: Wed, Dec 28, 2022 at 10:18 AM
Subject: Re: Scoop and bend
To: Benjamin Tordoff 


On Wed, Dec 28, 2022 at 3:55 AM Benjamin Tordoff  wrote:

> Hi all, I’ve recently been type-setting some saxophone parts that employ
> quite a lot of glissandi, note-bends, falls, and scoops. Lilypond has the
> glissando and fall (bendAfter) covered, but I’m struggling to find a good
> solution for scoop (basically “bendBefore”) or bend (in the originals this
> is indicated like a glissando down a tone and back to the same note). A
> hand-drawn example is attached.
>
> I managed something passable using hidden grace-notes and adjusting the
> slur offset, but the appearance isn’t ideal and seems sensitive to the
> overall score spacing. Not to mention that it adds bizarre notes to the
> midi output. Any suggestions for something more robust would be appreciated.
>
> Thanks
> Ben
>

Oops. Forgot to copy the list.
Ralph

I would love to see this as well!

All the best,

Ralph

__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


Scoop and bend

2022-12-28 Thread Benjamin Tordoff
Hi all, I’ve recently been type-setting some saxophone parts that employ quite 
a lot of glissandi, note-bends, falls, and scoops. Lilypond has the glissando 
and fall (bendAfter) covered, but I’m struggling to find a good solution for 
scoop (basically “bendBefore”) or bend (in the originals this is indicated like 
a glissando down a tone and back to the same note). A hand-drawn example is 
attached.

I managed something passable using hidden grace-notes and adjusting the slur 
offset, but the appearance isn’t ideal and seems sensitive to the overall score 
spacing. Not to mention that it adds bizarre notes to the midi output. Any 
suggestions for something more robust would be appreciated.

Thanks
Ben


Re: How to code a bend-up into a note

2022-05-01 Thread Robin Bannister

David Johnson wrote:

bend-up

How should I code the bends into the c8. and c16~?



My answer is at
https://lists.gnu.org/archive/html/lilypond-user/2019-10/msg00306.html


Searching for 'scoop' in the user archives will give further hits:
https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=scoop=Search%21=lilypond-user=20=normal=date%3Alate


Cheers,
Robin




How to code a bend-up into a note

2022-05-01 Thread David Johnson

bend-up

How should I code the bends into the c8. and c16~?

I find information on falloffs and doit's but nothing on this type of 
figure.



Thanks,

David Johnson

Birmingham, AL



Re: bend before, increase disctance to accidental

2020-12-04 Thread Stefan Thomas
Dear Aaron,
thanks for Your reply.
This works fine for me!

On 2020-12-04 7:10 am, Stefan Thomas wrote:

Dear Thomas,
thanks for Your reply!
Unfortunately the code doesn't work for me, I get the error message:


Processing `/tmp/lyp/wrappers/bendbefore.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...


Layout output to `/tmp/lilypond-TlFzo5'...: In expression

(rmoveto 12.500042 -2.5 ...):

: Unbound variable: rmoveto


Is Your code written for 2.20.0?

Newer than that, as it fails with 2.20.0. There was a change to
stencil expressions
> that removed an extra level of quoting. For 2.20.0 and earlier, you'll
> need to add that back in:
>
> 
>   (exp (list 'path thickness
>  `(quote
>(rmoveto
>  ,(- left-x self-x) ,(- delta-y)
>  rcurveto
>  ,(/ dx 3) 0
>  ,dx ,(* 0.66 delta-y)
>  ,dx ,delta-y)
> 
>
>
> -- Aaron Hill
>
>
>
>


Re: bend before, increase disctance to accidental

2020-12-04 Thread Aaron Hill

On 2020-12-04 7:10 am, Stefan Thomas wrote:

Dear Thomas,
thanks for Your reply!
Unfortunately the code doesn't work for me, I get the error message:


Processing `/tmp/lyp/wrappers/bendbefore.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `/tmp/lilypond-TlFzo5'...: In 
expression

(rmoveto 12.500042 -2.5 ...):

: Unbound variable: rmoveto


Is Your code written for 2.20.0?


Newer than that, as it fails with 2.20.0.  There was a change to stencil 
expressions that removed an extra level of quoting.  For 2.20.0 and 
earlier, you'll need to add that back in:



  (exp (list 'path thickness
 `(quote
   (rmoveto
 ,(- left-x self-x) ,(- delta-y)
 rcurveto
 ,(/ dx 3) 0
 ,dx ,(* 0.66 delta-y)
 ,dx ,delta-y)



-- Aaron Hill



Re: bend before, increase disctance to accidental

2020-12-04 Thread Stefan Thomas
Dear Thomas,
thanks for Your reply!
Unfortunately the code doesn't work for me, I get the error message:

> Processing `/tmp/lyp/wrappers/bendbefore.ly'
>
> Parsing...
>
> Interpreting music...
>
> Preprocessing graphical objects...
>
> Finding the ideal number of pages...
>
> Fitting music on 1 page...
>
> Drawing systems...
>
> Layout output to `/tmp/lilypond-TlFzo5'...: In expression
> (rmoveto 12.500042 -2.5 ...):
>
> : Unbound variable: rmoveto
>
Is Your code written for 2.20.0?
Thanks,
Stefan

Am Do., 3. Dez. 2020 um 23:13 Uhr schrieb Thomas Morley <
thomasmorle...@gmail.com>:

> Am Mi., 2. Dez. 2020 um 17:10 Uhr schrieb Stefan Thomas
> :
> >
> > Dear community,
> > I found a  working code for a bend-before command. I would like to know,
> how I could increase the distance between the bending-sign and the
> accidental.
> > Thanks for your help.
> > Stefan
> > %% SNIPPPET %
> >   #(define (scp-stencil grob)
> > (ly:stencil-combine-at-edge
> >  (ly:note-head::print grob) 0 -1
> >  (grob-interpret-markup grob
> >   #{
> >  \markup
> >  \with-dimensions-from \null
> >  \path #0.2 #'((moveto -2 -1.8)(curveto -1.2 -1.8 -.5 -1.28 -.3
> -.3))
> >#} ) 0 ))
> >
> >   scp = \once \override NoteHead.stencil = #scp-stencil
> >
> >   {
> > \clef F
> > \key g\major
> > bes4 \scp a g fis
> > \repeat unfold 4 { r8 \scp gis' }
> > \repeat unfold 3 { \scp g'!4 }
> > \scp  g' fis'!
> >   }
> >   %%% END %%
> > (copied from
> https://lists.gnu.org/archive/html/lilypond-user/2020-06/msg0.html )
>
> How about below?
> It uses the logic of BendAfter.stencil in a modified way.
> The argument of \bendBefore is the vertical start relative to the NoteHead.
> The width is determined by left and right bound.
> Both like for \bendAfter.
> Here the _left_ bound is the previous (NonMusical)PaperColumn, _right_
> bound the NoteHead.
> This causes 'minimum-length to be useless, to lengthen the bend-curve
> move the NoteColumn of the target NoteHead.
>
> %% DISCLAIMER
> %% This is a very fast first sketch, don't use it for serious work before
> %% having tested it thoroughly
>
> %% c/p from output-lib.scm and modified
> #(define-public (bend::print-harm spanner)
>   (define (close  a b)
> (< (abs (- a b)) 0.01))
>
>   (let* ((lb (ly:spanner-bound spanner LEFT))
>  (left-col (ly:item-get-column lb))
>  (left-neighbor (ly:grob-object left-col 'left-neighbor)))
> (ly:spanner-set-bound! spanner LEFT left-neighbor)
> (ly:spanner-set-bound! spanner RIGHT lb)
>
> (let* ((delta-y (* 0.5 (ly:grob-property spanner 'delta-position)))
>(left-span left-neighbor)
>(right-span lb)
>(thickness (* (ly:grob-property spanner 'thickness)
>  (ly:output-def-lookup (ly:grob-layout spanner)
>'line-thickness)))
>(padding (ly:grob-property spanner 'padding 0.5))
>(common
>  (ly:grob-common-refpoint
>right-span
>(ly:grob-common-refpoint spanner left-span X)
>X))
>(common-y (ly:grob-common-refpoint spanner left-span Y))
>(minimum-length (ly:grob-property spanner 'minimum-length 0.5))
>(left-x
>  (+ padding
> (interval-end
>   (ly:generic-bound-extent left-span common
>(acc (ly:grob-object right-span 'accidental-grob))
>(right-x
>  (max (- (interval-start
>(if (ly:grob? acc)
>(ly:generic-bound-extent acc common)
>(ly:generic-bound-extent right-span common)))
>  padding)
>   (+ left-x minimum-length)))
>(self-x (ly:grob-relative-coordinate spanner common X))
>(dx (- right-x left-x))
>(exp (list 'path thickness
>   `(rmoveto
> ,(- left-x self-x) ,(- delta-y)
> rcurveto
> ,(/ dx 3) 0
> ,dx ,(* 0.66 delta-y)
> ,dx ,delta-y
>
>   (ly:make-stencil
>exp
>(cons (- left-x self-x) (- right-x self-x))
>(ordered-cons 0 (- delta-y))
>
> bendBefore =
>   -\tweak stencil #bend::print-harm
>   -\bendAfter \etc
>
> %%%

Re: bend before, increase disctance to accidental

2020-12-03 Thread Thomas Morley
Am Mi., 2. Dez. 2020 um 17:10 Uhr schrieb Stefan Thomas
:
>
> Dear community,
> I found a  working code for a bend-before command. I would like to know, how 
> I could increase the distance between the bending-sign and the accidental.
> Thanks for your help.
> Stefan
> %% SNIPPPET %
>   #(define (scp-stencil grob)
> (ly:stencil-combine-at-edge
>  (ly:note-head::print grob) 0 -1
>  (grob-interpret-markup grob
>   #{
>  \markup
>  \with-dimensions-from \null
>  \path #0.2 #'((moveto -2 -1.8)(curveto -1.2 -1.8 -.5 -1.28 -.3 -.3))
>#} ) 0 ))
>
>   scp = \once \override NoteHead.stencil = #scp-stencil
>
>   {
> \clef F
> \key g\major
> bes4 \scp a g fis
> \repeat unfold 4 { r8 \scp gis' }
> \repeat unfold 3 { \scp g'!4 }
> \scp  g' fis'!
>   }
>   %%% END %%
> (copied from  
> https://lists.gnu.org/archive/html/lilypond-user/2020-06/msg0.html )

How about below?
It uses the logic of BendAfter.stencil in a modified way.
The argument of \bendBefore is the vertical start relative to the NoteHead.
The width is determined by left and right bound.
Both like for \bendAfter.
Here the _left_ bound is the previous (NonMusical)PaperColumn, _right_
bound the NoteHead.
This causes 'minimum-length to be useless, to lengthen the bend-curve
move the NoteColumn of the target NoteHead.

%% DISCLAIMER
%% This is a very fast first sketch, don't use it for serious work before
%% having tested it thoroughly

%% c/p from output-lib.scm and modified
#(define-public (bend::print-harm spanner)
  (define (close  a b)
(< (abs (- a b)) 0.01))

  (let* ((lb (ly:spanner-bound spanner LEFT))
 (left-col (ly:item-get-column lb))
 (left-neighbor (ly:grob-object left-col 'left-neighbor)))
(ly:spanner-set-bound! spanner LEFT left-neighbor)
(ly:spanner-set-bound! spanner RIGHT lb)

(let* ((delta-y (* 0.5 (ly:grob-property spanner 'delta-position)))
   (left-span left-neighbor)
   (right-span lb)
   (thickness (* (ly:grob-property spanner 'thickness)
 (ly:output-def-lookup (ly:grob-layout spanner)
   'line-thickness)))
   (padding (ly:grob-property spanner 'padding 0.5))
   (common
 (ly:grob-common-refpoint
   right-span
   (ly:grob-common-refpoint spanner left-span X)
   X))
   (common-y (ly:grob-common-refpoint spanner left-span Y))
   (minimum-length (ly:grob-property spanner 'minimum-length 0.5))
   (left-x
 (+ padding
(interval-end
  (ly:generic-bound-extent left-span common
   (acc (ly:grob-object right-span 'accidental-grob))
   (right-x
 (max (- (interval-start
   (if (ly:grob? acc)
   (ly:generic-bound-extent acc common)
   (ly:generic-bound-extent right-span common)))
 padding)
  (+ left-x minimum-length)))
   (self-x (ly:grob-relative-coordinate spanner common X))
   (dx (- right-x left-x))
   (exp (list 'path thickness
  `(rmoveto
,(- left-x self-x) ,(- delta-y)
rcurveto
,(/ dx 3) 0
,dx ,(* 0.66 delta-y)
,dx ,delta-y

  (ly:make-stencil
   exp
   (cons (- left-x self-x) (- right-x self-x))
   (ordered-cons 0 (- delta-y))

bendBefore =
  -\tweak stencil #bend::print-harm
  -\bendAfter \etc


%% EXAMPLES


%% DISADVANTAGE
%% Using minimum-length will lead to undesired results
%% Instead, move the NoteColumn


\relative c'' {
  \omit Staff.TimeSignature
  \key cis \major
  \override Score.SpacingSpanner.shortest-duration-space = #4.0
  %\override BendAfter.padding = 1
  cis2-\bendBefore #5
  c2-\bendBefore #4
  |
  %\break
  \once \override NoteColumn.X-offset = 3
  ees2-\bendBefore #-4.75
  c2-\bendBefore #8.5
  |
  \once \override NoteColumn.X-offset = 3
  fis1-\bendBefore #-6
}

HTH a bit,
  Harm



bend before, increase disctance to accidental

2020-12-02 Thread Stefan Thomas
Dear community,
I found a  working code for a bend-before command. I would like to know,
how I could increase the distance between the bending-sign and the
accidental.
Thanks for your help.
Stefan
%% SNIPPPET %
  #(define (scp-stencil grob)
(ly:stencil-combine-at-edge
 (ly:note-head::print grob) 0 -1
 (grob-interpret-markup grob
  #{
 \markup
 \with-dimensions-from \null
 \path #0.2 #'((moveto -2 -1.8)(curveto -1.2 -1.8 -.5 -1.28 -.3
-.3))
   #} ) 0 ))

  scp = \once \override NoteHead.stencil = #scp-stencil

  {
\clef F
\key g\major
bes4 \scp a g fis
\repeat unfold 4 { r8 \scp gis' }
\repeat unfold 3 { \scp g'!4 }
\scp  g' fis'!
  }
  %%% END %%
(copied from
https://lists.gnu.org/archive/html/lilypond-user/2020-06/msg0.html )


Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-23 Thread Federico Bruni

Dear Andrew

You are welcome to put it for OLL.
I won't do it. And I won't reply to related questions on Github tracker.
Lack of time and interest.



Il giorno mer 23 set 2020 alle 11:20, Andrew Bernard 
 ha scritto:
Re OLL, why not, actually? Putting into OLL is a simple matter of 
creating a directory and placing the unmodified code in a file names 
module.ily. It's nice to provide an example file to go along with it 
as well. That's very little 'adaptation'.


Urs and I are trying to promote OLL by explaining how easy it is to 
use, and how useful. Fragmenting there world into core, LSR, OLL, GIT 
of various flavors make it harder for the poor end user I would say. 
That's four sources for code for end users all with different usages. 
I am not fond of fragmentation. I cannot imagine Harm would object to 
being in OLL. The pedal code I worked on with him is there already, 
and he has never objected.


Happy to help putting it in OLL. It may not happen for a decade, or 
it may never happen, but as far as getting new things into core, I 
would like to think that OLL modules are a prime candidate, not 
isolated git repos here and there.


If it works great and people are using, then it's perfectly suitable 
for OLL.


Andrew


On 23/09/2020 7:51 am, Federico Bruni wrote:



I'm against the idea of putting it in OLL.
As it's still a work in progress, Harm so far worked on his own 
files (no git) and post them on the mailing list. The snippets on 
OLL should follow some guidelines and I'm not willing to adapt 
Harm's code to OLL in first place (or if/when a new version is 
available).


But the code, even if not perfect, is working great already and some 
people are using it. That's why I think it should be hosted on 
gitlab.

I will open a thread on lilypond-devel.












Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-22 Thread Andrew Bernard
Re OLL, why not, actually? Putting into OLL is a simple matter of 
creating a directory and placing the unmodified code in a file names 
module.ily. It's nice to provide an example file to go along with it as 
well. That's very little 'adaptation'.


Urs and I are trying to promote OLL by explaining how easy it is to use, 
and how useful. Fragmenting there world into core, LSR, OLL, GIT of 
various flavors make it harder for the poor end user I would say. That's 
four sources for code for end users all with different usages. I am not 
fond of fragmentation. I cannot imagine Harm would object to being in 
OLL. The pedal code I worked on with him is there already, and he has 
never objected.


Happy to help putting it in OLL. It may not happen for a decade, or it 
may never happen, but as far as getting new things into core, I would 
like to think that OLL modules are a prime candidate, not isolated git 
repos here and there.


If it works great and people are using, then it's perfectly suitable for 
OLL.


Andrew


On 23/09/2020 7:51 am, Federico Bruni wrote:



I'm against the idea of putting it in OLL.
As it's still a work in progress, Harm so far worked on his own files 
(no git) and post them on the mailing list. The snippets on OLL should 
follow some guidelines and I'm not willing to adapt Harm's code to OLL 
in first place (or if/when a new version is available).


But the code, even if not perfect, is working great already and some 
people are using it. That's why I think it should be hosted on gitlab.

I will open a thread on lilypond-devel.








Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-22 Thread Federico Bruni




Il giorno dom 20 set 2020 alle 12:33, Jonas Hahnfeld  
ha scritto:

Am Donnerstag, den 17.09.2020, 12:27 +0200 schrieb Federico Bruni:

 Il giorno gio 17 set 2020 alle 11:11, Thomas Morley
  ha scritto:
 > the bend-engraver-thingies are not part of core LilyPond.
 > Please post at least the link where you got it, otherwise you'll 
not

 > get a lot of help ...

 Harm, the code is currently hosted on pagure.io:
 https://pagure.io/lilypond-bend-spanner

 We may move it to gitlab.com, where I'm sure you have an account (to
 contribute to LilyPond).
 Can we put it under LilyPond group? What do you think?

 Jonas, lilypond-bend-spanner is a work in progress by Harm, not 
ready

 yet for inclusion in LilyPond core.
 I think it deserves some more visibility and should be included in a
 proper subproject on Gitlab.


Not making a decision here, but it looks like you're the only author
(not Harm) and the last commit is from three years ago. Isn't this
something that fits more into openLilyLib?



I'm just the maintainer of the repository. The author of the code is 
Harm.
I think I'll edit the author of some commits in order to avoid 
confusion.


An older and limited version of the bend spanner is in openLilyLib. 
Actually this thread was started from a person who was using this old 
code and opened an issue in the tracker:

https://github.com/openlilylib/snippets/issues/175
https://github.com/openlilylib/snippets/tree/master/notation-snippets/guitar-string-bending

I'm against the idea of putting it in OLL.
As it's still a work in progress, Harm so far worked on his own files 
(no git) and post them on the mailing list. The snippets on OLL should 
follow some guidelines and I'm not willing to adapt Harm's code to OLL 
in first place (or if/when a new version is available).


But the code, even if not perfect, is working great already and some 
people are using it. That's why I think it should be hosted on gitlab.

I will open a thread on lilypond-devel.






Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-20 Thread Thomas Morley
Am Do., 17. Sept. 2020 um 12:27 Uhr schrieb Federico Bruni :
>
> Il giorno gio 17 set 2020 alle 11:11, Thomas Morley
>  ha scritto:
> > the bend-engraver-thingies are not part of core LilyPond.
> > Please post at least the link where you got it, otherwise you'll not
> > get a lot of help ...
>
> Harm, the code is currently hosted on pagure.io:
> https://pagure.io/lilypond-bend-spanner

Yep, I know. Though, others probably not ...

> We may move it to gitlab.com, where I'm sure you have an account (to
> contribute to LilyPond).
> Can we put it under LilyPond group? What do you think?
>
>
> Jonas, lilypond-bend-spanner is a work in progress by Harm, not ready
> yet for inclusion in LilyPond core.
> I think it deserves some more visibility and should be included in a
> proper subproject on Gitlab.

Well, I always planned to revise the code and amend it with settings
for Voice-context.
Though, I always get distracted and right now I have again very little time...

Thus, I'm fine with whatever place it is hosted publically.
But again, it's not mature to be put into lilypond proper.

Best,
  Harm



Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-20 Thread Jonas Hahnfeld
Am Donnerstag, den 17.09.2020, 12:27 +0200 schrieb Federico Bruni:
> Il giorno gio 17 set 2020 alle 11:11, Thomas Morley 
>  ha scritto:
> > the bend-engraver-thingies are not part of core LilyPond.
> > Please post at least the link where you got it, otherwise you'll not
> > get a lot of help ...
> 
> Harm, the code is currently hosted on pagure.io:
> https://pagure.io/lilypond-bend-spanner
> 
> We may move it to gitlab.com, where I'm sure you have an account (to 
> contribute to LilyPond).
> Can we put it under LilyPond group? What do you think?
> 
> Jonas, lilypond-bend-spanner is a work in progress by Harm, not ready 
> yet for inclusion in LilyPond core.
> I think it deserves some more visibility and should be included in a 
> proper subproject on Gitlab.

Not making a decision here, but it looks like you're the only author
(not Harm) and the last commit is from three years ago. Isn't this
something that fits more into openLilyLib?

Jonas


signature.asc
Description: This is a digitally signed message part


Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-17 Thread Federico Bruni
Il giorno gio 17 set 2020 alle 11:11, Thomas Morley 
 ha scritto:

the bend-engraver-thingies are not part of core LilyPond.
Please post at least the link where you got it, otherwise you'll not
get a lot of help ...


Harm, the code is currently hosted on pagure.io:
https://pagure.io/lilypond-bend-spanner

We may move it to gitlab.com, where I'm sure you have an account (to 
contribute to LilyPond).

Can we put it under LilyPond group? What do you think?


Jonas, lilypond-bend-spanner is a work in progress by Harm, not ready 
yet for inclusion in LilyPond core.
I think it deserves some more visibility and should be included in a 
proper subproject on Gitlab.







Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-17 Thread Aaron Hill

I know a lot of programming languages, but lisp dialects are not in my
collection. Is there a simple function that could shorten this for me?
Something like:

addQuarterBend =
#(define-event-function (mus)(ly:music?)
#{
\afterGrace $mus \startBend {\once \hideNotes \transpose c cih
$mus \stopBend  \once \hideNotes $mus}
#}
)

Something like this would allow me to type \addQuarterBend c’8 to just
decorate that note with a bend.


This seems connected to the question posted on Reddit [1] I answered.

[1]: https://www.reddit.com/r/lilypond/comments/iu06jp/


-- Aaron Hill



Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-17 Thread Thomas Morley
Am Mo., 14. Sept. 2020 um 13:39 Uhr schrieb Kevin Nowaczyk
:
>
> Andrew,
> Here is a link to the output that is currently being produced.
>
> https://imgur.com/gallery/hJtl1eG
>
> The first three bends are what I want, but I cannot make the final one look 
> the same. This is because I am bending to a grace note on the note that 
> follows the note I want decorated. For this incorrect note, the grace would 
> be in the following measure, so I have to use \afterGrace To keep everything 
> together. However, as you can see, Lilypond renders two of these notes when 
> the bend is used. I have not figured out how to hide these \afterGrace notes.
>
> Kevin

Hi Kevin,

the bend-engraver-thingies are not part of core LilyPond.
Please post at least the link where you got it, otherwise you'll not
get a lot of help ...

That said, using the bending-code on my machine, with

mus = {
  \afterGrace c''1\startBend { \once \hideNotes cih''16\stopBend }
}

<<
  \new Staff \mus
  \new TabStaff \mus
>>

renders properly.

Thus please post a minimal compiling code-example, only demonstrating
the problem.

Cheers,
  Harm



Re: Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-13 Thread Andrew Bernard
Can you post an image of the desired result? I suspect there is a better 
way to do this, but I need to see. A pencil sketch will do.


Andrew


On 14/09/2020 12:07 pm, Kevin Nowaczyk wrote:
I am creating a guitar tablature which includes some 1/4 bends. 
Typical guitar tabs do not display the microtone note, instead 
displaying the up arrow more as a decoration on the starting pitch. I 
am able to produce this effect with the following:




Unable to attach a bend to an \afterGrace note with the bend spanner

2020-09-13 Thread Kevin Nowaczyk
I am creating a guitar tablature which includes some 1/4 bends. Typical guitar 
tabs do not display the microtone note, instead displaying the up arrow more as 
a decoration on the starting pitch. I am able to produce this effect with the 
following:
hideAccidental = {  \once \override Accidental #'stencil = ##f}
c''8.\startBend \once \hideNotes \grace cih''\stopBenda'\hideAccidental 
c''\startBend \once \hideNotes \grace cih''\stopBend
Since grace notes do not occupy any time in the score, I can set the full time 
of the note, bed it to a grave note, and hide that note.
Unfortunately; there is a problem if I need to bend the final note of a 
measure. I was hoping I could use this:
\hideAccidental \afterGrace c''\startBend cih''16\stopBend
The after grace note is actually displayed twice, and I am unable to figure out 
how to hide it. Is this a bug? Any advice on how to achieve my desired effect?
Kevin
Sent from Yahoo Mail for iPhone


Re: Bend before

2020-03-26 Thread David Kastrup
Carl Sorensen  writes:

> From: Mogens Lemvig Hansen 
> Date: Thursday, March 26, 2020 at 1:40 PM
> To: Lilypond User 
> Subject: Bend before
>
> Hi,
>
> The bendBefore code at
> http://lilypond.1069038.n5.nabble.com/bends-before-notes-how-to-td22214.html
> does not work for me (version 2.20.0).
>
>
>
> error: GUILE signaled an error for the expression beginning here
>
> \bend #
> $argument
>
> Does anyone have a solution?
>
> Have you run it through convert-ly?  That would be the first thing I would 
> try.

The thread is from July 2007, suggesting version 2.11.28 or earlier.  A
lot changed since then.

Running the snippet through

convert-ly -ed -f 2.11.28

should help.

-- 
David Kastrup



Re: Bend before

2020-03-26 Thread Carl Sorensen


From: Mogens Lemvig Hansen 
Date: Thursday, March 26, 2020 at 1:40 PM
To: Lilypond User 
Subject: Bend before

Hi,

The bendBefore code at
http://lilypond.1069038.n5.nabble.com/bends-before-notes-how-to-td22214.html
does not work for me (version 2.20.0).



error: GUILE signaled an error for the expression beginning here

\bend #
$argument

Does anyone have a solution?

Have you run it through convert-ly?  That would be the first thing I would try.

HTH,

Carl



AW: Bend before

2020-03-26 Thread sir.teddy.the.first
%%%

 

\version "2.20.0"

 

#(define (make-bend x) 

   (make-music 'BendAfterEvent 'delta-step x))

 

bend =#(define-music-function 

(delta) 

(integer?)

(make-bend (* -1 delta)))

 

bendBefore  = #(define-music-function

(argument) 

(integer?)

  #{ 

\once \override BendAfter.rotation = #'(-180 -1 -1)

    \bend $argument  

  #} 

)   

 

{

  c'1\bendAfter #4 e'1 d' \bendBefore #5 e'

}

 

%%%

 

This fixes the GUILE-Error by removing the extra “#” before “$argument”, but 
now I get this error:

 

warning: Unattached BendAfterEvent

c'1\bendAfter #4 e'1 d' 

\bendBefore #5 e'

 

It is probably looking for a note to attach the “bend” to, but I do not know 
lilypond and scheme well enough to be able to fix it.

 

One temporary solution would be to use a \bendAfter command and just manually 
tweak the rotation via “\once \override BendAfter.rotation = #'(Rotation X Y)”.

 

Von: lilypond-user 
 Im Auftrag von 
Mogens Lemvig Hansen
Gesendet: Donnerstag, 26. März 2020 20:40
An: Lilypond User 
Betreff: Bend before

 

Hi,

 

The bendBefore code at

 <http://lilypond.1069038.n5.nabble.com/bends-before-notes-how-to-td22214.html> 
http://lilypond.1069038.n5.nabble.com/bends-before-notes-how-to-td22214.html

does not work for me (version 2.20.0).  

 

error: GUILE signaled an error for the expression beginning here

\bend #

$argument

 

Does anyone have a solution?

 

Regards,

Mogens

 

 

 



Bend before

2020-03-26 Thread Mogens Lemvig Hansen
Hi,

The bendBefore code at
http://lilypond.1069038.n5.nabble.com/bends-before-notes-how-to-td22214.html
does not work for me (version 2.20.0).  

error: GUILE signaled an error for the expression beginning here
\bend #
$argument

Does anyone have a solution?

Regards,
Mogens





Re: Pitch bend output in MIDI

2016-11-21 Thread mclaren
This Lilypond code might help. I write microtonal music all the time, so I've
paid close attention to the features of Lilypond that allow pitch bend to
create alternate pitches outside of 12 equal tuning:

http://lilypond.1069038.n5.nabble.com/Microtonal-Helmholtz-Ellis-notation-in-Lilypond-fine-tuning-td51110.html

The poster does mention that he had to use a different font than the
standard Lilypond notational font, and apparently that requires a recompile
of Lilypond.  Unfortunately the font this guy used was hosted at a server at
CalArts that no longer exists.  However, he uses a music function
\accidental that expects a markup and then sends a pitch-bend along with the
note. You could probably just use the built-in makam microtonal accidentals
for the markup part, redefining the meaning of the makam accidentals. For
example, there's no reason why you couldn't use makam accidentals to
represents pitches of the 19 equal tuning, or the 22 equal tuning, or pelog,
or slendro, or some just intonation tuning. The makam accidentals do give
you 21 pitches to the octave -- natural plus semisharps and semiflats. If
you redefine the conventional sharp and flat symbols, you get 35 pitches to
the octave.

This Lilypond snippet does something similar but does not apparently require
additional fonts:
http://lsr.di.unimi.it/LSR/Item?id=786

Using pitch-bends to get microtonal pitches in Lilypond is not ideal,
because Lilypond resets the pitch-bend at the end of each note, while the
decay is still sounding. This produces some ugly-sounding results. 

See here:
http://x31eq.com/lilypond/

So unfortunately the best way to get alternative tunings is still to use a
microtunable synthesizer and then a score that represents the notes as the
MIDI notes played, not the pitches heard. That's obviously a bad idea for an
analysis score. 

This GitHub package by Graham Breed adds microtonal support for Lilypond via
the Saggital or Extended Helmholtz-Ellis notation. The GitHub repository
docs include a working link to the Helmholtz-Ellis font (it may be same one
mentioned in the CalArts dead link above). 

https://github.com/lyp-packages/microlily

Breed knows his stuff, so this one will probably work best for you. 





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Pitch-bend-output-in-MIDI-tp196950p196980.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Pitch bend output in MIDI

2016-11-21 Thread Urs Liska
Hi,

I want to use Pitch Bend to detune the output in MIDI files. The NR
states that pitch bend is supported but doesn't give any information how
it is applied.

Apart from that I've only found this LSR snippet
http://lsr.di.unimi.it/LSR/Snippet?id=785 but I must admit I don't
really understand where and how the pitch bend is actually produced.

What I need is to apply it within a music function that returns a note,
and this should apply the detuning.

Any hints appreciated.

Urs


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re:bending and line breaks [WAS:Re: Guitar bend error]

2016-06-21 Thread Stephen MacNeil
HI Federico

I looked through some scores and I would say about 90% had them. The ones
that didn't, it was do to the fact that such an occurrence in a score/song
is rare and even more so that it may be at that particular part of the
score. So the ones I didn't find it in I assume it's because it wasn't
needed.

here are some examples

Note:
There are different ways to indicate bends yet all the various methods will
do a bend on a line break. So I am not only showing one method here..


anyway

http://mglessons.com/bend/Guns_N_Roses_-_Use_Your_Illusion_II_pages_16-16.pdf
http://mglessons.com/bend/Iron_Maiden_-_Fear_Of_The_Dark_pages_9-9.pdf
http://mglessons.com/bend/Jimi_Hendrix_-_Are_you_experienced_pages_15-15.pdf
http://mglessons.com/bend/Jimi_Hendrix_-_Axis_Bold_As_Love_pages_104-104.pdf
http://mglessons.com/bend/Led_Zeppelin_-_Led_Zeppelin_I_pages_38-38.pdf
http://mglessons.com/bend/Metallica_-_Black_Album_pages_39-39.pdf
http://mglessons.com/bend/Police_The_Best_Of_pages_22-22.pdf
http://mglessons.com/bend/Smashing_Pumpkins_-_Mellon_collie_and_the_infinite_sadness_pages_26-26.pdf
http://mglessons.com/bend/The_Beatles_-_Complete_Scores_pages_171-171.pdf
http://mglessons.com/bend/Van_Halen_-_1984_pages_52-52.pdf
http://mglessons.com/bend/Van_Halen_-_1984_pages_61-61.pdf
http://mglessons.com/bend/Van_Halen_-_Van_Halen_II_pages_4-4.pdf

HTH
Stephen
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re:bending and line breaks [WAS:Re: Guitar bend error]

2016-06-21 Thread Federico Bruni
Il giorno mar 21 giu 2016 alle 4:12, Stephen MacNeil 
 ha scritto:

Hi Federico

After teaching guitar for 20 years I will say it does happen, 
although very rarely as it makes it hard to read. I avoid it at all 
costs in my own typesetting. I grabbed a couple books from my studio 
library and the second book I looked at had it on pg 22 so, ya it 
happens.


Hi Stephen

Can you take a picture of that page and upload it somewhere?
This may be the proper place:
https://sourceforge.net/p/testlilyissues/issues/1196/

In David Stocker's analysis I cannot find anything related to bends and 
line breaks.


Thanks
Federico


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re:bending and line breaks [WAS:Re: Guitar bend error]

2016-06-20 Thread Stephen MacNeil
Hi Federico

After teaching guitar for 20 years I will say it does happen, although very
rarely as it makes it hard to read. I avoid it at all costs in my own
typesetting. I grabbed a couple books from my studio library and the second
book I looked at had it on pg 22 so, ya it happens.

HTH
Stephen
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


bending and line breaks [WAS:Re: Guitar bend error]

2016-06-20 Thread Federico Bruni
Il giorno lun 20 giu 2016 alle 8:58, Federico Bruni 
<f...@inventati.org> ha scritto:

But it's more a
TODO:
  - How should this feature behave at line-break?
  - Until this is cleared disable line-breaks sufficiently.


I've browsed my tablature books but could not find a bend over a line 
break.
I've searched in the Eric Clapton "Unplugged" book (which was used as 
a reference when bend.ly was discussed) and could not find it. I 
would guess that other software try to avoid such a situation? (even 
though I think that this situation should be managed and not avoided)


The closest example I found (in another book) is actually a 
bend-tie-release (see file attached). So not a good example.


Blocked because too big. I've uploaded it here:
https://postimg.org/image/adoxhwk75/



Anyway, I would expect it to behave similarly to ties:

In the last measure of the system, where the bending starts, we 
should see the curved line ending with an arrow but without the steps 
(1/4, 1/2, 1, etc.) of the bending.
In the next measure after line break we should see the curved line 
continuing until it reaches the pitch; the bending "step" should be 
printed there.


I don't know how other software behaves.
I think I'll try MuseScore as soon as I can. It seems like it 
supports bending:

https://musescore.org/en/handbook/bends


I'm trying MuseScore... but I'm not motivated to try to understand a 
software I'll never use.
After a few tests I can only say that it's not a good reference at the 
moment.



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend error

2016-04-25 Thread Thomas Morley
2016-04-25 0:18 GMT+02:00 Federico Bruni <f...@inventati.org>:
> On Sun, Apr 24, 2016 at 11:38:31PM +0200, Thomas Morley wrote:
>> 2016-04-24 17:13 GMT+02:00 Stephen MacNeil <classicalja...@gmail.com>:
>> >
>> > It was written by Marc Hohl I just adapted it to have no tab since I don't
>> > use tab
>> >
>> >
>> > see
>> >
>> > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending
>> >
>
> For the records, this is the new home:
> https://github.com/openlilylib/snippets/tree/master/ly/tablature
>
> (the file is the same as in the old one, but future updates will be
> pushed to the new location.. unless Urs wants to keep the old
> in sync)
>
>> > Line breaks over bending notes are not supported and they are currently
>> > disabled, because otherwise the file would not compile as soon as page
>> > formatting decisions create such a situation.
>>
>>
>>
>> Manual inserting \noBreak or \break will probably not enough, without
>> \layout { \autoLineBreaksOff }
>>
>> Opposed to what is claimed in the quote from openlilylib above,
>> disabling line-breaks do not work sufficiently.
>
> I can add this to the README on github.

Please do.

But it's more a
TODO:
  - How should this feature behave at line-break?
  - Until this is cleared disable line-breaks sufficiently.

Thanks,
  Harm

>
>> See the out put from:
>> \include "definitions.ily"
>>
>> \displayLilyMusic
>> \relative c'' {
>> \bendOn
>> c1( d)
>> c1( d)
>> }
>>
>> It returns in terminal:
>>
>> { { \override Voice.Slur.stencil = #slur::draw-pointed-slur
>> \override TabVoice.Slur.stencil = #slur::draw-bend-arrow
>> c''1( \noBreak } d''1) c''1( d''1) }
>>
>> The overrides last until the end, but the \noBreak occurs only once!!
>>
>
> True. Better to avoid these (likely) errors and use manual breaks.
> Minimal example reworked in the new openlilylib style:
>
> \version "2.19.40"
> \include "openlilylib"
>
> \useLibrary Tablature
> % Workaround for issue #136 at
> % https://github.com/openlilylib/snippets/issues/136
> #(display "")
> \useModule tablature.bending
>
> % Hack needed until issue #136 is fixed:
> % https://github.com/openlilylib/openlilylib/issues/136
> #(ly:message "loaded")
>
>
> music = \relative c'' {
>   \displayLilyMusic
>   \bendOn
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
> }
>
> \new StaffGroup <<
>   \new Voice \music
>   \new TabVoice \music
>>>
> % comment this line and it won't compile
> \layout { \autoLineBreaksOff }

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend error

2016-04-25 Thread Stephen MacNeil
>I’ll see if I can get the openlilylib files to work first.

they should be the same file, unless the openlilylib has been updated. I
never modified the file I think

>how come the graceBend slurs are always facing down in the output when it
says “up” in the definitions file?

do you mean pointing down? probalbly to show it goes from a higher note to
a lower. Not sure I don't use tab so i could be wrong. are you referring to

\once \override Voice.Slur.direction = #UP

that puts the slur/bend mark above

>I need bend slurs without the TabStaff. Thanks for that, Stephen!

no problem, since i don't use tab i figured others could use it as well.
glad it's useful.

HTH
Stephen
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend error

2016-04-24 Thread Devon LePage
Thanks to everyone who responded! I appreciate it.

I think I might have some followup questions - like, how come the graceBend
slurs are always facing down in the output when it says “up” in the
definitions file? - but I’ll see if I can get the openlilylib files to work
first.

Although I want this score to have a TabStaff, the main reason I was using
Stephen MacNeil’s code library is because in general I need bend slurs
without the TabStaff. Thanks for that, Stephen!

-Devon.

On Sun, Apr 24, 2016 at 3:18 PM Federico Bruni <f...@inventati.org> wrote:

> On Sun, Apr 24, 2016 at 11:38:31PM +0200, Thomas Morley wrote:
> > 2016-04-24 17:13 GMT+02:00 Stephen MacNeil <classicalja...@gmail.com>:
> > >
> > > It was written by Marc Hohl I just adapted it to have no tab since I
> don't
> > > use tab
> > >
> > >
> > > see
> > >
> > >
> https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending
> > >
>
> For the records, this is the new home:
> https://github.com/openlilylib/snippets/tree/master/ly/tablature
>
> (the file is the same as in the old one, but future updates will be
> pushed to the new location.. unless Urs wants to keep the old
> in sync)
>
> > > Line breaks over bending notes are not supported and they are currently
> > > disabled, because otherwise the file would not compile as soon as page
> > > formatting decisions create such a situation.
> >
> >
> >
> > Manual inserting \noBreak or \break will probably not enough, without
> > \layout { \autoLineBreaksOff }
> >
> > Opposed to what is claimed in the quote from openlilylib above,
> > disabling line-breaks do not work sufficiently.
>
> I can add this to the README on github.
>
> > See the out put from:
> > \include "definitions.ily"
> >
> > \displayLilyMusic
> > \relative c'' {
> > \bendOn
> > c1( d)
> > c1( d)
> > }
> >
> > It returns in terminal:
> >
> > { { \override Voice.Slur.stencil = #slur::draw-pointed-slur
> > \override TabVoice.Slur.stencil = #slur::draw-bend-arrow
> > c''1( \noBreak } d''1) c''1( d''1) }
> >
> > The overrides last until the end, but the \noBreak occurs only once!!
> >
>
> True. Better to avoid these (likely) errors and use manual breaks.
> Minimal example reworked in the new openlilylib style:
>
> \version "2.19.40"
> \include "openlilylib"
>
> \useLibrary Tablature
> % Workaround for issue #136 at
> % https://github.com/openlilylib/snippets/issues/136
> #(display "")
> \useModule tablature.bending
>
> % Hack needed until issue #136 is fixed:
> % https://github.com/openlilylib/openlilylib/issues/136
> #(ly:message "loaded")
>
>
> music = \relative c'' {
>   \displayLilyMusic
>   \bendOn
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
>   c1( d)
> }
>
> \new StaffGroup <<
>   \new Voice \music
>   \new TabVoice \music
> >>
> % comment this line and it won't compile
> \layout { \autoLineBreaksOff }
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend error

2016-04-24 Thread Federico Bruni
On Sun, Apr 24, 2016 at 11:38:31PM +0200, Thomas Morley wrote:
> 2016-04-24 17:13 GMT+02:00 Stephen MacNeil <classicalja...@gmail.com>:
> >
> > It was written by Marc Hohl I just adapted it to have no tab since I don't
> > use tab
> >
> >
> > see
> >
> > https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending
> >

For the records, this is the new home:
https://github.com/openlilylib/snippets/tree/master/ly/tablature

(the file is the same as in the old one, but future updates will be
pushed to the new location.. unless Urs wants to keep the old
in sync)

> > Line breaks over bending notes are not supported and they are currently
> > disabled, because otherwise the file would not compile as soon as page
> > formatting decisions create such a situation.
> 
> 
> 
> Manual inserting \noBreak or \break will probably not enough, without
> \layout { \autoLineBreaksOff }
> 
> Opposed to what is claimed in the quote from openlilylib above,
> disabling line-breaks do not work sufficiently.

I can add this to the README on github.

> See the out put from:
> \include "definitions.ily"
> 
> \displayLilyMusic
> \relative c'' {
> \bendOn
> c1( d)
> c1( d)
> }
> 
> It returns in terminal:
> 
> { { \override Voice.Slur.stencil = #slur::draw-pointed-slur
> \override TabVoice.Slur.stencil = #slur::draw-bend-arrow
> c''1( \noBreak } d''1) c''1( d''1) }
> 
> The overrides last until the end, but the \noBreak occurs only once!!
> 

True. Better to avoid these (likely) errors and use manual breaks.
Minimal example reworked in the new openlilylib style:

\version "2.19.40"
\include "openlilylib"

\useLibrary Tablature
% Workaround for issue #136 at
% https://github.com/openlilylib/snippets/issues/136
#(display "")
\useModule tablature.bending

% Hack needed until issue #136 is fixed:
% https://github.com/openlilylib/openlilylib/issues/136
#(ly:message "loaded")


music = \relative c'' {
  \displayLilyMusic
  \bendOn
  c1( d)
  c1( d)
  c1( d)
  c1( d)
  c1( d)
  c1( d)
  c1( d)
  c1( d)
  c1( d)
  c1( d)
  c1( d)
  c1( d)
}

\new StaffGroup <<
  \new Voice \music
  \new TabVoice \music
>>
% comment this line and it won't compile
\layout { \autoLineBreaksOff }

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend error

2016-04-24 Thread Thomas Morley
2016-04-24 17:13 GMT+02:00 Stephen MacNeil <classicalja...@gmail.com>:
> Add a line break before bar 25
>
> r4 r8 e' g2 | \break  % gradual bend on g2 towards a |
>
> % BAR 25
>
> \bendGrace g8( a2) g2( | % gradual bend on g2 towards a |
>
> \bendGrace g8 a4 g8) e g2( | % gradual bend on g2 towards a |
>
>
>
> HTH
> Stephen
>
> It was written by Marc Hohl I just adapted it to have no tab since I don't
> use tab
>
>
> see
>
> https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending
>
> Line breaks over bending notes are not supported and they are currently
> disabled, because otherwise the file would not compile as soon as page
> formatting decisions create such a situation.



Manual inserting \noBreak or \break will probably not enough, without
\layout { \autoLineBreaksOff }

Opposed to what is claimed in the quote from openlilylib above,
disabling line-breaks do not work sufficiently.
See the out put from:
\include "definitions.ily"

\displayLilyMusic
\relative c'' {
\bendOn
c1( d)
c1( d)
}

It returns in terminal:

{ { \override Voice.Slur.stencil = #slur::draw-pointed-slur
\override TabVoice.Slur.stencil = #slur::draw-bend-arrow
c''1( \noBreak } d''1) c''1( d''1) }

The overrides last until the end, but the \noBreak occurs only once!!

Cheers,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend error

2016-04-24 Thread Anthonys Lists

On 24/04/2016 16:13, Stephen MacNeil wrote:

Add a line break before bar 25

r4 r8 e' g2 | \break  % gradual bend on g2 towards a |

% BAR 25

\bendGrace g8( a2) g2( | % gradual bend on g2 towards a |

\bendGrace g8 a4 g8) e g2( | % gradual bend on g2 towards a |



Or, if it's a longer piece and you want lily to choose the line breaks 
to look nice, you could put a \noBreak after bars 25 and 25?


r4 r8 e' g2 | % gradual bend on g2 towards a |

% BAR 25

\bendGrace g8( a2) g2( \noBreak | % gradual bend on g2 towards a |

\bendGrace g8 a4 g8) e g2( \noBreak | % gradual bend on g2 towards a |


(not tested, but that was my immediate reaction on reading this thread - 
disallow breaks where they're going to cause a problem)


Cheers,
Wol

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend error

2016-04-24 Thread Stephen MacNeil
>The code Stephan hosts is a nightmare, because all indentation has
>gone.

This is true :) but I actually read it better... not sure why. and not
being able to type fast it just works for me

cheers

Stephen
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Guitar bend error

2016-04-24 Thread Stephen MacNeil
Add a line break before bar 25

r4 r8 e' g2 | \break  % gradual bend on g2 towards a |

% BAR 25

\bendGrace g8( a2) g2( | % gradual bend on g2 towards a |

\bendGrace g8 a4 g8) e g2( | % gradual bend on g2 towards a |



HTH
Stephen

It was written by Marc Hohl I just adapted it to have no tab since I don't
use tab


see

https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/guitar-string-bending

Line breaks over bending notes are not supported and they are currently
disabled, because otherwise the file would not compile as soon as page
formatting decisions create such a situation.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend error

2016-04-24 Thread Thomas Morley
2016-04-24 7:50 GMT+02:00 Devon LePage <devonlep...@gmail.com>:
> I’m transcribing a rock guitar solo, and to engrave the many string bends
> I’m using Stephen MacNeil’s LilyPond code library, available here:
>
> http://mglessons.com/lilypond/

The code Stephan hosts is a nightmare, because all indentation has
gone. For further testing I used my own version of the bend-files
which should be pretty much the same as hosted at openlilylib.

> If I use the “definitions_No-Tab.ly” file, LilyPond engraves the file with
> no hiccups. However, if I use the “definitions.ily” for notation and TAB, I
> get the following error:
>
> Drawing
> systems.../Users/devon/Downloads/lilypond-archive/guitar_functions/definitions.ily:180:14:
> In procedure ly:event-property in expression (ly:event-property (event-cause
> right-bound) (quote pitch)):
>
> /Users/devon/Downloads/lilypond-archive/guitar_functions/definitions.ily:180:14:
> Wrong type argument in position 1 (expecting Prob): #f
>
> Exited with return code 1.
>
>
> Learning Scheme is still on my to-do list, so I don’t quite understand
> what’s going on here. Frustratingly, I can’t seem to localize the error -
> I’ve tried compiling the file with different sections commented out, but the
> error isn’t consistently generated. A few times it happened at bar 13, but
> then it happened at bar 31, and then a few more times at places in between.
> It reliably compiles for the first 12 bars, but that’s it.
>
>
> I’ve put the LilyPond code in a Gist here:
>
>
> https://gist.github.com/devonlepage/624c66513538ad6b42de0f665857ade7
>
>
> This is the first third of the transcription. I’m hoping it will be enough
> that someone might be able to diagnose the problem. I’ve taken out all
> extraneous formatting code, which didn’t seem to effect the error.
>
>
> I’m using Frescobaldi 2.19 with LilyPond 2.19.40. It also happens in 2.18. I
> would prefer to use 2.19 so that I can use an alternative music font in the
> final document.
>
>
> I hope someone can help me figure out what’s going on.
>
>
> Thanks!
>
>
> -Devon LePage.

The problem is line-breaking. The bending-code doesn't support it.
Honestly, I've no clue how it should look at line-break.
To proof whether it's a line-break-issue include:

\paper { page-breaking = #ly:one-line-breaking }

You'll see the error vanished.

A minimal breaking example:

\include "definitions.ily"
\new TabVoice \relative c'' { \bendOn c1( \break d) }


Though, what to do?
Currently breaks are disabled at the end of \bendOn, which sometimes
is not enough.
It is likely possible to disallow line-breaks at all while \bendOn
works. But is surely not what you want, while applying \bendOn to a
larger piece of music.

Best I can think of is to disallow breaks at all, inserting them all manually.
For that you could use:

\layout { \autoLineBreaksOff }


HTH,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Guitar bend error

2016-04-23 Thread Devon LePage
I’m transcribing a rock guitar solo, and to engrave the many string bends
I’m using Stephen MacNeil’s LilyPond code library, available here:

http://mglessons.com/lilypond/

If I use the “definitions_No-Tab.ly” file, LilyPond engraves the file with
no hiccups. However, if I use the “definitions.ily” for notation and TAB, I
get the following error:

Drawing systems...
/Users/devon/Downloads/lilypond-archive/guitar_functions/definitions.ily:180:14
<0>: In procedure ly:event-property in expression (ly:event-property
(event-cause right-bound) (quote pitch)):

/Users/devon/Downloads/lilypond-archive/guitar_functions/definitions.ily:180:14
<1>: Wrong type argument in position 1 (expecting Prob): #f

Exited with return code 1.


Learning Scheme is still on my to-do list, so I don’t quite understand
what’s going on here. Frustratingly, I can’t seem to localize the error -
I’ve tried compiling the file with different sections commented out, but
the error isn’t consistently generated. A few times it happened at bar 13,
but then it happened at bar 31, and then a few more times at places in
between. It reliably compiles for the first 12 bars, but that’s it.


I’ve put the LilyPond code in a Gist here:


https://gist.github.com/devonlepage/624c66513538ad6b42de0f665857ade7


This is the first third of the transcription. I’m hoping it will be enough
that someone might be able to diagnose the problem. I’ve taken out all
extraneous formatting code, which didn’t seem to effect the error.


I’m using Frescobaldi 2.19 with LilyPond 2.19.40. It also happens in 2.18.
I would prefer to use 2.19 so that I can use an alternative music font in
the final document.


I hope someone can help me figure out what’s going on.


Thanks!


-Devon LePage.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: any suggestions how to typeset a lip slur bend in the middle of the note?

2015-07-29 Thread tisimst
Take a look at this snippet in the LSR:
http://lsr.di.unimi.it/LSR/Item?id=233

Change the code to override the Slur grob instead of the Hairpin grob.

- Abraham

On Wednesday, July 29, 2015, user3871075 [via Lilypond] 
ml-node+s1069038n179150...@n5.nabble.com wrote:

 Hi all,

 I'm transposing some Tenor Sax jazz music to Alto Sax and I've run across
 an articulation that my lilypond skills can't handle.  See below.  I think
 overriding the slur stencil might a reasonable approach but I have no idea
 how to write a function to do such a thing.  Any thoughts or help?  Thanks!

 -Russ



 ​

 ___
 lilypond-user mailing list
 [hidden email] http:///user/SendEmail.jtp?type=nodenode=179150i=0
 https://lists.gnu.org/mailman/listinfo/lilypond-user


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://lilypond.1069038.n5.nabble.com/any-suggestions-how-to-typeset-a-lip-slur-bend-in-the-middle-of-the-note-tp179150.html
  To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
 javascript:_e(%7B%7D,'cvml','ml-node%2bs1069038n...@n5.nabble.com');
 To unsubscribe from Lilypond, click here
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=2code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=
 .
 NAML
 http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/any-suggestions-how-to-typeset-a-lip-slur-bend-in-the-middle-of-the-note-tp179150p179151.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


any suggestions how to typeset a lip slur bend in the middle of the note?

2015-07-29 Thread user3871075
Hi all,

I'm transposing some Tenor Sax jazz music to Alto Sax and I've run across
an articulation that my lilypond skills can't handle.  See below.  I think
overriding the slur stencil might a reasonable approach but I have no idea
how to write a function to do such a thing.  Any thoughts or help?  Thanks!

-Russ



​
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar: Bend-release-bend

2015-04-24 Thread Shirish Kulhari
Yes, that's precisely what I was looking for! Thanks a lot man!

On Sat, Apr 25, 2015 at 6:10 AM, Shirish Kulhari kulhari.shir...@gmail.com
wrote:

 Yes, that's precisely what I was looking for! Thanks a lot man!

 On Sat, Apr 25, 2015 at 3:50 AM, Stephen MacNeil classicalja...@gmail.com
  wrote:

 like this ?

  \bendOn

 \bendGrace e8(f8)(e8) (g4~)g2 |

 \bendOff

 \bendOn

 e8 (f)(e)(g~) g2

 \bendOff

 if not have an example?

 %% cut


 \version 2.18.2

 \include definitions.ily

 \paper {

 indent = 0

 }

 \layout {

 \context {

 \Staff

 \override StringNumber #'stencil = ##f

 \override VerticalAxisGroup #'default-staff-staff-spacing =

 #'((basic-distance . 15)

 (minimum-distance . 15)

 (padding . 1))

 }

 }


 gtr = \relative c''{

 \bendOn

 \bendGrace e8(f8)(e8) (g4~)g2 |

 \bendOff

 \bendOn

 e8 (f)(e)(g~) g2

 \bendOff

 }

 \score {

 

 \new Staff {

 \new Voice {

 \clef G_8

 \gtr

 }

 }

 \new TabStaff {

 \new TabVoice {

 \clef tab

 \gtr

 }

 }

 

 }





___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar: Bend-release-bend

2015-04-24 Thread Stephen MacNeil
no problem

Stephen

On Fri, Apr 24, 2015 at 8:41 PM, Shirish Kulhari kulhari.shir...@gmail.com
wrote:

 Yes, that's precisely what I was looking for! Thanks a lot man!

 On Sat, Apr 25, 2015 at 6:10 AM, Shirish Kulhari 
 kulhari.shir...@gmail.com wrote:

 Yes, that's precisely what I was looking for! Thanks a lot man!

 On Sat, Apr 25, 2015 at 3:50 AM, Stephen MacNeil 
 classicalja...@gmail.com wrote:

 like this ?

  \bendOn

 \bendGrace e8(f8)(e8) (g4~)g2 |

 \bendOff

 \bendOn

 e8 (f)(e)(g~) g2

 \bendOff

 if not have an example?

 %% cut


 \version 2.18.2

 \include definitions.ily

 \paper {

 indent = 0

 }

 \layout {

 \context {

 \Staff

 \override StringNumber #'stencil = ##f

 \override VerticalAxisGroup #'default-staff-staff-spacing =

 #'((basic-distance . 15)

 (minimum-distance . 15)

 (padding . 1))

 }

 }


 gtr = \relative c''{

 \bendOn

 \bendGrace e8(f8)(e8) (g4~)g2 |

 \bendOff

 \bendOn

 e8 (f)(e)(g~) g2

 \bendOff

 }

 \score {

 

 \new Staff {

 \new Voice {

 \clef G_8

 \gtr

 }

 }

 \new TabStaff {

 \new TabVoice {

 \clef tab

 \gtr

 }

 }

 

 }






___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE:Guitar: Bend-release-bend

2015-04-24 Thread Stephen MacNeil
like this ?

 \bendOn

\bendGrace e8(f8)(e8) (g4~)g2 |

\bendOff

\bendOn

e8 (f)(e)(g~) g2

\bendOff

if not have an example?

%% cut


\version 2.18.2

\include definitions.ily

\paper {

indent = 0

}

\layout {

\context {

\Staff

\override StringNumber #'stencil = ##f

\override VerticalAxisGroup #'default-staff-staff-spacing =

#'((basic-distance . 15)

(minimum-distance . 15)

(padding . 1))

}

}


gtr = \relative c''{

\bendOn

\bendGrace e8(f8)(e8) (g4~)g2 |

\bendOff

\bendOn

e8 (f)(e)(g~) g2

\bendOff

}

\score {



\new Staff {

\new Voice {

\clef G_8

\gtr

}

}

\new TabStaff {

\new TabVoice {

\clef tab

\gtr

}

}



}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar: Bend-release-bend

2015-04-24 Thread Marc Hohl

Am 25.04.2015 um 06:33 schrieb Kevin Tough:
[...]

This example gives me several error messages. I have always used :lcd
%:p:h to work out of the directory of the source file. One of the
messages logically is then that definitions.ily can't be found. Where do
I find definitions.ily?

Guitar bends are something I will need in the future. Can Lilypond
create these as beautifully as the other stuff without the user having
to be a power user? Is there documentation about how to do this?


One has to write a proper engraver for it. I did the bend.ly stuff a 
long time ago, but my lilypond-scheme-fu is not sufficient for 
converting this into a final solution.


Documentation does not exist, either, because bend.ly was rather a 
proof-of-concept than a final solution.


Cheers,
Marc


Namaste,
Kevin Tough


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar: Bend-release-bend

2015-04-24 Thread Kevin Tough
On Fri, 2015-04-24 at 20:48 -0400, Stephen MacNeil wrote:
 no problem
 
 
 Stephen
 
 
 On Fri, Apr 24, 2015 at 8:41 PM, Shirish Kulhari
 kulhari.shir...@gmail.com wrote:
 Yes, that's precisely what I was looking for! Thanks a lot
 man!
 
 On Sat, Apr 25, 2015 at 6:10 AM, Shirish Kulhari
 kulhari.shir...@gmail.com wrote:
 Yes, that's precisely what I was looking for! Thanks a
 lot man!
 
 On Sat, Apr 25, 2015 at 3:50 AM, Stephen MacNeil
 classicalja...@gmail.com wrote:
 like this ?
 
 
 
 \bendOn
 
 \bendGrace e8(f8)(e8) (g4~)g2 |
 
 \bendOff
 
 \bendOn
 
 e8 (f)(e)(g~) g2
 
 \bendOff
 
 
 
 if not have an example?
 
 
 %% cut
 
 \version 2.18.2
 
 \include definitions.ily
 
 \paper {
 
 indent = 0
 
 }
 
 \layout {
 
 \context {
 
 \Staff
 
 \override StringNumber #'stencil = ##f
 
 \override VerticalAxisGroup
 #'default-staff-staff-spacing =
 
 #'((basic-distance . 15)
 
 (minimum-distance . 15)
 
 (padding . 1))
 
 }
 
 }
 
 
 gtr = \relative c''{
 
 \bendOn
 
 \bendGrace e8(f8)(e8) (g4~)g2 |
 
 \bendOff
 
 \bendOn
 
 e8 (f)(e)(g~) g2
 
 \bendOff
 
 }
 
 \score {
 
 
 
 \new Staff {
 
 \new Voice {
 
 \clef G_8
 
 \gtr
 
 }
 
 }
 
 \new TabStaff {
 
 \new TabVoice {
 
 \clef tab
 
 \gtr
 
 }
 
 }
 
 
 
 }
 
 
 
 
 
 
 
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

This example gives me several error messages. I have always used :lcd
%:p:h to work out of the directory of the source file. One of the
messages logically is then that definitions.ily can't be found. Where do
I find definitions.ily?

Guitar bends are something I will need in the future. Can Lilypond
create these as beautifully as the other stuff without the user having
to be a power user? Is there documentation about how to do this?

Namaste,
Kevin Tough


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Guitar: Bend-release-bend

2015-04-24 Thread Shirish Kulhari
Hi,

I'm trying to write tab+sheet music for a guitar solo that involves a
bend-release-bend on a single note. For example, like this - 12b14r13b14.

How can I write this bend-release-bend in lilypond? (I'm already aware of
the bend.ly and definitions.ily files that have been written up as
libraries for bends, but so far they only have at most bend-release).

Any help would be appreciated; thanks in advance!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slurs in volta 2 and bend

2014-09-16 Thread guoguocuozuoduo
The slur in Volta 2 can be achieved by adding \repeattie after the note.
For the bend, you will need a hidden voice.
 在 16/09/2014,7:01 pm,Marco Bagolin bagolin.ma...@gmail.com 写道:
 
 Hello,
 I can't find the way to reproduce the examples attached (the slur in volta 2 
 and the bend).
 I tried to search in the site and in the manuals but I did not find a 
 solution.
 Someone can help me ?
 
 Thank you in advance. 
 MB
 
 slurvolta.PNG
 bend.PNG
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slurs in volta 2 and bend

2014-09-16 Thread Noeck

Am 16.09.2014 um 09:03 schrieb guoguocuozuoduo:
 The slur in Volta 2 can be achieved by adding \repeattie after the note.
 For the bend, you will need a hidden voice.

I don't know whether it is the best way to achieve this, but the output
of this comes pretty close:

{
  b'1\repeatTie
   { b'4\rest s2. } \\ {
\oneVoice \hideNotes e'4( \unHideNotes f'2.^^\fz ) } 
  b'1\bendAfter #5
}

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Guitar bend at end of bar with linebreak [was: Strange problem with guitar bends]

2014-08-03 Thread Martyn Quick

I've finally worked out what is causing the problem with the guitar bends.  It 
is when the engraver is trying to implement a linebreak and bending up from one 
note to the other at the end of the bar.

The following code gives a simple example of it going wrong.  Any ideas how to 
fix this? - I guess manually inserting a \break the bar beforehand should at 
least avoid it!

Martyn


\version 2.18.2

\include definitions.ily

\layout {
  \context {
    \Staff
    \override VerticalAxisGroup #'default-staff-staff-spacing =
    #'((padding . 4))
  }
}

music = {
  \relative a' {
    \bendOn
    c4 c c c ( | d ) d d d ( |
    e ) e e e ( | f ) f f f ( |
    g ) g g g ( | a ) a a a ( |
    b ) b b b ( | c ) c c c ( |
    d ) d d d ( | e ) e e e |
  }
}

\score {
  
  \new Staff {
    \clef treble_8
    \numericTimeSignature \time 4/4
    \music
  }
  \new TabStaff {
    \music
  }
  
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Guitar bend at end of bar with linebreak [was: Strange problem with guitar bends]

2014-08-03 Thread Federico Bruni
Oh, that was tricky to find because there is no explicit line break. It's a
known problem, mentioned in the Readme on github:

Line breaks are not supported. If a bending is broken by a line break, the
file won't compile: the workaround is using \noBreak
 Il 03/ago/2014 20:01 Martyn Quick martyn_qu...@yahoo.co.uk ha scritto:


 I've finally worked out what is causing the problem with the guitar
 bends.  It is when the engraver is trying to implement a linebreak and
 bending up from one note to the other at the end of the bar.

 The following code gives a simple example of it going wrong.  Any ideas
 how to fix this? - I guess manually inserting a \break the bar beforehand
 should at least avoid it!

 Martyn


 \version 2.18.2

 \include definitions.ily

 \layout {
   \context {
 \Staff
 \override VerticalAxisGroup #'default-staff-staff-spacing =
 #'((padding . 4))
   }
 }

 music = {
   \relative a' {
 \bendOn
 c4 c c c ( | d ) d d d ( |
 e ) e e e ( | f ) f f f ( |
 g ) g g g ( | a ) a a a ( |
 b ) b b b ( | c ) c c c ( |
 d ) d d d ( | e ) e e e |
   }
 }

 \score {
   
   \new Staff {
 \clef treble_8
 \numericTimeSignature \time 4/4
 \music
   }
   \new TabStaff {
 \music
   }
   
 }

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bend before

2013-07-11 Thread Pierre Perol-Schneider
2013/7/10 Wim van Dommelen m...@wimvd.nl


 Is there any work done on this? Some code I can use or test?


Hi Wim,
There was a recent discussion regarding this subject :
http://comments.gmane.org/gmane.comp.gnu.lilypond.general/82260

Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bend before

2013-07-11 Thread Wim van Dommelen

Hi Pierre,


There was a recent discussion regarding this subject : 
http://comments.gmane.org/gmane.comp.gnu.lilypond.general/82260


I did see that one in the archive, copied the code, stumbled on it not  
compiling and I did sent out my question.


In the hurry, I somehow missed Davids' reply on convert-ly :-)

Thanks for pointing me back to the right direction.

Regards,
Wim.




On 11 Jul 2013, at 10:54 , Pierre Perol-Schneider wrote:


2013/7/10 Wim van Dommelen m...@wimvd.nl

Is there any work done on this? Some code I can use or test?

Hi Wim,

Cheers,
Pierre


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


bend before

2013-07-10 Thread Wim van Dommelen

Hi,

Having the need to engrave a bendBefore I looked in the archives and  
found this item mentioned several times over the last few years but  
not in recent versions of Lilypond.


Is there any work done on this? Some code I can use or test?

Regards,
Wim.




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bend and release (blues transcription)

2012-03-19 Thread Marc Hohl

Am 19.03.2012 00:28, schrieb luis jure:


hello list,

i'm transcribing a fragment of a blues recording, and i'm trying to solve
how to notate all the pitch deviations present in the voice and guitar.

i'm combining the use of plain glissandi, bendAfter, and grace
notes with \hideNotes and glissando for a prebend (BTW, how useful it
would be for this task something like bendAfter but before the note!).

but i don't know how to notate with lilypond the bend and release, like in
the attached image (it's taken from the legend at the end of the hal
leonard books).

some time ago i learned how to embed simple postscript code in lilypond,
but perhaps there's a simpler and more efficient pure lilypond way...

I wrote an extension for lilypond some time ago, which provides bends
and stuff. I didn't manage to get this nicely into lilypond, but meanwhile,
have a look at the attached files.

HTH,

Marc


best,


lj


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


%
% bend.ly
%
% preliminary tests for drawing bends
% 2011-03-11
%
% Marc Hohl
%
% TODO:
% - draw dashed line for \holdBend
% - enable consecutive bend ups
% - simplify \preBend and \holdBend usage
% - ...

#(display \n\nbend.ly ─ 2011-03-11\n\n)


%%% sizes and values (to be changed/adapted):

% the line thickness of bends and stuff:
#(define bend-line-thickness 0.1)

% the height of pointed slurs is fixed regardless of its width
% (TODO: should this be changed?):
#(define pointed-slur-height 2.0)

% the linear amount of the bend arrow (TODO: find a better name?)
#(define bend-ratio 0.35)

% the distance between the topmost tablature line and the arrow head
#(define bend-dy 2.75)

% the distance between the end of a bend and the consecuting second one
#(define bend-shift-dy 2.75)


% the height of the bend arrow head:
#(define bend-arrow-height 1.25)

% the width of the arrow head base:
#(define bend-arrow-width 0.8)

% the distance between the tablature line where a bend starts
% and the starting point in vertical direction:
#(define bend-y-offset 0.35)

%%% internal commands
#(define-public (quarterdiff-string quarterdiff)
  (let ((wholesteps (floor (/ quarterdiff 4

   (string-append (case wholesteps
((0) )
(else (number-string wholesteps)))
  (case (modulo quarterdiff 4)
((1) ¼)
((2) ½)
((3) ¾)
(else )

%%% markup commands
#(define-markup-command (pointedSlur layout props thickness bx by mx my ex ey)
  (number? number? number? number? number? number? number?)
  (interpret-markup layout props
(markup #:postscript
(ly:format ~f setlinewidth
~f ~f moveto
~f ~f lineto
~f ~f lineto stroke thickness bx by mx my ex ey

#(define-markup-command (drawBendArrow layout props
  thickness begin-x middle-x end-x begin-y end-y arrow-lx arrow-rx arrow-y outstring)
  (number? number? number? number? number? number? number? number? number? string?)
  (interpret-markup layout props
(markup #:postscript
(ly:format ~f setlinewidth
~f ~f moveto
~f ~f lineto
~f ~f ~f ~f ~f ~f curveto
stroke
~f ~f moveto
~f ~f lineto
~f ~f lineto
closepath fill
thickness
begin-x begin-y
middle-x begin-y
middle-x begin-y end-x begin-y end-x arrow-y
arrow-lx arrow-y
end-x end-y
arrow-rx arrow-y)
#:hspace 0
#:translate (cons (- end-x 1.2) (+ end-y 0.5))
#:fontsize -2
#:bold #:center-column (outstring

#(define-markup-command (drawHoldBend layout props
  thickness begin-x end-x line-y)
  (number? number? number? number?)
  (interpret-markup layout props
(markup #:postscript
(ly:format ~f setlinewidth
~f ~f moveto
~f ~f lineto
stroke thickness begin-x line-y end-x line-y

#(define-markup-command (drawHoldBendWithArrow layout props
  thickness begin-x begin-y end-x end-y arrow-lx arrow-rx arrow-y outstring)
  (number? number? number? number? number? number? number? number? string?)
  (interpret-markup layout props
(markup #:postscript
(ly:format ~f setlinewidth
~f ~f moveto
~f ~f lineto
stroke
~f ~f moveto
~f ~f lineto
~f ~f lineto

Re: bend and release (blues transcription)

2012-03-19 Thread luis jure

on 2012-03-19 at 10:59 Marc Hohl wrote:

I wrote an extension for lilypond some time ago, which provides bends
and stuff. I didn't manage to get this nicely into lilypond, but
meanwhile, have a look at the attached files.

like wow! what a fantastic set of tools! thank you very much, marc. in my
case, i'm using this kind of notation exceptionally, but i can see how
this would be a *great* addition to lilypond.

best,

lj


(PS. i get several times this warning message when compiling:

programming error: Improbable offset for stencil: -inf staff space
Setting to zero.
continuing, cross fingers

but the output file is fine)

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bend and release (blues transcription)

2012-03-19 Thread Federico Bruni
2012/3/19 luis jure l...@internet.com.uy:

 like wow! what a fantastic set of tools! thank you very much, marc. in my
 case, i'm using this kind of notation exceptionally, but i can see how
 this would be a *great* addition to lilypond.

+1

http://code.google.com/p/lilypond/issues/detail?id=1196

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bend and release (blues transcription)

2012-03-19 Thread mike
Dear Luis,

Lionel Rascle is working on this sorta thing.
You can e-mail him at le...@free.fr for some code.

Cheers,
MS

On Mar 19, 2012, at 12:28 AM, luis jure wrote:

 
 
 hello list,
 
 i'm transcribing a fragment of a blues recording, and i'm trying to solve
 how to notate all the pitch deviations present in the voice and guitar.
 
 i'm combining the use of plain glissandi, bendAfter, and grace
 notes with \hideNotes and glissando for a prebend (BTW, how useful it
 would be for this task something like bendAfter but before the note!).
 
 but i don't know how to notate with lilypond the bend and release, like in
 the attached image (it's taken from the legend at the end of the hal
 leonard books).
 
 some time ago i learned how to embed simple postscript code in lilypond,
 but perhaps there's a simpler and more efficient pure lilypond way...
 
 
 best,
 
 
 ljbend.png___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bend and release (blues transcription)

2012-03-19 Thread Marc Hohl

Am 19.03.2012 17:35, schrieb m...@apollinemike.com:

Dear Luis,

Lionel Rascle is working on this sorta thing.
You can e-mail him at le...@free.fr for some code.

Hey, that's interesting. Does he know about my work and the
long discussions with Carl about the syntax and stuff?
It would be overkill to invent the wheel again.

Marc

Cheers,
MS

On Mar 19, 2012, at 12:28 AM, luis jure wrote:



hello list,

i'm transcribing a fragment of a blues recording, and i'm trying to solve
how to notate all the pitch deviations present in the voice and guitar.

i'm combining the use of plain glissandi, bendAfter, and grace
notes with \hideNotes and glissando for a prebend (BTW, how useful it
would be for this task something like bendAfter but before the note!).

but i don't know how to notate with lilypond the bend and release, like in
the attached image (it's taken from the legend at the end of the hal
leonard books).

some time ago i learned how to embed simple postscript code in lilypond,
but perhaps there's a simpler and more efficient pure lilypond way...


best,


ljbend.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bend and release (blues transcription)

2012-03-19 Thread Marc Hohl

Am 19.03.2012 12:34, schrieb luis jure:

on 2012-03-19 at 10:59 Marc Hohl wrote:


I wrote an extension for lilypond some time ago, which provides bends
and stuff. I didn't manage to get this nicely into lilypond, but
meanwhile, have a look at the attached files.

like wow! what a fantastic set of tools! thank you very much, marc. in my
case, i'm using this kind of notation exceptionally, but i can see how
this would be a *great* addition to lilypond.

best,

lj


(PS. i get several times this warning message when compiling:

programming error: Improbable offset for stencil: -inf staff space
Setting to zero.
continuing, cross fingers

I haven't had the time to investigate further; the last time I used
the file, there were no error messages, but as you say, they do no harm ;-)

Regards,

Marc

but the output file is fine)

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bend and release (blues transcription)

2012-03-19 Thread m...@apollinemike.com
On Mar 19, 2012, at 7:14 PM, Marc Hohl wrote:

 Am 19.03.2012 17:35, schrieb m...@apollinemike.com:
 Dear Luis,
 
 Lionel Rascle is working on this sorta thing.
 You can e-mail him at le...@free.fr for some code.
 Hey, that's interesting. Does he know about my work and the
 long discussions with Carl about the syntax and stuff?
 It would be overkill to invent the wheel again.
 

I sent him a note about it, so he's up to date!

Cheers,
MS


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


bend and release (blues transcription)

2012-03-18 Thread luis jure


hello list,

i'm transcribing a fragment of a blues recording, and i'm trying to solve
how to notate all the pitch deviations present in the voice and guitar.

i'm combining the use of plain glissandi, bendAfter, and grace
notes with \hideNotes and glissando for a prebend (BTW, how useful it
would be for this task something like bendAfter but before the note!).

but i don't know how to notate with lilypond the bend and release, like in
the attached image (it's taken from the legend at the end of the hal
leonard books).

some time ago i learned how to embed simple postscript code in lilypond,
but perhaps there's a simpler and more efficient pure lilypond way...


best,


ljattachment: bend.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Different accidentals for same pitch bend?

2011-05-29 Thread Richard Sabey

Keith,

Thank you for your message. Your suggestion of ly:set-default-scale, together 
with ly:make-scale, turned out to do just what I wanted. That showed me what to 
Google for, and that gave me the info I needed.

Richard

 Message: 5
 Date: Sat, 28 May 2011 23:17:48 + (UTC)
 From: Keith OHara k-ohara5...@oco.net
 To: lilypond-user@gnu.org
 Subject: Re: Different accidentals for same pitch bend?
 Message-ID: loom.20110529t003850-...@post.gmane.org
 Content-Type: text/plain; charset=us-ascii
 
   I think Lilypond already does what you want.  Some of the pitch bend goes
 into the note-name itself for 34ET (differently from makam). 
 
 Suppose you choose f-natural to have zero pitch bend in MIDI.
 Then if b-natural is 18/34 of an octave higher, it needs 1/34*1200 cents 
 pitch-
 bend of sharpening relative to the default 12-ET version of b.
 
 You set these pitch-bends for the naked note-names with ly:set-default-scale.
 
 Then with ly:parser-set-note-names, you assign b-down-one-step whatever name 
 you choose, and the pitch of scale-step 6 lowered by 1/34.   When you use that
 name, Lilypond prints a lowering glyph because it is lower than the note in 
 the
 scale, and calculates a pitch bend 1/34*1200 cents flatter than the default 
 scale, which is right back to zero in this case.
 
 
 Graham Breed has posted some helpful emails, such as
 http://lists.gnu.org/archive/html/lilypond-devel/2008-12/msg00499.html

Yes, I saw that discussion as a result of Googling, and I tried his code, but 
unfortunately I couldn't get it to work on v.2.13.62. Never mind, I now have 
something which does what I want.

  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Different accidentals for same pitch bend?

2011-05-28 Thread Richard Sabey

The way /usr/share/lilypond/current/ly/makam.ly is written suggests that 
Lilypond determines which accidental is appropriate for a pitch from one 
quantity only, namely by how much it is higher or lower than the MIDI pitch of 
the same letter-name and the same octave. Taking an example from makam.ly, you 
may, for example, associate a downward inflection by 1/9 of a tone with the 
accidental glyph accidentals.mirroredflat, but that glyph must serve for c, 
d, e, f, g, a and b.

Is there any way to make Lilypond select an accidental in some other way? 
Possibly related to both the amount of offset and the letter name?

Sort of something like this?

myGlyphs = #`(
; etc.
(-1/34 . ,(if (eq? somethingorother 3) accidentals.natural 
accidentals.natural.arrowdown ))
; etc.
)
\layout {
  \context {
\Score
\override Accidental #'glyph-name-alist = \myGlyphs
  }
}

Thing is, I don't know the data structures that Scheme can see, or even if it 
is possible to encode such a conditional expression in the alist so that it 
works.

The reason I ask is that I'd like to compose in 34et (temperament that divides 
the octave into 34 equal intervals). In this temperament, the tone (say f to g) 
is 6/34 of an octave, so the tritone from f to b is 18/34 of an octave. This 
means that b lowered by one step is higher than f by 17/34 of an octave, that 
is, half an octave, or exactly 6 MIDI semitones. This means that b lowered by 
one step and f need identical amounts of MIDI pitch bend but different 
accidental glyphs.

  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Different accidentals for same pitch bend?

2011-05-28 Thread Keith OHara
Richard Sabey richardsabey at hotmail.co.uk writes:

 The reason I ask is that I'd like to compose in 34et 
..
 This means that b lowered by one step and f need identical amounts of MIDI 
  pitch bend but different accidental glyphs.
 

Richard,
  I think Lilypond already does what you want.  Some of the pitch bend goes
into the note-name itself for 34ET (differently from makam). 

Suppose you choose f-natural to have zero pitch bend in MIDI.
Then if b-natural is 18/34 of an octave higher, it needs 1/34*1200 cents pitch-
bend of sharpening relative to the default 12-ET version of b.

You set these pitch-bends for the naked note-names with ly:set-default-scale.

Then with ly:parser-set-note-names, you assign b-down-one-step whatever name 
you choose, and the pitch of scale-step 6 lowered by 1/34.   When you use that
name, Lilypond prints a lowering glyph because it is lower than the note in the
scale, and calculates a pitch bend 1/34*1200 cents flatter than the default 
scale, which is right back to zero in this case.


Graham Breed has posted some helpful emails, such as
http://lists.gnu.org/archive/html/lilypond-devel/2008-12/msg00499.html


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: notation and tablature (+bend, slide etc.)

2008-08-05 Thread rosea

I see there's is some sort of tablature support in Mup, with bends and
slides...
http://www.arkkra.com/doc/uguide/tabstaff.html

Would be nice if we get it in Lilypond too.

Thanks in advance,



notesetter wrote:
 
 I'd like to second rosea's sentiment about tablature. I'm just learning
 LilyPond and would like to help the programmers improve LilyPond's support
 for fretted instrument tablature, including support for bends, slides,
 ligado and the various other instrument specific notations.
 
 I've been a professional guitar transcriber and music engraver for about 8
 years and I currently work with 2 of the largest publishers on their
 guitar/TAB publications on a freelance basis. As of right now, I am
 prepared to help in a consulting capacity for improvements in these areas
 (I have no background in programming). In the future, I may be able to
 sponsor new features (especially in conjunction with other sponsors) that
 will improve LilyPond's capacity to write fretted instrument tablature.
 
 If there's anyone working on improving these features currently, please
 let me know if you have questions about shapes/exact placement/etc. The
 Tab Legend posted by Rosea is a bit outdated. Although most of the symbols
 in current usage are similar to those on the legend, I feel their
 placement in the score needs to be updated. Caveat: I tend to work slowly,
 so for me, this would be a long-term commitment and I wouldn't expect
 results to be immediate.
 
 Please let me know if there's anything I can do (consulting on
 appearance/placement of symbols, testing new features, etc.)
 
 Thanks to the developers and everyone who posts helpful information to
 this list. Of all the notation tools I have used or tried, LilyPond is the
 most dynamic and exciting.
 
 Best regards,
 
 David Stocker
 
 
 rosea wrote:
 
 Reinhold Kainhofer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am Montag, 30. Juni 2008 schrieb rosea:
   
 I was wondering if Lilypond also supports tablature features for guitar
 like: slides, hammer on, pull off, bend etc.
 

 It supports bend. About the others, I'm not sure. When I wrote
 musicxml2ly, I 
 was looking for them, but then I don't know how they should look in the 
 score, anyway.

 Maybe you can give some examples for them?

 Cheers,
 Reinhold



   
 Hi all,
 
 I've made a scan of the notation-tablature-legend from the book 'Eric 
 Clapton - Unplugged', (which is one of the best selling guitar books I 
 think).
 
 I made a *.png and a *.pdf you can download here: 
 http://wiki.linuxmusicians.com/lib/exe/fetch.php?id=manuals_tutorials_and_howto_scache=cachemedia=notation_tablature_legend_clapton.pdf
  
 
 
 http://img242.imageshack.us/img242/1259/notationtablatureclaptolc8.png
 
 I didn't find options for bends, pull off, slide, hammer on etc. for 
 Lilypond and I think there are a lot of guitarists, bass players and 
 more, who would love to see a better tablature support for Lilypond. 
 Especially now with the export function in TuxGuitar to Lilypond.
 
 I'm looking forward for reactions and I hope some smart guys can make 
 this happen for Lilypond. If I can give support or if you need more 
 information about tablature and notation, you can always ask!
 
 Thanks in advance,
 
 Roooz
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/tablature-tp18190814p18827643.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: notation and tablature (+bend, slide etc.)

2008-07-04 Thread rosea

Hi,

Thanks David for your reaction. I know the notation-tablature of that 
book is a bit old, Eric Clapton is getting old too ;)


I think the programmers could have some help of someone like you with 
such an experience in this area!


I don't know if there are Lilypond programmers on this list or if there 
is a lilyond-dev-list to post this issue on...?


If you want these features too and can give some support in programming, 
we would like to hear it!


Regards,

Rosea



notesetter wrote:

I'd like to second rosea's sentiment about tablature. I'm just learning
LilyPond and would like to help the programmers improve LilyPond's support
for fretted instrument tablature, including support for bends, slides,
ligado and the various other instrument specific notations.

I've been a professional guitar transcriber and music engraver for about 8
years and I currently work with 2 of the largest publishers on their
guitar/TAB publications on a freelance basis. As of right now, I am prepared
to help in a consulting capacity for improvements in these areas (I have no
background in programming). In the future, I may be able to sponsor new
features (especially in conjunction with other sponsors) that will improve
LilyPond's capacity to write fretted instrument tablature.

If there's anyone working on improving these features currently, please let
me know if you have questions about shapes/exact placement/etc. The Tab
Legend posted by Rosea is a bit outdated. Although most of the symbols in
current usage are similar to those on the legend, I feel their placement in
the score needs to be updated. Caveat: I tend to work slowly, so for me,
this would be a long-term commitment and I wouldn't expect results to be
immediate.

Please let me know if there's anything I can do (consulting on
appearance/placement of symbols, testing new features, etc.)

Thanks to the developers and everyone who posts helpful information to this
list. Of all the notation tools I have used or tried, LilyPond is the most
dynamic and exciting.

Best regards,

David Stocker


rosea wrote:
  

Reinhold Kainhofer wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 30. Juni 2008 schrieb rosea:
  
  

I was wondering if Lilypond also supports tablature features for guitar
like: slides, hammer on, pull off, bend etc.



It supports bend. About the others, I'm not sure. When I wrote
musicxml2ly, I 
was looking for them, but then I don't know how they should look in the 
score, anyway.


Maybe you can give some examples for them?

Cheers,
Reinhold



  
  

Hi all,

I've made a scan of the notation-tablature-legend from the book 'Eric 
Clapton - Unplugged', (which is one of the best selling guitar books I 
think).


I made a *.png and a *.pdf you can download here: 
http://wiki.linuxmusicians.com/lib/exe/fetch.php?id=manuals_tutorials_and_howto_scache=cachemedia=notation_tablature_legend_clapton.pdf 



http://img242.imageshack.us/img242/1259/notationtablatureclaptolc8.png

I didn't find options for bends, pull off, slide, hammer on etc. for 
Lilypond and I think there are a lot of guitarists, bass players and 
more, who would love to see a better tablature support for Lilypond. 
Especially now with the export function in TuxGuitar to Lilypond.


I'm looking forward for reactions and I hope some smart guys can make 
this happen for Lilypond. If I can give support or if you need more 
information about tablature and notation, you can always ask!


Thanks in advance,

Roooz



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user






-
David Stocker
[EMAIL PROTECTED]
www.thenotesetter.com
  




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: notation and tablature (+bend, slide etc.)

2008-07-04 Thread Carl Sorensen
rosea rosea.grammostola at gmail.com writes:

 
 Hi,
 
 Thanks David for your reaction. I know the notation-tablature of that 
 book is a bit old, Eric Clapton is getting old too ;)
 
 I think the programmers could have some help of someone like you with 
 such an experience in this area!
 
 I don't know if there are Lilypond programmers on this list or if there 
 is a lilyond-dev-list to post this issue on...?

There is a list -- [EMAIL PROTECTED]  But I expect that most of the
people on -devel monitor -user.

Carl Sorensen





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: notation and tablature (+bend, slide etc.)

2008-07-02 Thread rosea

Reinhold Kainhofer wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 30. Juni 2008 schrieb rosea:
  

I was wondering if Lilypond also supports tablature features for guitar
like: slides, hammer on, pull off, bend etc.



It supports bend. About the others, I'm not sure. When I wrote musicxml2ly, I 
was looking for them, but then I don't know how they should look in the 
score, anyway.


Maybe you can give some examples for them?

Cheers,
Reinhold



  

Hi all,

I've made a scan of the notation-tablature-legend from the book 'Eric 
Clapton - Unplugged', (which is one of the best selling guitar books I 
think).


I made a *.png and a *.pdf you can download here: 
http://wiki.linuxmusicians.com/lib/exe/fetch.php?id=manuals_tutorials_and_howto_scache=cachemedia=notation_tablature_legend_clapton.pdf 



http://img242.imageshack.us/img242/1259/notationtablatureclaptolc8.png

I didn't find options for bends, pull off, slide, hammer on etc. for 
Lilypond and I think there are a lot of guitarists, bass players and 
more, who would love to see a better tablature support for Lilypond. 
Especially now with the export function in TuxGuitar to Lilypond.


I'm looking forward for reactions and I hope some smart guys can make 
this happen for Lilypond. If I can give support or if you need more 
information about tablature and notation, you can always ask!


Thanks in advance,

Roooz



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: notation and tablature (+bend, slide etc.)

2008-07-02 Thread notesetter

I'd like to second rosea's sentiment about tablature. I'm just learning
LilyPond and would like to help the programmers improve LilyPond's support
for fretted instrument tablature, including support for bends, slides,
ligado and the various other instrument specific notations.

I've been a professional guitar transcriber and music engraver for about 8
years and I currently work with 2 of the largest publishers on their
guitar/TAB publications on a freelance basis. As of right now, I am prepared
to help in a consulting capacity for improvements in these areas (I have no
background in programming). In the future, I may be able to sponsor new
features (especially in conjunction with other sponsors) that will improve
LilyPond's capacity to write fretted instrument tablature.

If there's anyone working on improving these features currently, please let
me know if you have questions about shapes/exact placement/etc. The Tab
Legend posted by Rosea is a bit outdated. Although most of the symbols in
current usage are similar to those on the legend, I feel their placement in
the score needs to be updated. Caveat: I tend to work slowly, so for me,
this would be a long-term commitment and I wouldn't expect results to be
immediate.

Please let me know if there's anything I can do (consulting on
appearance/placement of symbols, testing new features, etc.)

Thanks to the developers and everyone who posts helpful information to this
list. Of all the notation tools I have used or tried, LilyPond is the most
dynamic and exciting.

Best regards,

David Stocker


rosea wrote:
 
 Reinhold Kainhofer wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am Montag, 30. Juni 2008 schrieb rosea:
   
 I was wondering if Lilypond also supports tablature features for guitar
 like: slides, hammer on, pull off, bend etc.
 

 It supports bend. About the others, I'm not sure. When I wrote
 musicxml2ly, I 
 was looking for them, but then I don't know how they should look in the 
 score, anyway.

 Maybe you can give some examples for them?

 Cheers,
 Reinhold



   
 Hi all,
 
 I've made a scan of the notation-tablature-legend from the book 'Eric 
 Clapton - Unplugged', (which is one of the best selling guitar books I 
 think).
 
 I made a *.png and a *.pdf you can download here: 
 http://wiki.linuxmusicians.com/lib/exe/fetch.php?id=manuals_tutorials_and_howto_scache=cachemedia=notation_tablature_legend_clapton.pdf
  
 
 
 http://img242.imageshack.us/img242/1259/notationtablatureclaptolc8.png
 
 I didn't find options for bends, pull off, slide, hammer on etc. for 
 Lilypond and I think there are a lot of guitarists, bass players and 
 more, who would love to see a better tablature support for Lilypond. 
 Especially now with the export function in TuxGuitar to Lilypond.
 
 I'm looking forward for reactions and I hope some smart guys can make 
 this happen for Lilypond. If I can give support or if you need more 
 information about tablature and notation, you can always ask!
 
 Thanks in advance,
 
 Roooz
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 


-
David Stocker
[EMAIL PROTECTED]
www.thenotesetter.com
-- 
View this message in context: 
http://www.nabble.com/tablature-tp18190814p18237997.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user