سؤال

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