[jmsl] Interpreting accents, fermatas, trills, etc.
jmsl at music.columbia.edu
jmsl at music.columbia.edu
Sat Feb 23 00:07:29 EST 2008
Hi Peter
I've been out of town and email has been spotty...
I think one way to do this is to use a PlayLurker. It can inspect the
Note for properties. So maybe you could even roll it all together and
have an Instrument that implements PlayLurker so that the instrument has
access to the Note itself and not just the double[] data passed to
play(). Note that PlayLurker is notified just prior to
InstrumentPlayable.play()
So...
A JMSL Score's Track is a MusicList which can have PlayLurkers listen in.
For each Note, PlayLurkers are notified, then
(InstrumentPlayable)Note.play() is called which results in
Instrument.play() being called.
See if that gets you there. Let me know how it goes
Thanks
Nick Didkovsky
jmsl at music.columbia.edu wrote:
> Hi all,
>
> Is there a way to customize the way an instrument plays various
> figurations, etc.?
>
> For instance, I'd like to map trills on a snare drum to a different
> midinote than single notes using a sampler in Logic that I already
> have mapped. Any recommendations? I'm just not sure where to look.
> I've looked at Interpreter, but that's not quite right. How do I get
> the accent, tenuto, etc. information about a note at the instrument
> level?
>
> thanks,
> Peter McCulloch
> _______________________________________________
> jmsl mailing list
> jmsl at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/jmsl
More information about the jmsl
mailing list