Beat detection class.
More...
◆ close()
static void com.meicam.sdk.NvsBeatDetection.close |
( |
| ) |
|
|
inlinestatic |
Destroys the beat detection object instance. note: it can be created again after destruction.
- See also
- init
-
getInstance
◆ getInstance()
Gets the instance of beat detection object (only can use this after initialization)
- Returns
- Returns the beat detection object instance.
- See also
- init
-
close
◆ init()
Initializes beat detection instance.
- Parameters
-
flags | Flags, zero temporarily |
- Returns
- Returns a beat detection instance object.
- Since
- 2.14.0
- See also
- getInstance
-
close
◆ setBeatDetectionCallback()
Sets callback interface for beat detection.
- Parameters
-
cb | Callback interface for beat detection. |
◆ startDetect()
boolean com.meicam.sdk.NvsBeatDetection.startDetect |
( |
String |
inputFilePath, |
|
|
int |
sensitivity |
|
) |
| |
|
inline |
Start beat detection.
- Parameters
-
inputFilePath | input music file path |
sensitivity | min duration between two adjacent beats |
- Returns
- Return true if suc, otherwise false
- See also
- init
-
getInstance
The documentation for this class was generated from the following file: