|
for (int freq = LOWER_LIMIT; freq < UPPER_LIMIT - 1; freq++) { |
Freq is inited to LOWER_LIMIT(40). Then, the index geted is 0 with the method
// Find out in which range
public int getIndex(int freq) {
int i = 0;
while (RANGE[i] < freq)
i++;
return i;
}
Just one point in section 0.
The reflection like:
0 : 40,
1 : 41-80,
2 : 81 - 120,
3 : 121 - 180,
4 : 181 - 300.
Is this a bug or I just misunderstand?
audio-recognizer/src/view/AudioRecognizerWindow.java
Line 310 in 3028b61
Freq is inited to LOWER_LIMIT(40). Then, the index geted is 0 with the method
// Find out in which range
public int getIndex(int freq) {
int i = 0;
while (RANGE[i] < freq)
i++;
return i;
}
Just one point in section 0.
The reflection like:
0 : 40,
1 : 41-80,
2 : 81 - 120,
3 : 121 - 180,
4 : 181 - 300.
Is this a bug or I just misunderstand?