'Bartok'-pizz.

2007-07-24 Thread Siska Ádám

Hello,


What is the code for the articulation mark representing the so-called 
'Bartok'-pizzicato? (A circle like for flageolets, but with a short 
vertical line crossing the circle at the top.) I hadn't found this in 
the table of articulation signs in the manual.


Thank you,
Adam



Siska Ádám
+36 (70) 207-63-85
http://apocalypse.rulez.org/~sadam


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


Re: 'Bartok'-pizz.

2007-07-24 Thread Wilbert Berendsen
Op dinsdag 24 juli 2007, schreef Siska Ádám:
 'Bartok'-pizzicato

You could do something like:

#(define-markup-command (bartokpizz layout props) ()
  (interpret-markup layout props
(markup #:stencil
  (ly:stencil-translate-axis
(ly:stencil-add
  (make-circle-stencil 0.7 0.1 #f)
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )
)
0.7 X
  )
)
  )
)

bartok = \markup \bartokpizz

{
c4^\bartok
}

I found this on: 
http://www.mail-archive.com/lilypond-user%40gnu.org/msg14529.html

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
You must be the change you wish to see in the world.
-- Mahatma Gandi


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


Re: 'Bartok'-pizz.

2007-07-24 Thread Siska Ádám

Thank you, this works quite nice, and sorry for the duplicated question


Bye,
Adam


Siska Ádám
+36 (70) 207-63-85
http://apocalypse.rulez.org/~sadam


Wilbert Berendsen wrote:

Op dinsdag 24 juli 2007, schreef Siska Ádám:
  

'Bartok'-pizzicato



You could do something like:

#(define-markup-command (bartokpizz layout props) ()
  (interpret-markup layout props
(markup #:stencil
  (ly:stencil-translate-axis
(ly:stencil-add
  (make-circle-stencil 0.7 0.1 #f)
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )
)
0.7 X
  )
)
  )
)

bartok = \markup \bartokpizz

{
c4^\bartok
}

I found this on: 
http://www.mail-archive.com/lilypond-user%40gnu.org/msg14529.html


Met vriendelijke groet,
Wilbert Berendsen

  



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


Re: snap (bartok) pizz

2005-04-26 Thread Mats Bengtsson
Hint: search for padding in the mailing list archives or look
at 
http://lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/Common-tweaks.html#Common-tweaks

  /Mats
dax2 wrote:
On Mon, 25 Apr 2005 10:18:57 +0200
Mats wrote:

To avoid confusion, I can tell you both that the function
make-circle-stencil was introduced in version 2.5.19 and is
not available in any stable version (which probably is what
Sean has installed).

It works with a little change: make_circle_stencil should
have only two parameters (in 2.5.19) I would like to know how I
get the tempo-indication away from the staff.
This has been mentioned before, so I will look it up. I like
realistic examples so I will post it again when I find out how to
make a little space for tempo and character (Lento).
\version 2.5.19
#(def-markup-command (bartokPizz layout props) ()
  (ly:stencil-add
  ;; (make-circle-stencil 0.7 0.1 #f)
  (make-circle-stencil 0.7 0.1 )
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )))
% -- 
% Han-Wen Nienhuys -

vlcello = {
\clef bass
\key a \major
\time 3/4
\tempo 4 = 62
   f8^\markup {Lento}-\markup{\bartokPizz }_\markup{(pizz)}
   g8^\markup { \bartokPizz }
   c'8^\markup { \bartokPizz }
   g,8^\markup { \bartokPizz }
   c16
   bes16
   e'8
   fis'4\ff^\markup { \bartokPizz }
   c,2^\markup { \bartokPizz }
   \bar |.
}
\score {
   \new Staff { \vlcello }
}
\layout { raggedright = ##t }




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: snap (bartok) pizz

2005-04-26 Thread Jonatan Liljedahl
On Mon, 25 Apr 2005 02:10:49 +0200
Han-Wen Nienhuys [EMAIL PROTECTED] wrote:

 Op zo, 24-04-2005 te 23:48 -0300, schreef Jonatan Liljedahl:
   have i overlooked something?
   
   is there a markup or workaround for this?
  
  This is how I do it, put this in your .ly file:
  %
  #(def-markup-command (bartokpizz layout props) ()
(interpret-markup layout props
  (markup #:stencil
(ly:stencil-translate-axis
  (ly:stencil-add
(make-circle-stencil 0.7 0.1 #f)
(ly:make-stencil
  (list 'draw-line 0.1 0 0.1 0 1)
  '(-0.1 . 0.1) '(0.1 . 1)
)
  )
  0.7 X
)
  )
)
 
 this  is rather involved. You could also do
 
 #(def-markup-command (bartokpizz layout props) ()
   (ly:stencil-add
   (make-circle-stencil 0.7 0.1 #f)
   (ly:make-stencil
 (list 'draw-line 0.1 0 0.1 0 1)
 '(-0.1 . 0.1) '(0.1 . 1)
   )))
 

Oh, I see! No need to go trough the markup interpretation since markup
commands should return a stencil.
Beware though that without ly:stencil-translate-axis, the symbol will
not be centered above the note but centered around the the left edge of
the note, it seems... is there a way to (in the scheme above) make sure
the stencil is centered above the note/chord that the markup is attached
to?

/Jonatan-=( http://kymatica.com )=-


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


Re: snap (bartok) pizz

2005-04-26 Thread Han-Wen Nienhuys
Op di, 26-04-2005 te 17:41 -0300, schreef Jonatan Liljedahl:

  
  this  is rather involved. You could also do
  
  #(def-markup-command (bartokpizz layout props) ()
(ly:stencil-add
(make-circle-stencil 0.7 0.1 #f)
(ly:make-stencil
  (list 'draw-line 0.1 0 0.1 0 1)
  '(-0.1 . 0.1) '(0.1 . 1)
)))
  
 
 Oh, I see! No need to go trough the markup interpretation since markup
 commands should return a stencil.
 Beware though that without ly:stencil-translate-axis, the symbol will
 not be centered above the note but centered around the the left edge of
 the note, it seems... is there a way to (in the scheme above) make sure
 the stencil is centered above the note/chord that the markup is attached
 to?

No, you should play with self-alignment-X of TextItem. See other grobs
in define-grobs.scm for inspiration 

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED]
LilyPond Software Design - http://www.lilypond-design.com



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


Re: snap (bartok) pizz

2005-04-25 Thread Mats Bengtsson
Please, Sean always tell what version of LilyPond you are using and
please Jonatan, always tell what version of LilyPond the solution
works with.
To avoid confusion, I can tell you both that the function
make-circle-stencil was introduced in version 2.5.19 and is
not available in any stable version (which probably is what
Sean has installed).
   /Mats
Jonatan Liljedahl wrote:
On Sun, 24 Apr 2005 22:23:52 +0200
Sean Reed [EMAIL PROTECTED] wrote:

i've not been able to find an articulation symbol to indicate a snap
or bartok pizz. (see attached graphic)
have i overlooked something?
is there a markup or workaround for this?

This is how I do it, put this in your .ly file:
%
#(def-markup-command (bartokpizz layout props) ()
  (interpret-markup layout props
(markup #:stencil
  (ly:stencil-translate-axis
(ly:stencil-add
  (make-circle-stencil 0.7 0.1 #f)
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )
)
0.7 X
  )
)
  )
)
bartok = ^\markup \bartokpizz

And then just prepend \bartok to the notes that should have bartok
pizzicatto.
/Jonatan-=( http://kymatica.com )=-
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: snap (bartok) pizz

2005-04-25 Thread Sean Reed
hi mats,
On 25.04.2005, at 10:18, Mats Bengtsson wrote:
Please, Sean always tell what version of LilyPond you are using and
please Jonatan, always tell what version of LilyPond the solution
works with.
yeah, sorry. i usually do that. slipped my mind this time.
To avoid confusion, I can tell you both that the function
make-circle-stencil was introduced in version 2.5.19 and is
not available in any stable version (which probably is what
Sean has installed).
i've got 2.5.0 on one machine and 2.5.19 on the other.
thanks for the tip.
sean

   /Mats
Jonatan Liljedahl wrote:
On Sun, 24 Apr 2005 22:23:52 +0200
Sean Reed [EMAIL PROTECTED] wrote:
i've not been able to find an articulation symbol to indicate a snap
or bartok pizz. (see attached graphic)
have i overlooked something?
is there a markup or workaround for this?
This is how I do it, put this in your .ly file:
%
#(def-markup-command (bartokpizz layout props) ()
  (interpret-markup layout props
(markup #:stencil
  (ly:stencil-translate-axis
(ly:stencil-add
  (make-circle-stencil 0.7 0.1 #f)
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )
)
0.7 X
  )
)
  )
)
bartok = ^\markup \bartokpizz

And then just prepend \bartok to the notes that should have bartok
pizzicatto.
/Jonatan-=( http://kymatica.com )=-
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=

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


Re: snap (bartok) pizz

2005-04-25 Thread dax2
On Mon, 25 Apr 2005 10:18:57 +0200
Mats wrote:

 
 To avoid confusion, I can tell you both that the function
 make-circle-stencil was introduced in version 2.5.19 and is
 not available in any stable version (which probably is what
 Sean has installed).

It works with a little change: make_circle_stencil should
have only two parameters (in 2.5.19) I would like to know how I
get the tempo-indication away from the staff.

This has been mentioned before, so I will look it up. I like
realistic examples so I will post it again when I find out how to
make a little space for tempo and character (Lento).


\version 2.5.19

#(def-markup-command (bartokPizz layout props) ()
  (ly:stencil-add
  ;; (make-circle-stencil 0.7 0.1 #f)
  (make-circle-stencil 0.7 0.1 )
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )))

% -- 
% Han-Wen Nienhuys -


vlcello = {
\clef bass
\key a \major
\time 3/4
\tempo 4 = 62
   f8^\markup {Lento}-\markup{\bartokPizz }_\markup{(pizz)}
   g8^\markup { \bartokPizz }
   c'8^\markup { \bartokPizz }
   g,8^\markup { \bartokPizz }
   c16
   bes16
   e'8
   fis'4\ff^\markup { \bartokPizz }
   c,2^\markup { \bartokPizz }
   \bar |.
}

\score {
   \new Staff { \vlcello }
}

\layout { raggedright = ##t }




-- 
dax2-tele2adsl:dk -- http://d-axel.dk/  Donald Axel
attachment: bartokPizz.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


snap (bartok) pizz

2005-04-24 Thread Sean Reed
i've not been able to find an articulation symbol to indicate a snap or 
bartok pizz. (see attached graphic)

have i overlooked something?
is there a markup or workaround for this?
thanks,
sean

Sean Reed
Hamburg, Germany
Web: www.seanreed.de
inline: snapPizz.jpg___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: snap (bartok) pizz

2005-04-24 Thread Fairchild
Try this.  Ain't pretty and takes tuning.

Embedded PostScript code is another option - maybe better.

%%

\version 2.4.3
STUFF = {
\relative c' {
\override TextScript #'font-name = #cmbsy10
c4^\markup { \char #13 }
\once\override TextScript #'font-name = #cmex10
\once\override TextScript   #'extra-offset = #'(-9.75 . 1.1)
c^\markup { \char #12 }
c c c c c c
}%end relative
}%end STUFF
\score{
\STUFF
}%end score



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Sean Reed
Sent: Sunday, April 24, 2005 3:24 PM
To: lilypond-user's list
Subject: snap (bartok) pizz


i've not been able to find an articulation symbol to indicate a snap or 
bartok pizz. (see attached graphic)

have i overlooked something?

is there a markup or workaround for this?

thanks,
sean



Sean Reed
Hamburg, Germany
Web: www.seanreed.de





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


Re: snap (bartok) pizz

2005-04-24 Thread dax2
On Sun, 24 Apr 2005 16:19:20 -0500
Fairchild wrote:

 
 \version 2.4.3
   STUFF = {
   \relative c' {
 \override TextScript #'font-name = #cmbsy10
 c4^\markup { \char #13 }
 \once\override TextScript #'font-name = #cmex10
 \once\override TextScript   #'extra-offset = #'(-9.75 . 1.1)
 c^\markup { \char #12 }
 c c c c c c
   }%end relative
   }%end STUFF
   \score{
 \STUFF
   }%end score


The example works beautifully. I was using 2.4.5 to get a result.
2.5.19 came out with an internal error. However, \version actually
says 2.4.3, so it is ok.

Now with 2.4.5, even if output is splendid, I get these funny
messages.

Why:  no such encoding: Tex-math-extension???

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[...]
Calculating line breaks... 

programming error: no such encoding: TeX-math-extension
Continuing; crossing fingers

programming error: programming error: cross thumbs, using: latin1:
Continuing; crossing fingers
Layout output to `pizz-bartok.tex'...
Converting to `pizz-bartok.dvi'...
Converting to `pizz-bartok.ps'...
Converting to `pizz-bartok.pdf'...



Regards/Donald Axel
-- 
dax2-tele2adsl:dk -- http://d-axel.dk/  Donald Axel


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


Re: snap (bartok) pizz

2005-04-24 Thread Jonatan Liljedahl
On Sun, 24 Apr 2005 22:23:52 +0200
Sean Reed [EMAIL PROTECTED] wrote:

 i've not been able to find an articulation symbol to indicate a snap
 or bartok pizz. (see attached graphic)
 
 have i overlooked something?
 
 is there a markup or workaround for this?

This is how I do it, put this in your .ly file:
%
#(def-markup-command (bartokpizz layout props) ()
  (interpret-markup layout props
(markup #:stencil
  (ly:stencil-translate-axis
(ly:stencil-add
  (make-circle-stencil 0.7 0.1 #f)
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )
)
0.7 X
  )
)
  )
)

bartok = ^\markup \bartokpizz


And then just prepend \bartok to the notes that should have bartok
pizzicatto.

/Jonatan-=( http://kymatica.com )=-


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


Re: snap (bartok) pizz

2005-04-24 Thread Han-Wen Nienhuys
Op zo, 24-04-2005 te 23:48 -0300, schreef Jonatan Liljedahl:
  have i overlooked something?
  
  is there a markup or workaround for this?
 
 This is how I do it, put this in your .ly file:
 %
 #(def-markup-command (bartokpizz layout props) ()
   (interpret-markup layout props
 (markup #:stencil
   (ly:stencil-translate-axis
 (ly:stencil-add
   (make-circle-stencil 0.7 0.1 #f)
   (ly:make-stencil
 (list 'draw-line 0.1 0 0.1 0 1)
 '(-0.1 . 0.1) '(0.1 . 1)
   )
 )
 0.7 X
   )
 )
   )

this  is rather involved. You could also do

#(def-markup-command (bartokpizz layout props) ()
  (ly:stencil-add
  (make-circle-stencil 0.7 0.1 #f)
  (ly:make-stencil
(list 'draw-line 0.1 0 0.1 0 1)
'(-0.1 . 0.1) '(0.1 . 1)
  )))

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED]
LilyPond Software Design - http://www.lilypond-design.com



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