Search code examples
javajfugue

JFugue MusicString key setting not working


I am new to JFugue, and I've been trying some stuff, but i can't change the key of a MusicString. Here's what I try:

Player player = new Player();
player.play("KBmaj T120 C D E F G A B");

It just doesn't change the key.

What am I missing?


Solution

  • You may be using JFugue version 5.0+ but following directions for JFugue version 4.x. In the latest version of JFugue, the key is set like this: "KEY:Bmaj"