basic concept

The basic concept is to understand the use of score, part and phrase. A score can contain several parts, a part can contain several phrases and a phrase contains a list of notes, for example a score called "bluebossa" contains the parts "melody", "rhytm", "bass" and "drum" where each part contains one or several phrases which holds the notes. By using the Etude instance you don't need to handle these objects, just use the method of the instance to create, manipulate or clear a score, part or phrase. Take a look at the code snippet below for a better understanding.

...
// create a new instance of etude
Etude e = new Etude(this);
...
// create a new score with the title 'bluebossa'
e.createScore("bluebossa");

// create a new part with the title "melody"
e.createPart("melody");
...
// create a new phrase with the title "intro_melody";
e.createPhrase("intro_melody");
...
// add a phrase to a part
e.addPhrasePart("melody", "intro_melody");
...
//add a part to a score
e.addScorePart("bluebossa", "melody");
IMPORTANT:

The titles of the score, part and phrase are used by etude to handle these objects, for example: by executing the method addScorePart("bluebossa","melody"), etude will look for a score with the title "bluebossa", then look for a part with the title "melody" and finally add the part "melody" to the score "bluebossa", so it is a good practice to use unique names for them.

  News

jm-Etude-01.1 is released now.

 

download

jm-Etude-01.1.zip
jm-Etude-01.1.src.zip