-
Notifications
You must be signed in to change notification settings - Fork 0
/
SongEntry.java
72 lines (55 loc) · 1.3 KB
/
SongEntry.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
public class SongEntry {
private String filename;
private double bpm;
int totalNotes;
String lowestNote;
String HighestNote;
int[][] notes;
public SongEntry(String filename, double bpm, int[][] notes) {
super();
this.filename = filename;
this.bpm = bpm;
this.totalNotes = totalNotes;
this.notes = notes;
}
public SongEntry(String filename, double bpm) {
super();
this.filename = filename;
this.bpm = bpm;
this.totalNotes = 0;
this.notes = new int[Scrapper.NOTE_NAMES.length][11];
}
public String getFilename() {
return filename;
}
public void setFilename(String filename) {
this.filename = filename;
}
public double getBpm() {
return bpm;
}
public void setBpm(double bpm) {
this.bpm = bpm;
}
public int getTotalNotes() {
return totalNotes;
}
public void setTotalNotes(int totalNotes) {
this.totalNotes = totalNotes;
}
public String getLowestNote() {
return lowestNote;
}
public void setLowestNote(String lowestNote) {
this.lowestNote = lowestNote;
}
public String getHighestNote() {
return HighestNote;
}
public void setHighestNote(String highestNote) {
HighestNote = highestNote;
}
public void setNotes(int[][] arrayNotesByOctave) {
this.notes = arrayNotesByOctave;
}
}