Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Sets current audio balance.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WMFP 10.0 No Yes Yes, Windows only No No
MBS( "WMFP.SetBalance"; Player; Value )   More


Parameter Description Example value
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

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

WMFP.Screenshot   -   WMFP.SetBorder

Feedback: Report problem or ask question.

MBS Xojo Plugins