Audio Spectrum
11 nodes
On this page 11
Decibels
FunctionThe level of each bin in decibels, where 0 dB is a full-scale sine; silence reads -120 dB rather than minus infinity.
Decibels(Audio Spectrum: Audio Spectrum) -> Number Array
double[] Decibels(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Number Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Frequencies
FunctionThe frequency of each bin, in hertz.
Frequencies(Audio Spectrum: Audio Spectrum) -> Number Array
double[] Frequencies(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Number Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Bin Count
FunctionHow many frequencies the spectrum has, from 0 Hz to half the sample rate.
BinCount(Audio Spectrum: Audio Spectrum) -> Integer
int BinCount(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Bin Width
FunctionHow far apart neighbouring frequencies are, in hertz.
BinWidth(Audio Spectrum: Audio Spectrum) -> Number
double BinWidth(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Frames Averaged
FunctionHow many overlapping stretches of the clip were averaged.
FramesAveraged(Audio Spectrum: Audio Spectrum) -> Integer
int FramesAveraged(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Sample Rate
FunctionThe sample rate of the clip the spectrum was taken from.
SampleRate(Audio Spectrum: Audio Spectrum) -> Integer
int SampleRate(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Transform Size
FunctionHow many samples went into each Fourier transform; a bigger transform resolves closer frequencies.
TransformSize(Audio Spectrum: Audio Spectrum) -> Integer
int TransformSize(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Magnitudes
FunctionThe level of each bin, where 1 is a full-scale sine.
Magnitudes(Audio Spectrum: Audio Spectrum) -> Number Array
double[] Magnitudes(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Number Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Peak Decibels
FunctionThe level of the strongest frequency, in decibels.
PeakDecibels(Audio Spectrum: Audio Spectrum) -> Number
double PeakDecibels(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
Peak Frequency
FunctionThe strongest frequency, in hertz, refined between bins by fitting a parabola through the peak and its neighbours.
PeakFrequency(Audio Spectrum: Audio Spectrum) -> Number
double PeakFrequency(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Number |
Remarks
The DC bin is skipped, so a clip with an offset still reports its tone. A silent clip reports 0.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing
To String
FunctionThe spectrum in one line: its resolution and its strongest frequency.
ToString(Audio Spectrum: Audio Spectrum) -> Text
string ToString(AudioSpectrum Audio Spectrum)
Parameters
| name | type | default | description |
|---|---|---|---|
| Audio Spectrum | Audio Spectrum | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Audio Spectrum
- Package
- Audio Processing