Amplitude =  music .amplitude .get  (  Channel  )  
                                
Description :

This instruction returns the current amplitude of a background music channel.

Parameters :

  • Channel number. Valid in the range [1, number of channels].

Return Value :

  • Amplitude level. Valid in the range [0, 255].

Notes :


This instruction makes it very easy to produce a Vu Meter !

Examples :