BPM analyzer for AudioClips - please be aware that currently the detection isn't very accurate. NOTE: partially based on: https://github.com/WestHillApps/UniBpmAnalyzer
More...
|
static int | AnalyzeBPM (float[] data, int frequency=44100, int channels=2, int sampleSplit=100) |
| Analyze BPM from the given PCM audio data. More...
|
|
static int | AnalyzeBPM (AudioClip clip, int sampleSplit=100) |
| Analyze BPM from the given audio clip. More...
|
|
BPM analyzer for AudioClips - please be aware that currently the detection isn't very accurate. NOTE: partially based on: https://github.com/WestHillApps/UniBpmAnalyzer
◆ AnalyzeBPM() [1/3]
int Crosstales.DJ.Tool.BPMAnalyzer.AnalyzeBPM |
( |
| ) |
|
Analyze BPM from the set AudioSource.
- Returns
- Beats per minute
◆ AnalyzeBPM() [2/3]
static int Crosstales.DJ.Tool.BPMAnalyzer.AnalyzeBPM |
( |
AudioClip |
clip, |
|
|
int |
sampleSplit = 100 |
|
) |
| |
|
static |
Analyze BPM from the given audio clip.
- Parameters
-
clip | Target audio clip |
sampleSplit | Split for the samples. A higher value increases the accuracy but needs more time (default: 100, optional). |
- Returns
- Beats per minute
◆ AnalyzeBPM() [3/3]
static int Crosstales.DJ.Tool.BPMAnalyzer.AnalyzeBPM |
( |
float[] |
data, |
|
|
int |
frequency = 44100 , |
|
|
int |
channels = 2 , |
|
|
int |
sampleSplit = 100 |
|
) |
| |
|
static |
Analyze BPM from the given PCM audio data.
- Parameters
-
data | Audio data as PCM-float array. |
frequency | Frequency of the audio data (default: 44100, optional). |
channels | Frequency of the audio data (default: 2, optional). |
sampleSplit | Split for the samples. A higher value increases the accuracy but needs more time (default: 100, optional). |
- Returns
- Beats per minute
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/DJPro/DJPro/Assets/Plugins/crosstales/DJ/Extras/BPMAnalyzer/Scripts/BPMAnalyzer.cs