I have been working with JFugue to generate music.
Does anybody know how to add dynamics to music strings? Is it even possible?
Not sure if this counts as dynamics, but you can include Attack and Decay values on a note.
Here's a Middle-C note, quarter duration, with the implied default values of attack=64 (out of 128) and decay=64 (out of 128): "C5q"
Here's the same note with attack=120 and decay=20: "C5qA120D20"