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"

其他提示

Okay. I think that I figured it out.

You can change the volume with statements such as "X[Volume]=10200" (out of 16383).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top