J John Sturt Active Member Licensed User Longtime User Apr 11, 2017 #1 Hi AllForm Fill Profiles Is there a wy to play sound files with control of the left / right volume channels similar to B4A? Many Thanks
Hi AllForm Fill Profiles Is there a wy to play sound files with control of the left / right volume channels similar to B4A? Many Thanks
Erel B4X founder Staff member Licensed User Longtime User Apr 12, 2017 #2 You can set the pan property with NativeObject: B4X: Dim no As NativeObject = mp no.SetField("pan", -0.5) '-1 = left, 0 = center, 1 = right https://developer.apple.com/reference/avfoundation/avaudioplayer/1390884-pan It is not possible to directly control the volume of each channel. Upvote 0
You can set the pan property with NativeObject: B4X: Dim no As NativeObject = mp no.SetField("pan", -0.5) '-1 = left, 0 = center, 1 = right https://developer.apple.com/reference/avfoundation/avaudioplayer/1390884-pan It is not possible to directly control the volume of each channel.
J John Sturt Active Member Licensed User Longtime User Apr 12, 2017 #3 Once again thank you very much @Erel Upvote 0