I'm trying to control the volume of a pattern. From the documentation I found this:
X[Volume]=10200;
which they mentioned controls the volume. I'm not sure how to use this. Should I declare something to use this? From what I understand this is a 'Controller' functionality. Below is my code.
import org.jfugue.*;
public class masterVolume {
public static void main(String[] args)
{
Controller controller = new Controller();
Player player = new Player();
Pattern pattern = new Pattern("C D E F G A B");
player.play(pattern);
X[Volume]=10200; //error
}
}