1

i love jFugue, but i can't control the volume of a pattern. This 2 patterns, in my laptop, play at the same volume(on the paper the second should be twice louder than the first):

        Pattern pattern1 = new Pattern("X[Volume]=8000 C D E");
        new Player().play(pattern1);

        Pattern pattern2 = new Pattern("X[Volume]=16000 C D E");
        new Player().play(pattern2);

I'm using jFugue 5.0.9.

4

1 回答 1

2

在 JFugue 5 中,MIDI 命令现在通过 Function 系统调用。要控制粗调音量,请尝试以下操作:

Pattern pattern1 = new Pattern(":CON(7, 40) C D E");
new Player().play(pattern1);
Pattern pattern2 = new Pattern(":CON(7, 127) C D E");
new Player().play(pattern2);

您可以参考JFugue 5.0 中的差异以获取更多信息。

于 2019-01-11T12:55:08.013 回答