1
package org.herac.tuxguitar.io.ptb.base;
3
public class PTTrackInfo {
6
private int instrument;
14
private int[] strings;
20
public String getName() {
24
public void setName(String name) {
28
public int getNumber() {
32
public void setNumber(int number) {
36
public int getBalance() {
40
public void setBalance(int balance) {
41
this.balance = balance;
44
public int getChorus() {
48
public void setChorus(int chorus) {
52
public int getInstrument() {
53
return this.instrument;
56
public void setInstrument(int instrument) {
57
this.instrument = instrument;
60
public int getPhaser() {
64
public void setPhaser(int phaser) {
68
public int getReverb() {
72
public void setReverb(int reverb) {
76
public int getTremolo() {
80
public void setTremolo(int tremolo) {
81
this.tremolo = tremolo;
84
public int getVolume() {
88
public void setVolume(int volume) {
92
public int[] getStrings(){
96
public void setStrings(int[] strings){
97
this.strings = strings;
100
public PTTrackInfo getClone(){
101
int[] strings = new int[ this.strings.length ] ;
102
for( int i = 0 ; i < strings.length ; i ++ ){
103
strings[ i ] = this.strings[ i ];
105
PTTrackInfo info = new PTTrackInfo();
106
info.setNumber( getNumber() );
107
info.setName( getName() );
108
info.setInstrument( getInstrument() );
109
info.setVolume( getVolume() );
110
info.setBalance( getBalance() );
111
info.setChorus( getChorus() );
112
info.setPhaser( getPhaser() );
113
info.setReverb( getReverb() );
114
info.setTremolo( getTremolo() );
115
info.setStrings( strings );