pinobatch / pently

Scalable music engine for NES games
zlib License
72 stars 4 forks source link

Single-note arpeggio #13

Closed pinobatch closed 7 years ago

pinobatch commented 7 years ago

Allow overriding arpeggio for a single note. We adapt the notation from LilyPond's chord mode, where :xx after the name and duration (if any) specifies what arpeggio setting to use for this note.

relative
# This
a'4:37 a8:37 g4.:47 f2.:47
# does the same as this
EN37 a'4 a8 EN47 g4. f2.

Subsequent notes revert to the arpeggio setting from the most recent EN command, or to no arpeggio if no EN command has been seen.