| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | |
| public double | |
| public float[] | Returns: array of float values.An optionally preallocated double array. magnitudes)Returns an array of the last available magnitudes. |
| public float[] | Returns: array of float values.An optionally preallocated double array. phases)Returns an array of the last available phases. |
| public int | |
| public void | |
| public void | |
| public void | |
| public void |
| getBandCount | back to summary |
|---|---|
| public int getBandCount() Gets the number of bands in the audio spectrum
| |
| getEnabled | back to summary |
|---|---|
| public boolean getEnabled() Returns whether audio spectrum is enabled or not.
| |
| getInterval | back to summary |
|---|---|
| public double getInterval() Returns the interval between double value
| |
| getMagnitudes | back to summary |
|---|---|
| public float[] getMagnitudes(float[] magnitudes) Returns an array of the last available magnitudes. The size of the array equals
the number of bands set by the
| |
| getPhases | back to summary |
|---|---|
| public float[] getPhases(float[] phases) Returns an array of the last available phases. The size of the array equals
the number of bands set by the
| |
| getSensitivityThreshold | back to summary |
|---|---|
| public int getSensitivityThreshold() Returns sensitivity threshold in dB. All lower values will be set to this.
| |
| setBandCount | back to summary |
|---|---|
| public void setBandCount(int bands) Sets the number of bands in the audio spectrum
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) Turns on or off audio spectrum support. | |
| setInterval | back to summary |
|---|---|
| public void setInterval(double interval) Set the interval between double value
| |
| setSensitivityThreshold | back to summary |
|---|---|
| public void setSensitivityThreshold(int threshold) Sets sensitivity threshold in dB. All lower values will be set to this. Allowed values: <= 0
| |