Pergunta
I have been working with JFugue to generate music.
Does anybody know how to add dynamics to music strings? Is it even possible?
Solução
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"
Outras dicas
Okay. I think that I figured it out.
You can change the volume with statements such as "X[Volume]=10200"
(out of 16383).
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow