Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets current audio balance.

Component Version macOS Windows Linux Server iOS SDK
WMFP 10.0 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WMFP.SetBalance"; Player; Value )   More


Parameter Description Example
Player The reference number for the Windows Media Foundation Player object. $$Player
Value The new value. 0


Returns OK or error.


Sets current audio balance.
The value can be any number in the following range (inclusive).

-1.0The left channel is at full volume; the right channel is silent.
+1.0The right channel is at full volume; the left channel is silent.

If the value is zero, the left and right channels are at equal volumes. The default value is zero.


Set balance to play only right speaker:

MBS( "WMFP.SetBalance"; $$Player; 1.0)

See also

Blog Entries

This function checks for a license.

Created 25th December 2019, last changed 13th January 2020

WMFP.Screenshot - WMFP.SetBorder