Copyright © 2005-2019 MultiMedia Soft

BeatDetectedRealTime event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a beat is detected during a playback session of the loaded sound. Real-time beats detection can be enabled/disabled through a previous call to the BeatsDetectEnableRT method.

 

For further details about beats detection refer to the How to detect beats positions and BPM tutorial.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event BeatDetectedRealTime As BeatDetectedRealTimeEventHandler


 

[C#]

public event BeatDetectedRealTimeEventHandler BeatDetectedRealTime;


 

[C++]

public: __event BeatDetectedRealTimeEventHandler BeatDetectedRealTime;


 

 

Event Data

 

The event handler receives an argument of type BeatDetectedRealTimeEventArgs having the following parameters:

 

Parameters

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that fired the event

nBeatPosition

Beat's position expressed in milliseconds