1
package org.herac.tuxguitar.io.tef.base;
5
public static final int FLAG_DOUBLE_STRINGS = 0x01;
7
public static final int FLAG_LET_RING = 0x02;
9
public static final int FLAG_PEDAL_STEEL_GUITAR = 0x04;
11
public static final int FLAG_EFFECT_CHANNEL_DISABLED = 0x08;
13
public static final int FLAG_RHYTHM_TRACK = 0x10;
15
private boolean percussion;
17
private int instrument;
23
private int clefNumber;
31
private int[] strings;
35
public TETrack(boolean percussion,int instrument, int capo, int clefType, int clefNumber, int pan, int volume, int flags, int[] strings, String name) {
36
this.percussion = percussion;
37
this.instrument = instrument;
39
this.clefType = clefType;
40
this.clefNumber = clefNumber;
44
this.strings = strings;
48
public int getCapo() {
52
public int getClefNumber() {
53
return this.clefNumber;
56
public int getClefType() {
60
public int getFlags() {
64
public String getName() {
72
public boolean isPercussion() {
73
return this.percussion;
76
public int[] getStrings() {
80
public int getVolume() {
84
public int getInstrument() {
85
return this.instrument;
88
public String toString(){
89
String string = new String("[TRACK]");
90
string += "\n " + this.getName();
92
for(int i = 0; i < this.strings.length; i ++){
93
string += "\n String " + i + ": " + (96 - this.strings[i]);