[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rebroadcasting events from a single timestep
From: |
Graham Percival |
Subject: |
Re: Rebroadcasting events from a single timestep |
Date: |
Thu, 16 Jun 2011 11:58:19 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Thu, Jun 16, 2011 at 11:01:18AM +0200, address@hidden wrote:
> I am working on a piece now where I need certain events to transmogrify into
> other events. Specifically, whole-measure rests need to turn into
> multi-measure rests, and given the way that the piece is algorithmically
> generated, it would take a lot of time for me to change all of the `r' to `R'
> when this is the case. I'd like to add a bit to rest-engraver.cc in the
> spirit of :
This looks like using a tactical nuke to swat a fly. Why not
write a plain old music function (in your .ly file) which changes
the events? I see no reason to mess with C++ stuff here...?
(obviously you'd add that music function to your
algorithm-exporting code as well, but that's a minor issue)
Cheers,
- Graham