1
package org.herac.tuxguitar.song.models;
3
public abstract class TGScale {
4
private final boolean[] notes = new boolean[12];
12
public void setKey(int key){
20
public void setNote(int note,boolean on){
21
this.notes[note] = on;
24
public boolean getNote(int note){
25
return this.notes[((note + (12 - this.key)) % 12)];
30
for(int i = 0; i < this.notes.length; i++){
31
this.setNote(i,false);