Shorthand notation for multi-measure rests in music with frequent meter changes ?

2011-02-16 Thread Michael Ellis
I'm currently transcribing parts from music with frequently changing
meters and segments where a part is resting.  The sequence below is
typical.

    \time 3/4 R1*3/4 |
    \time 3/8 R1*3/8 |
    \time 4/4 R1*8/4 |  % 2 bars
    \time 3/8 R1*3/8 |

Does anyone know how to write a music function that will support a
more compact notation? Being able specify the time signature changes
and rests shown above with a syntax like the following would be a nice
timesaver.

mmr = #(define-music-function )

\mmr  3/4  3/8  2*4/4  3/8  ...

The best I've been able to cobble together is too messy to be useful
because of the need to use the # sign before arguments, etc.  In
particular, I haven't found any way to pass a bare fraction like 3/4
into a music function.


Thanks,
Mike

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


Re: Shorthand notation for multi-measure rests in music with frequent meter changes ?

2011-02-16 Thread Neil Thornock
I can't answer your question, but I have two responses to the dilemma.
 First, R2. is more compact than R1*3/4, and R1*2 is better than
R1*8/4.  Same with R4*5 vs R1*5/4.

Also, if you happen to use Vim -- I keep all my time signatures in a
separate file from the notes.  It's then simple to map time signatures
to keystrokes; entering time signatures can be very very fast.  So I
hit the letter A and I get \time 1/4 s4.

Quick and maybe not helpful answer, but there you go.

On Wed, Feb 16, 2011 at 11:53 AM, Michael Ellis
michael.f.el...@gmail.com wrote:
 I'm currently transcribing parts from music with frequently changing
 meters and segments where a part is resting.  The sequence below is
 typical.

     \time 3/4 R1*3/4 |
     \time 3/8 R1*3/8 |
     \time 4/4 R1*8/4 |  % 2 bars
     \time 3/8 R1*3/8 |

 Does anyone know how to write a music function that will support a
 more compact notation? Being able specify the time signature changes
 and rests shown above with a syntax like the following would be a nice
 timesaver.

 mmr = #(define-music-function )

 \mmr  3/4  3/8  2*4/4  3/8  ...

 The best I've been able to cobble together is too messy to be useful
 because of the need to use the # sign before arguments, etc.  In
 particular, I haven't found any way to pass a bare fraction like 3/4
 into a music function.


 Thanks,
 Mike

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




-- 
Neil Thornock, D.M.
The recent BYU Symphony Orchestra performance of Plutoids:
http://neilthornock.net/mp3s/plutoids.mp3
Assistant Professor of Music
Composition/Theory
Brigham Young University

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


Re: Shorthand notation for multi-measure rests in music with frequent meter changes ?

2011-02-16 Thread Michael Ellis
Thanks Neil, those are good tips.  I'm a long time vim user so
shortcuts are certainly a possibility.  OTOH, I've recently found that
JEdit + LilyPondTool makes a real difference in my productivity
compared to vim + some helper scripts I had put together.

I know JEdit has its own Java-based macro language but if I'm going to
let coding distract me from music (happens waaayyy too often) I might
as well put the time into getter better at Scheme.

Anyway, I do appreciate the suggestions and may put them to use if
creating a music-function looks like too big a time-sink.

Cheers,
Mike



On Wed, Feb 16, 2011 at 2:24 PM, Neil Thornock neilthorn...@gmail.com wrote:
 I can't answer your question, but I have two responses to the dilemma.
  First, R2. is more compact than R1*3/4, and R1*2 is better than
 R1*8/4.  Same with R4*5 vs R1*5/4.

 Also, if you happen to use Vim -- I keep all my time signatures in a
 separate file from the notes.  It's then simple to map time signatures
 to keystrokes; entering time signatures can be very very fast.  So I
 hit the letter A and I get \time 1/4 s4.

 Quick and maybe not helpful answer, but there you go.

 On Wed, Feb 16, 2011 at 11:53 AM, Michael Ellis
 michael.f.el...@gmail.com wrote:
 I'm currently transcribing parts from music with frequently changing
 meters and segments where a part is resting.  The sequence below is
 typical.

     \time 3/4 R1*3/4 |
     \time 3/8 R1*3/8 |
     \time 4/4 R1*8/4 |  % 2 bars
     \time 3/8 R1*3/8 |

 Does anyone know how to write a music function that will support a
 more compact notation? Being able specify the time signature changes
 and rests shown above with a syntax like the following would be a nice
 timesaver.

 mmr = #(define-music-function )

 \mmr  3/4  3/8  2*4/4  3/8  ...

 The best I've been able to cobble together is too messy to be useful
 because of the need to use the # sign before arguments, etc.  In
 particular, I haven't found any way to pass a bare fraction like 3/4
 into a music function.


 Thanks,
 Mike

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




 --
 Neil Thornock, D.M.
 The recent BYU Symphony Orchestra performance of Plutoids:
 http://neilthornock.net/mp3s/plutoids.mp3
 Assistant Professor of Music
 Composition/Theory
 Brigham Young University


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