Copyright © 2005-2019 MultiMedia Soft

SpectrumValueChange event

Previous pageReturn to chapter overviewNext page



Occurs whenever there is a change on the Spectrum peak values: this event, generated every 15 milliseconds, can be useful if you need to implement your own Spectrum graphical representation; after receiving this event, in order to obtain the Spectrum values to render graphically, you need to perform a call to the Spectrum.GetTable method.


This event is fired only if you have previously created the Spectrum object though a call to the Spectrum.Create method.


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





[Visual Basic]

Public Event SpectrumValueChange As PlayerEventHandler



public event PlayerEventHandler SpectrumValueChange;



public: __event PlayerEventHandler SpectrumValueChange;



Event Data


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







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