grace note bug?

2015-01-04 Thread Jaime E Oliver
Hi everyone, 

I am not sure if this is a bug, or just improper use, but, when using a single 
grace note expression with two notes such as:
\slashedGrace {a'32 a32} 
I get the expected result.

But when I use two subsequent ones such as:
\slashedGrace {a'32} \slashedGrace {a32}
I get the wrong score representation. 

I am assuming it is a bug as the software should be able to parse it. While it 
seems unusual for a human to write that, it would not be uncommon in computer 
generated material. 

Below is a testing code. 

All the best,

Jaime





\relative c'' {

\time 4/4

% example 1 correct
a4 \slashedGrace {a'32 a32}
d,4  d2

% example 2 bug?
a4 \slashedGrace {a'32} \slashedGrace {a32}
d,4  d2

}

\version 2.18.2
% notes Pd External version: testing_0.01


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


Re: grace note bug?

2015-01-04 Thread Jaime E Oliver
Hi all, thanks for the responses. Indeed the slashed grace is the wrong example 
as the slashing is not supported for more than one note, which I agree is an 
oversight as it is common in contemporary music.

However if you look at it with /grace, I mean that:  

\grace {a32 a32}
should probably be the same as:
\grace {a32} \grace {a32}

The way I saw it was that two \grace expressions should render two grace notes 
in a row since I did not get a warning at all, just a weird score. 

I can adapt to this behavior of course.

Thanks again for your responses.

best,

J


On Jan 3, 2015, at 7:02 PM, Jaime E Oliver jaime.oliv...@gmail.com wrote:

 Hi everyone, 
 
 I am not sure if this is a bug, or just improper use, but, when using a 
 single grace note expression with two notes such as:
 \slashedGrace {a'32 a32} 
 I get the expected result.
 
 But when I use two subsequent ones such as:
 \slashedGrace {a'32} \slashedGrace {a32}
 I get the wrong score representation. 
 
 I am assuming it is a bug as the software should be able to parse it. While 
 it seems unusual for a human to write that, it would not be uncommon in 
 computer generated material. 
 
 Below is a testing code. 
 
 All the best,
 
 Jaime
 
 
 
 
 
 \relative c'' {
 
 \time 4/4
 
 % example 1 correct
 a4 \slashedGrace {a'32 a32}
 d,4  d2
 
 % example 2 bug?
 a4 \slashedGrace {a'32} \slashedGrace {a32}
 d,4  d2
 
 }
 
 \version 2.18.2
 % notes Pd External version: testing_0.01
 


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


Re: adding stems to clusters

2014-12-30 Thread Jaime E Oliver
Thanks Piaras, I'll try them out.

I forgot to attach the xenakis example. Here it is,

best,

J



On Dec 30, 2014, at 10:36 AM, Piaras Hoban phoba...@googlemail.com wrote:

 Dear List,
 
 I sent the following to Jaime E Oliver so I wanted to post it here also.
 
 It's my code for special glissandi.
 
 It's still personal code so naturally it can't be guaranteed to work for all 
 use cases; all I can is that it works well for my needs.
 
 With a view to making these functions more effecient I was wondering if the 
 fact that I've used a lot of embedded postscript code is a bad thing? 
 Postscript has some nice functionality for looping and repeating drawing 
 commands which is one of the reasons I was drawn to it. 
 
 The main thing to watch out for is that this code doesn't behave across 
 line-breaks; I imagine this wouldn't be trivial to implement and so haven't 
 been too concerned by it. It would be amazing to have this, especially if 
 working on scores involving large groups of instruments.
 
 I plan to have some down time in February/March when I can get around to 
 tidying up some other code and putting it out there for those who might be 
 interested.
 
 all the best,
 
 piaras
 
 ​
  variable_glissando_lines.zip
 ​​
  special_technique_glissandi.zip
 ​
 
 On 30 December 2014 at 11:04, Thomas Morley thomasmorle...@gmail.com wrote:
 2014-12-30 3:43 GMT+01:00 Jaime E Oliver jaime.oliv...@gmail.com:
  Dear David, all,
 
  Thanks for your responses.
 
  Ideally I want to make a graphic notation for overpressure bowing similar to
  the xenakis excerpt attached.
 
  I was thinking of adding stems to a cluster-band as a hopefully day
  solution, but I see it is not so easy. I did try the new voice hack, but
  didn't feel very elegant (not that I could do much better than that).
 
  Example 15) from Piaras does look great. I'll write him to enquire.
 
 Code for the stockhausen-glissando:
 http://lists.gnu.org/archive/html/lilypond-user/2013-11/msg00757.html
 
 Cheers,
   Harm
 
 ___
 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: Error with glissando and glissando spans

2014-12-29 Thread Jaime E Oliver
yes, that's perfect thanks!
J
On Dec 29, 2014, at 7:21 AM, Gagi Petrovic gagig...@gmail.com wrote:

 Hi Jaimie, 
 
 i just stumbled on the same issue. For me   
 
 \override Glissando.breakable = ##t
 \override Glissando.after-line-breaking = ##t
 
 together work well and without any error in the log.
 
 Cheers!
 Gagi
 
 On 4 December 2014 at 16:35, Jaime E Oliver jaime.oliv...@gmail.com wrote:
 Thanks,
 
 I still get the error in the log, but it draws the score correctly.
 
 best,
 
 J
 
 
 On Dec 4, 2014, at 2:58 AM, Marc Hohl m...@hohlart.de wrote:
 
  Am 04.12.2014 um 07:03 schrieb Jaime E Oliver:
  Dear All,
 
  I am getting the following error:
  Error: programming error: bounds of this piece aren't breakable.
 
  I vaguely remember having run into the same problem.
  Glissandi aren't breakable by default, so you have to explicitly allow a 
  break here:
 
  \override Glissando.breakable = ##t
 
  HTH,
 
  Marc
 
 
  ___
  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


adding stems to clusters

2014-12-29 Thread Jaime E Oliver
Hi all, 

Is there a way to add stems to cluster events made with something like 
 \makeClusters { c e8 c e8 c e8 c e8 c e8 }
so that there is a sense of the underlying rhythmic structure?

best,

J



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


Re: adding stems to clusters

2014-12-29 Thread Jaime E Oliver
Dear David, all, 

Thanks for your responses.

Ideally I want to make a graphic notation for overpressure bowing similar to 
the xenakis excerpt attached.

I was thinking of adding stems to a cluster-band as a hopefully day solution, 
but I see it is not so easy. I did try the new voice hack, but didn't feel very 
elegant (not that I could do much better than that).

Example 15) from Piaras does look great. I'll write him to enquire. 

All the best,

J

On Dec 29, 2014, at 8:11 PM, David Nalesnik david.nales...@gmail.com wrote:

 
 
 On Mon, Dec 29, 2014 at 6:43 PM, David Nalesnik david.nales...@gmail.com 
 wrote:
 Hi again,
 
 On Mon, Dec 29, 2014 at 6:06 PM, David Nalesnik david.nales...@gmail.com 
 wrote:
 Hi Jaime,
 
 I'll look into lengthening it to reach the stem.
 
 
 Not at all easy, I'm afraid.  Are you looking for the cluster-band sort of 
 notation, or would individual clusters per stem suffice (like Cowell, for 
 example)?  Possibly the latter would be easier to implement.
 
 Here's a simple test.  (A rounded box might be preferable.)
 
  \version 2.19.15
 
 {
   \hide NoteHead
   \override NoteColumn.stencil =
   #(lambda (grob)
  (let* ((noteheads (ly:grob-object grob 'note-heads))
 (ext-X (ly:relative-group-extent noteheads grob X))
 (ext-Y (ly:relative-group-extent noteheads grob Y)))
  (make-filled-box-stencil ext-X ext-Y)))
   c'' e''4. q8~ 4 c' a'16 q q q~ q4
 }
 
 [See attached image.]
 
 Hope this is helpful--
 
 David
 clusters.png

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


Re: setting text span to breakable?

2014-12-05 Thread Jaime E Oliver
Thanks! This works fine. 
I wonder where is the documentation for these overrides so I can at least try 
to find a experiment before writing the list…
best,
J


On Dec 5, 2014, at 4:30 AM, Pierre Perol-Schneider 
pierre.schneider.pa...@gmail.com wrote:

 Hi Jaime,
 
 2014-12-05 5:21 GMT+01:00 Jaime E Oliver jaime.oliv...@gmail.com:
  
 Is there a way to write the texts at the beginning and end of the line and 
 not at the breaking points? In other words, to have the text only at the 
 leftmost and rightmost bounds?
  
 Simply add in the layout :
 
 \override TextSpanner.bound-details.right-broken.text = ##f
 \override TextSpanner.bound-details.left-broken.text = ##f
 
 Cheers,
 Piere
 

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


Re: Error with glissando and glissando spans

2014-12-04 Thread Jaime E Oliver
Thanks, 

I still get the error in the log, but it draws the score correctly.

best,

J


On Dec 4, 2014, at 2:58 AM, Marc Hohl m...@hohlart.de wrote:

 Am 04.12.2014 um 07:03 schrieb Jaime E Oliver:
 Dear All,
 
 I am getting the following error:
 Error: programming error: bounds of this piece aren't breakable.
 
 I vaguely remember having run into the same problem.
 Glissandi aren't breakable by default, so you have to explicitly allow a 
 break here:
 
 \override Glissando.breakable = ##t
 
 HTH,
 
 Marc
 
 
 ___
 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


setting text span to breakable?

2014-12-04 Thread Jaime E Oliver
Hi again, 

I have a similar problem as I did with the glissandos. 

If I generate a text spanner with a beginning and an end. (such as in the 
example sul pont -- ord.) and it breaks over two lines of music, I'd like 
to have the sul pont. in the first line and ord in the second with a broken 
line, but instead lilypond places sul pont at the beginning of the expression 
then ord at the end of the line, then again in the next line sul pont. and then 
ord at the end. 

Is there a way to write the texts at the beginning and end of the line and not 
at the breaking points? In other words, to have the text only at the leftmost 
and rightmost bounds?

This is again on latest lilypond 2.18.2-1 on os x 10.8.5 and the code below 
reproduces it.

best,

J

\header {
title = writing text spans 
}

inst_part = \relative c' 
{

\time 4/4

\clef treble 
% bar 1 :
 
\once \override TextSpanner.bound-details.left.text = #sul tasto  
\once \override TextSpanner.bound-details.right.text = # sul pont  
\once \override TextSpanner.bound-details.right.arrow = ##t 
\once \override TextSpanner.style = #'line 
dis2\startTextSpan
cis8[ f8]
f8[ f8] |
% bar 2 :
cis8[ e8]
g8[ dis8]
f8[ f8]
dis8[ f8] |
% bar 3 :
dis8[ g8]
fis8[ cis8]
dis8[ cis8]
g'8[ f8] |
% bar 4 :
c8[ cis8]
cis8[ f8]
f8[ d8]
cis8[ e8] |
% bar 5 :
g8[ e8]
g8[ f8]
d8[ fis8]
d8[ cis8] |
% bar 6 :
f2\stopTextSpan
}

\score {
\new Staff {
\new Voice {
\inst_part
}
}
\layout {
\override TextSpanner.bound-padding = #1.0
\override TextSpanner.bound-details.right.padding = #1.3
\override TextSpanner.bound-details.right.stencil-align-dir-y = 
#CENTER
\override TextSpanner.bound-details.left.stencil-align-dir-y = 
#CENTER
#(set-default-paper-size a4)
}
\midi { }
}

\version 2.18.2
% notes Pd External version testing 


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


Error with glissando and glissando spans

2014-12-03 Thread Jaime E Oliver
Dear All, 

I am getting the following error:
Error: programming error: bounds of this piece aren't breakable.

in a passage that contains glissandos and glissando spans that go over the bar 
line in all bars… so instead of breaking the glissando and continuing it in the 
next line it just keeps writing the first line off the paper.

The score below is generating the error. 
I am using lilypond version 2.18.2-1, on OS X 10.8.5.

best,

J

glissandoSkipOn = {
\override NoteColumn.glissando-skip = ##t
\hide NoteHead
\hide Accidental
\hide Tie
\override NoteHead.no-ledgers = ##t
}

glissandoSkipOff = {
\revert NoteColumn.glissando-skip
\undo \hide NoteHead
\undo \hide Tie
\undo \hide Accidental
\revert NoteHead.no-ledgers
}

inst_part = \relative c'' 
{

\time 4/4

\clef treble 
% bar 1 :
 cis16~[ cis16\glissando c8]\glissando \glissandoSkipOn
c2
c8[\glissandoSkipOff \slashedGrace {cis16}  d16~ 
d16]\glissando \slashedGrace {e16}  |
% bar 2 :
d16~[ d8.]\glissando \glissandoSkipOn
d4
d16[\glissandoSkipOff \slashedGrace {e16}  fis,16 gis16~ 
gis16]\glissando \glissandoSkipOn
gis4 |
% bar 3 :
gis4.
gis16[\glissandoSkipOff \slashedGrace {fis16}  dis,16]
fis16[ dis16~ dis8]\glissando \glissandoSkipOn
dis4 |
% bar 4 :
dis8[\glissandoSkipOff \slashedGrace {fis16}  a16~ a16]\glissando
c2\glissando \slashedGrace {a16} 
ais''16[ c16~ c8]\glissando \glissandoSkipOn |
% bar 5 :
c4.\glissandoSkipOff \slashedGrace {ais16} 
cis16[ dis16~]
dis2\glissando \slashedGrace {cis16}  |
% bar 6 :
f,,16~[ f16\glissando dis8]\glissando \glissandoSkipOn
dis2
dis8[\glissandoSkipOff \slashedGrace {f16}  a'16~ 
a16]\glissando \slashedGrace {fis16}  | 
}

\score {
\new Staff {
\new Voice {
\inst_part
}
}
\layout {
\override Glissando.thickness = #4
\override Glissando.minimum-length = #4
\override Glissando.springs-and-rods = 
#ly:spanner::set-spacing-rods
#(set-default-paper-size a4)
}
\midi { }
}

\version 2.18.2
% notes Pd External version testing 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond encoder for Pure Data

2014-07-26 Thread Jaime E Oliver
Hi all, 

I have been working on a new Pure Data external for music notation that is 
probably ready for testing. I have been using this external for my own work and 
thought other people might benefit from it too, so if there are any Pd users in 
this list, you might want to try it.

The external fits information generated on a patch into traditional music 
notation, and encodes it into lilypond syntax.

To get the code, osx and linux binaries, go to: 
http://nyu-waverlylabs.org/notes/

Here is a small video: https://www.youtube.com/watch?v=UE8l5k1SeWk

All the best,

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


Re: shiftOn shifts to the left

2014-07-19 Thread Jaime E Oliver
Have you tried

\mergeDifferentlyHeadedOn

?

On Jul 19, 2014, at 8:56 AM, Alberto Simoes a...@perl-hackers.net wrote:

 Hello,
 
 I am trying to make the two e in the picture not to collide.
 
 That example is a staff with two voices.
 The lower voice then splits in that measure:
 
 
  { e g a ~ | fis a2. }
  \new Voice { \stemDown \shiftOn e2. | s2. }
 
 
 But the e2. gets in the left, not in the right, as I would like.
 In the other hand, if I put the shiftOn before the e g a measure, the e2. 
 stays in the position, and e goes to the left... and misses the alignment 
 with the above voice...
 
 Any idea on how to obtain the desired result?
 
 Thank you,
 Alberto
 sample.gif___
 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