Re: PD to lillypond

2008-04-23 Thread Torsten Anders

You might look at fomus http://common-lisp.net/project/fomus/.

Best
Torsten

On Apr 23, 2008, at 3:26 AM, Jaime Oliver wrote:

Hello again,

I am developing a PD external that formats pairs of pd midi pitches  
and durations into lilypond scores. do any of you know of other  
externals / code I should be aware of?


best,

J

--
Jaime E Oliver LR

[EMAIL PROTECTED]
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-233667
Private: +44-1752-558917
http://strasheela.sourceforge.net
http://www.torsten-anders.de






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


Re: automatically place bars in a melody

2008-04-23 Thread Mats Bengtsson
Please read at http://lilypond.org/web/devel/participating/bugs on how 
to report LilyPond bugs.


  /Mats

Jaime Oliver wrote:

Hi Graham,

thanks for your response,
> What doesn't work about it?

1. it doesn't fill the bar to it's full capacity, some 4/4 bars have 
only 3 quarter notes worth, some have more.
2. when splitting notes with ties, the remainder (in the next bar) is 
not tied. that is: 


with "Completion_heads_engraver":

\time 4/4
c4 c4 c2.~ c4   


should produce:  c4 c4 c2~ | c4~ c4 or even better: c4 c4 c2~ | c2

but it produces:

c4 c4 c2~ | c4 c4

>If you find a bug, please file a
> minimal bug report.

I posted a bug report here:
http://code.google.com/p/lilypond/issues/detail?id=606&start=200 

is this fine? should I also post one in 
http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs?


best,

J



On Tue, Apr 22, 2008 at 8:37 PM, Graham Percival <[EMAIL PROTECTED] 
> wrote:


On Tue, 22 Apr 2008 19:20:31 -0700
"Jaime Oliver" <[EMAIL PROTECTED]
> wrote:

> \new Voice \with {
> \remove "Note_heads_engraver"
> \consists "Completion_heads_engraver"
> }
>
> but it doesn't seem to make the job correctly. Any suggestions are
> welcome.
>
> below is the code for a simple melody in which the present solution
> doesn't work.

What doesn't work about it?  If you find a bug, please file a
minimal bug report.

Cheers,
- Graham




--
Jaime E Oliver LR

[EMAIL PROTECTED] 
www.realidadvisual.org/jaimeoliver 


www-crca.ucsd.edu/ 
www.realidadvisual.org 

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA


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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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: Phrasing Slurs and normal slurs

2008-04-23 Thread Han-Wen Nienhuys
2008/4/22 Werner LEMBERG <[EMAIL PROTECTED]>:
> > I was typesetting some music with Lilypond when I got to a bar that
>  > looked like this:
>  >
>  > http://www.nabble.com/file/p16821318/1.jpg
>
>  This is a long-standing bug which is not easy to fix, unfortunately --
>  mainly because Han-Wen, how has written the code and is acquainted
>  best, has not enough time to take care of.

You can manually position the phrasing slur a little higher.  I
suspect the arc is there because it tries to avoid the slurs at end
and beginning.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: Phrasing Slurs and normal slurs

2008-04-23 Thread Werner LEMBERG
> > > I was typesetting some music with Lilypond when I got to a bar that
> >  > looked like this:
> >  >
> >  > http://www.nabble.com/file/p16821318/1.jpg
> 
> You can manually position the phrasing slur a little higher.  I
> suspect the arc is there because it tries to avoid the slurs at end
> and beginning.

Maybe this can be implemented easily?  Just to move phrasing slurs
away from the note heads a bit?


Werner


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


Re: PD to lillypond

2008-04-23 Thread padovani

How do you plan to deal with durations?
It would be nice to have have the choice to write the score with 
proportional notation (duration would be exactly translated in space 
between quarter-notes) or quantification of time (with a message that 
tells your external which possible subdivisions of the beat you allow).
I am doing something like this quantification on Common Lisp, but it 
would be nice to have some lilypond code that creates proportional 
notation with note-spacing and a seconds grid above the score... (maybe 
with postscript markups above skips)..
Althought quantification is more detailed, proportional notation is a 
very good tool when composing (even as a sketch or a composing plan)..


Jaime Oliver escreveu:

Hello again,

I am developing a PD external that formats pairs of pd midi pitches 
and durations into lilypond scores. do any of you know of other 
externals / code I should be aware of?


best,

J

--
Jaime E Oliver LR

[EMAIL PROTECTED] 
www.realidadvisual.org/jaimeoliver 


www-crca.ucsd.edu/ 
www.realidadvisual.org 

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA


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




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


Re: SacredHarpHeads: possible solution to major/minor problem

2008-04-23 Thread Neil Puttock
On 23/04/2008, Adrian Mariano <[EMAIL PROTECTED]> wrote:
> I think your approach is reasonable.  (It should handle the dorian mode
> properly.)  I tested it in minor mode and dorian mode on some stuff I have
> handy and everything looked good.  As it happens, I have nothing typed in in
> the major, so I did a less rigorous test there and didn't see any problems.

I've tested it on every key, swapping between major and minor, without
encountering any problems; it seems to work fine even for outlandish
keys with double flats and sharps.

>  I did have one problem initially where I got random (?) shape assignments.

That's a bit worrying. Can you post a minimal example for this?

As I mentioned in the limitations, the only situation I've seen where
it won't work is something like this:

\relative c' {
 % no explicit Staff context, so default tonic not set
  \sacredHarps
 % shapeNoteStyles not set, standard glyphs used for note heads
  c d e f g a b c
}

> This was because the \sacredHarps command appeared before the \key command
> so (presumably) no tonic was defined.  It definitely does seem like an error
> message would be good.   It appears that the main disadvantage of this
> approach over the two commands approach is the need to position the command
> more carefully.

If the limitation with MIDI can be overcome, then an error message
would certainly be desirable; it might be a good idea to set the major
sacred harp head style as a default at the same time.

I'm afraid the positioning limitation is unavoidable since there's no
callback involved in setting shapeNoteStyles; it would have to be
hard-coded in the engraver to overcome this.

Regards,
Neil


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


Re: PD to lillypond

2008-04-23 Thread Jaime Oliver
hello again,

> You might look at fomus http://common-lisp.net/project/fomus/.

thanks, i was aware of it; it is perfectly relevant.

> How do you plan to deal with durations?

Well, so far I am feeding integers produced by patches in pd. these integers
have a reference duration (like 1 = 16th, 2 = 8th, etc.). I am also allowing
floating point info like 1.33 1.33 1.33 to make tupletsso no quantization or
proportional notation is needed so far for this external (because input is
precise) , although others are on the works and I agree that proportional
duration would be really nice, I'll keep it in mind.

On Wed, Apr 23, 2008 at 8:34 AM, padovani <[EMAIL PROTECTED]> wrote:

>
> It would be nice to have have the choice to write the score with
> proportional notation (duration would be exactly translated in space between
> quarter-notes) or quantification of time (with a message that tells your
> external which possible subdivisions of the beat you allow).
> I am doing something like this quantification on Common Lisp, but it would
> be nice to have some lilypond code that creates proportional notation with
> note-spacing and a seconds grid above the score... (maybe with postscript
> markups above skips)..
> Althought quantification is more detailed, proportional notation is a very
> good tool when composing (even as a sketch or a composing plan)..
>
> Jaime Oliver escreveu:
>
>> Hello again,
>>
>> I am developing a PD external that formats pairs of pd midi pitches and
>> durations into lilypond scores. do any of you know of other externals / code
>> I should be aware of?
>>
>> best,
>>
>> J
>>
>> --
>> Jaime E Oliver LR
>>
>> [EMAIL PROTECTED] 
>> www.realidadvisual.org/jaimeoliver <
>> http://www.realidadvisual.org/jaimeoliver>
>> www-crca.ucsd.edu/ 
>> www.realidadvisual.org 
>>
>> 9168 Regents Rd. Apt. G
>> La Jolla, CA 92037
>> USA
>> 
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
>


-- 
Jaime E Oliver LR

[EMAIL PROTECTED]
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Looking inside markup

2008-04-23 Thread Peter Chubb

On my quest for better MIDI, I'm trying to deal with alterations on a
turn.  How do I look `inside' a markup sequence?

What I've tried is:
  (let* ((t (ly:music-property e 'text)))
   (cond 
((equal? t (markup #:line (#:flat)))
  (set! alteration -1/2))
((equal? t (markup #:line (#:sharp)))
  (set! alteration 1/2

but this never matches.

The music looks something like:
d^\markup{\flat}^\turn^\markup{\sharp}




--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia


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