Print Double Percent Repeat inside a markup

2015-08-28 Thread Caio Giovaneti de Barros
Hello! I want to print a double percent repeat inside a markup so I can use it as a graphic in a footnote. How can I do that? I read in the manual - lilypond.org/doc/v2.19/Documentation/notation/short-repeats under "/Isolated percent repeats" /- that it is possible to print a single percen

Re: Print Double Percent Repeat inside a markup

2015-08-29 Thread Caio Giovaneti de Barros
Thanks guys! On 28-08-2015 15:26, tisimst wrote: On 8/28/2015 12:18 PM, Stephen MacNeil [via Lilypond] wrote: > how is Nice! That looks like a good one, too! Isn't it great to have this kind of flexibility? I love it! - Abraham I'm tinkering here with Stephen's code to try to draw the second

Re: Print Double Percent Repeat inside a markup

2015-08-30 Thread Caio Giovaneti de Barros
On 29-08-2015 21:56, Thomas Morley wrote: If you want to stick to LilyPond's markup-commands, I'd suggest to split construction into steps otherwise it's confusing. Awesome! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/

Text centralized above a TextSpan

2015-09-02 Thread Caio Giovaneti de Barros
Hi, Is it possible to have text centralized above a TextSpan? I've already saw in the documentation text added in the middle of hairpins and of course there is a tuplet number or fraction in the middle of the tuplet bracket. But it seems that in Text Span this is not so easy to do. Thanks! C

Re: Text centralized above a TextSpan

2015-09-03 Thread Caio Giovaneti de Barros
On 02-09-2015 10:08, Andrew Bernard wrote: I am not sure how long you may have been following things, but this topic came up for me recently, and there is various discussion in the archives. Yes, I made a search through the list the best I could, but I didn't find this (maybe the titles ar

A twelve tone matrix engraver

2016-01-02 Thread Caio Giovaneti de Barros
Hi! I've been working on a automatic way to engrave a 12 tone row matrix in Lilypond (See, for instance, http://unitus.org/FULL/12tone.pdf for an explanation of what it is). I'm doing it as a project to teach myself Scheme. I wanted to have something concrete to work with wile learning and cr

Re: A twelve tone matrix engraver

2016-01-03 Thread Caio Giovaneti de Barros
Hello! On 02-01-2016 15:52, Urs Liska wrote: Hi, unfortunately I have only *very* limited time right now, but this looks absolutely great! Thanks! Just one minor suggestion: I'd insert \accidentalStyle dodecaphonic in the \layout block. That's a good idea. The less ambiguity the bet

Re: A twelve tone matrix engraver

2016-01-03 Thread Caio Giovaneti de Barros
On 02-01-2016 16:18, David Kastrup wrote: It might also be worth taking a look at the facilities provided by issue 4702 http://sourceforge.net/p/testlilyissues/issues/4702/> to see how (or whether) they would have helped here. Do you think you could write some small example of what those func

Re: A twelve tone matrix engraver

2016-01-03 Thread Caio Giovaneti de Barros
Hi Kieren On 02-01-2016 16:22, Kieren MacMillan wrote: 1. How difficult would it be to add a function which produced a row in “traditional format”, i.e., \tonerow #”RI4” would give you [from your example] { a’ gs’ c’’ d’’ ds’’ fs’ f’ e’ cs’’ g’ b’ as' } Not difficult at all! Try the attached f

Re: A twelve tone matrix engraver

2016-01-04 Thread Caio Giovaneti de Barros
These objects are excellent! On 03-01-2016 11:31, David Kastrup wrote: Caio Giovaneti de Barros writes: On 02-01-2016 16:18, David Kastrup wrote: It might also be worth taking a look at the facilities provided by issue 4702 http://sourceforge.net/p/testlilyissues/issues/4702/> to see how (or

Re: Programmatically building music-function names

2016-01-15 Thread Caio Giovaneti de Barros
On 15-01-2016 15:06, Chris Yate wrote: What I'm trying to do instead looks like: ``` printTheScore = #(define-music-function (parser location number ) (string? ) #{ \score { \music#number } #}) \printTheScore "One" \printTheScore "Two" ``` Maybe something like this... but If I un

Square note head style

2016-01-25 Thread Caio Giovaneti de Barros
Hi, I'm needing a note head style with square note heads. Ideally it should be filled for black note heads and open for white notes. I'm struggling to understand how to change the note head stencil, let alone change it according to note duration. Con someone, please, help? Thanks! Caio

Re: Square note head style

2016-01-26 Thread Caio Giovaneti de Barros
On 26-01-2016 02:06, Bockett Hunter wrote: Are you trying to set mensural notation? If so, \override Voice.NoteHead #'style = #'neomensural will do what you want. Actually, no. I'm using it in a contemporary piece to indicate to stroke the piano strings with a pick. I need a real square,

Re: Square note head style

2016-01-26 Thread Caio Giovaneti de Barros
On 25-01-2016 19:18, Pierre Perol-Schneider wrote: Hi Caio, How about: Thanks Pierre, that's it! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Rests in Dynamics context

2016-01-26 Thread Caio Giovaneti de Barros
Is there a way to write rests in the Dynamics context? (or something like it) I'm engraving a piece for piano in which there are rests used by both staves. It would be much cleaner for the musician to read some of the rests between staves (same as dynamics in the Dynamics context). So far th

Re: Rests in Dynamics context

2016-01-26 Thread Caio Giovaneti de Barros
I think that's it. You saved me again, Pierre! On 26-01-2016 14:57, Pierre Perol-Schneider wrote: \new PianoStaff << \new Staff { s4 e'4 s2 e'4 } \new Dynamics \with { \consists "Rest_engraver" } { r4 s4 r2 s4 r1 } \new Staff { \clef F s4 c s2 c4 } >> ___

Re: Rests in Dynamics context

2016-01-26 Thread Caio Giovaneti de Barros
On 26-01-2016 14:56, Urs Liska wrote: I don't think so. But you can try using a regular Staff and adjust it by hiding/omitting everything you don't want: Yes, i like this idea, but it still takes too much space, that's why I thought about using the Dynamics context. The ideal solution w

Re: Rests in Dynamics context

2016-01-26 Thread Caio Giovaneti de Barros
sts "Dots_engraver" \consists "Dot_column_engraver" } { r4. s4 r2 s4 r1 } \new Staff { \clef F s4 c s2 c4 } >> On 26-01-2016 15:09, Urs Liska wrote: Am 26.01.2016 um 18:01 schrieb Caio Giovaneti de Barros: I think that's it. You saved me again, Pierre! Yes

proportional horizontal space in accelerando and ritardando

2016-01-26 Thread Caio Giovaneti de Barros
Here's a problem more or less common in contemporary music notation (and very common in contemporary me, right now) In some pieces of music it's common to reflect accelerandos and ritardandos by proportionally increasing and decreasing (respectively) the distance between notes. Here is an ex

Re: Rests in Dynamics context

2016-01-26 Thread Caio Giovaneti de Barros
That's nice! It can be very useful for writing instructions for the players. Adding the rest and dots engravers to the Dynamics context was the solution of choice for me, though. On 26-01-2016 18:15, Thomas Morley wrote: For the record, we have a rest-markup-command. https://sourceforge.ne

Re: proportional horizontal space in accelerando and ritardando

2016-01-26 Thread Caio Giovaneti de Barros
On 26-01-2016 18:48, Malte Meyn wrote: This is already implemented; see section 1.2.4 of the notation reference (this is called “feathered beams”). You are right. I guess after 4 hours of music editing my brain went on strike ___ lilypond-user mai

Re: proportional horizontal space in accelerando and ritardando

2016-01-26 Thread Caio Giovaneti de Barros
Thanks!! On 26-01-2016 19:12, Pierre Perol-Schneider wrote: Oops my fault. So here it goes: \version "2.19.35" \relative c'' { \set Score.proportionalNotationDuration = #(ly:make-moment 1/40) \override Beam.grow-direction = #RIGHT \featherDurations #(ly:make-moment 2/3) { e32[ \ove

attach glissandi to stems instead of noteheads

2016-01-27 Thread Caio Giovaneti de Barros
I'm trying to draw a suggestion for glissando in changing directions. The ideal notation would be beamed stems without note heads connected by glissandi. Here's what I got so far: \version "2.19.35" \relative c' { \override NoteHead.stem-attachment = #'(0 . 0) \hide NoteHead \override Glis

Re: attach glissandi to stems instead of noteheads

2016-01-27 Thread Caio Giovaneti de Barros
thickness = #5 \override Glissando.bound-details.left.padding = #0 \override Glissando.bound-details.right.padding = #0 e8[\glissando g\glissando b\glissando g\glissando e\glissando d'\glissando e,] } On 27-01-2016 15:37, Caio Giovaneti de Barros wrote: I'm trying to draw a suggestion f

Re: attach glissandi to stems instead of noteheads

2016-01-27 Thread Caio Giovaneti de Barros
note-head =##t \override Glissando.minimum-length = #5 \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods \override Glissando.thickness = #4 \override Glissando.bound-details =#'( (right (attach-dir . 1) (padding . 0)) (left (attach-di

Sustain pedal cautionary after line break

2016-01-27 Thread Caio Giovaneti de Barros
I would like to add a cautionary indication that the sustain pedal should remain pressed after a line break, so in the code below ideally there would be a (Ped.) in the second line. Any suggestions? \version "2.19.35" \relative c'' { \set Staff.pedalSustainStyle = #'mixed c1\sustainOn \brea

Re: Sustain pedal cautionary after line break

2016-01-27 Thread Caio Giovaneti de Barros
On 27-01-2016 19:30, Pierre Perol-Schneider wrote: Hi Caio, Here's a possible workaround: Awesome, Pierre! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lyp - a Package Manager for Lilypond

2016-01-29 Thread Caio Giovaneti de Barros
On 28-01-2016 19:52, Sharon Rosner wrote: Hello all, I'd like to announce lyp - a package manager for Lilypond: https://github.com/noteflakes/lyp Great work, Sharon! I'm very excited! ___ lilypond-user mail

Re: Learning more complicated lilypond coding

2016-01-29 Thread Caio Giovaneti de Barros
The "s" is an invisible rest (or spacer rest): http://www.lilypond.org/doc/v2.19/Documentation/notation/writing-rests#invisible-rests On 29-01-2016 21:27, Charles O. Lawrence wrote: Thanks Trevor for the “hack”. I understand the code, but what is the s, and where is it documented? Charles

Music function for arrow directions in arpeggios

2016-02-23 Thread Caio Giovaneti de Barros
I'm trying to write a function to make easier for me to change arrow directions in arpeggios. When writing music for guitar is very annoying to be constantly changing the arrow directions. Consider, for instance: \relative c' { \arpeggioArrowDown 8.\arpeggio \arpeggioArrowUp q16\arpeggio \

Re: Music function for arrow directions in arpeggios

2016-02-23 Thread Caio Giovaneti de Barros
2.2016 um 15:52 schrieb Caio Giovaneti de Barros: I'm trying to write a function to make easier for me to change arrow directions in arpeggios. I would prefer an event function with a tweak: \version "2.19.36" arpeggioUp = \tweak arpeggio

Re: (hypothetical) Availability of LilyPond engravers

2015-04-16 Thread Caio Giovaneti de Barros
On 16-04-2015 21:31, Urs Liska wrote: Am 17.04.2015 um 02:16 schrieb Jay Anderson: On Thu, Apr 16, 2015 at 11:03 AM, Urs Liska wrote: If I should be asked to engrave a big score (as fast as possible) in a commercial context and wouldn't want to reply "well, I will ask around and see how

Defining a markup text using Scheme

2015-07-20 Thread Caio Giovaneti de Barros
Hello! I'm trying to build a function that creates a circled text of my choice using \markup and a bit of Scheme. So far what I have is: circled = #(define-music-function (parser location txt) (string?) #{ \markup { \circle #txt } #}) \relative c' { c \circled #"1" } But when I run it wi

Re: Arrow on cross-staves arpeggio

2017-01-18 Thread Caio Giovaneti de Barros
The above doesn't work: it produces an arpeggiando sign across the two staves as required, but without the requested arrow head. Man, you read my mind. I was trying to solve the exact same problem just now. Caio ___ lilypond-user mailing list lily

Embedding eps over staff lines and music as graphical notation

2016-04-28 Thread Caio Giovaneti de Barros
How can I insert an EPS file over the staff lines, ignoring collisions? I want to suggest random notes played from high to low pitches with graphical notation by inserting the attached eps file, linking the first note with the last, in the following snippet. I can't find how to make lilypond i

Re: Embedding eps over staff lines and music as graphical notation

2016-04-29 Thread Caio Giovaneti de Barros
Em 28-04-2016 18:01, Thomas Morley escreveu: 2016-04-28 15:35 GMT+02:00 Caio Giovaneti de Barros : How can I insert an EPS file over the staff lines, ignoring collisions? Is the below of some help? \version "2.19.35" impMrkp = %\tweak staff-padding #'() %% not sure if

Re: Embedding eps over staff lines and music as graphical notation

2016-04-29 Thread Caio Giovaneti de Barros
ot; { \relative c''' { \stemDown \textLengthOn b32[ \impMrkp \change Staff = "DOWN" b,,] } } \new Staff = "DOWN" { \relative c''' { s16 } } >> Em 29-04-2016 10:01, Caio Giovaneti de Barros escreveu: Em 28-0

Re: Embedding eps over staff lines and music as graphical notation

2016-04-29 Thread Caio Giovaneti de Barros
\markup { \hspace #3 \vcenter \epsfile #X #25 #"improv.eps" } << \new Staff = "UP" { \relative c''' { \stemDown \textLengthOn b32[ \impMrkp \change Staff = "DOWN" b,,] } } \new Staff = "DOWN" { \relative c&#x

Re: Choice of pitch input mode

2016-04-29 Thread Caio Giovaneti de Barros
On 4/29/16 7:27 AM, "Carl Sorensen" wrote: About a year ago, Kieren indicated that he has decided to go completely absolute mode, even to the point of redoing his historic code: https://lists.gnu.org/archive/html/lilypond-user/2015-04/msg00846.html I was not aware of Kieren's opinion, but a

Remove staff in one particular section

2016-07-07 Thread Caio Giovaneti de Barros
Can I remove a staff in a single section? Like \removeEmptyStaves but not for the whole score. In my case it is just for the last system. Sorry if this topic was already discussed, I searched the manuals and archive but I'm in a bit of a hurry now to be honest. _

Trying to make pitch and duration independent

2016-10-05 Thread Caio Giovaneti de Barros
I've been experimenting with building a function that can accept different durations/rhythm for given pitches and vice versa. I don't know if that is already possible, but I don't seem to find any reference to it, except: http://lsr.di.unimi.it/LSR/Item?id=346 (different pitches with same rhy