Re: broken octaves

2008-07-29 Thread Stefan Thomas
Dear Jay, I tried something with: quintrauf = #(define-music-function (parser location x) (ly:music?) #{ $x \transpose c g { $x } #}) \new Staff { \quintrauf c' \quintrauf d' \quintrauf e' \quintrauf f' } With copy and paste You can be very fast with the

Re: broken octaves

2008-07-28 Thread Stefan Thomas
Dear Jay, You wrote : What should the output be? {c4 g' b, f' c g'} or {c4 g' b, fis' c g'}. In my case, I'm much more interested in the second case {c4 g' b, fis' c g'}. Because I'm writing mostly atonal music, I don't have to fear voice-leading teachers (and I think broken fifths have never been

Re: broken octaves

2008-07-27 Thread Stefan Thomas
Dear Jay, many thanks for Your very nice plugin! I think it will be a very useful thing for me. But I have one question: I would be interested in having other plugins for other intervalls, or even for small sequences of notes. If I want to change the Interval from an ovtave to, lets say, a fifth,

Re: broken octaves

2008-07-27 Thread Stefan Thomas
Dear Jay, many thanks for Your very nice plugin! I think it will be a very useful thing for me. But I have one question: I would be interested in having other plugins for other intervalls, or even for small sequences of notes. If I want to change the Interval from an ovtave to, lets say, a fifth,

Re: broken octaves

2008-07-27 Thread Jay Anderson
On Sun, Jul 27, 2008 at 9:46 AM, Stefan Thomas [EMAIL PROTECTED] wrote: Dear Jay, many thanks for Your very nice plugin! I think it will be a very useful thing for me. But I have one question: I would be interested in having other plugins for other intervalls, or even for small sequences of

Re: broken octaves

2008-07-27 Thread Peter Chubb
Jay == Jay Anderson [EMAIL PROTECTED] writes: Jay I never followed up with him about how he's noting key change Jay events. He might be processing a whole score at once to get this Jay extra information. I am. It *should* be gettable from the current context, but I don't know how. -- Dr

Re: broken octaves

2008-07-26 Thread Dominic Neumann
Hi Jay, nice example! But I think it would be even better if I could write \brokenoctaves #1 { c4 d e f g8 a b c } meaning that the function also recognizes the durations of the notes. Maybe you could be so kind to explain how your functions work. Then we could also learn from it and possibly

Re: broken octaves

2008-07-26 Thread Jay Anderson
)) #(define (make-music-note pitch duration) (make-music 'NoteEvent 'pitch pitch 'duration duration)) #(define (make-music-chord elements) (make-music 'EventChord 'elements elements)) #(define (broken-octaves muslist arg first?) (if (null? muslist) '() (let* ((notes

Re: broken octaves

2008-07-26 Thread Valentin Villenave
2008/7/26 Jay Anderson [EMAIL PROTECTED]: I've rewritten it from scratch below where it uses the lengths of the input notes and works with chords. It still has problems (dynamics doubled, tuplets or nested structures don't work), but I'll try to explain it. Great! LSR, anyone? :-) Cheers,

broken octaves

2008-07-25 Thread Stefan Thomas
Dear Lilypond-users, I have in mind an input like: \relative { \brokenoctaves {c d e f g }} and the desired output is: \relative { c c' d d' e e' f f' g g' } Can this be done automatically? ___ lilypond-user mailing list lilypond-user@gnu.org

Re: broken octaves

2008-07-25 Thread Dominic Neumann
Hi Stefan, are you sure you want c c' d d' ... instead of c c' d, d' e, e'? You could write a scheme function for that. I´ll try it, but I´m not too experienced in such things. Dominic 2008/7/25 Stefan Thomas [EMAIL PROTECTED]: Dear Lilypond-users, I have in mind an input like: \relative {

Re: broken octaves

2008-07-25 Thread Jonathan Kulp
I'd really like a scheme to do this, too, but don't know how to write scheme code. Someone else (I think it was Jay?) wrote a nice scheme to do octaves a while back (sounding at the same time, not broken), and maybe that'd be a good starting place? I don't know. I'll copy the scheme code at

Re: broken octaves

2008-07-25 Thread Stefan Thomas
Oh, Yes, You are right; I want \relative { c c' d, d' }etc. 2008/7/25 Dominic Neumann [EMAIL PROTECTED]: Hi Stefan, are you sure you want c c' d d' ... instead of c c' d, d' e, e'? You could write a scheme function for that. I´ll try it, but I´m not too experienced in such things. Dominic

Re: broken octaves

2008-07-25 Thread Jay Anderson
Stefan Thomas kontrapunktstefan at googlemail.com writes: Dear Lilypond-users, I have in mind an input like:\relative { \brokenoctaves {c d e f g }}and the desired output is:\relative { c c' d d' e e' f f' g g' }Can this be done automatically? Play with this see if it does what you want.