truj / midica

A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer.
https://www.midica.org/
Mozilla Public License 2.0
111 stars 13 forks source link

Add escape sequence for a comma in lyrics syllables #45

Closed truj closed 4 years ago

truj commented 4 years ago

Currently in the standard configuration it's not possible to include a comma in a lyrics inside of MidicaPL. Reason: The comma is interpreted as an option separator before so it cannot be used inside a syllable.

Solution: Add \c as escape sequence to encode commas.

Example:

0  c  /4  l=Hey\c_
0  c  /4  l=you!

This sould result in the lyrics Hey, you!.