Jim Brown Active Member Licensed User Longtime User Jan 14, 2011 #1 I would like to see some method of changing the pitch in a sound sample Any chance of something like: B4X: Dim m As MediaPlayer .. m.Load(blah,blah) currentpitch=m.GetPitch() m.SetPitch currentpitch+40 Equally, is it possible to have a GetVolume() feature? BTW is there a limit to the size of the file which can play? Also, can multiple sounds play simultaneously without issue?
I would like to see some method of changing the pitch in a sound sample Any chance of something like: B4X: Dim m As MediaPlayer .. m.Load(blah,blah) currentpitch=m.GetPitch() m.SetPitch currentpitch+40 Equally, is it possible to have a GetVolume() feature? BTW is there a limit to the size of the file which can play? Also, can multiple sounds play simultaneously without issue?
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2011 #2 The underlying MediaPlayer doesn't support pitch settings and also it doesn't allow you to get the volume. BTW is there a limit to the size of the file which can play? Click to expand... Available memory (per process) is the only limit. Also, can multiple sounds play simultaneously without issue? Click to expand... You can use several MediaPlayer objects to play files simultaneously. I don't find any known limitations regarding simultaneous playback.
The underlying MediaPlayer doesn't support pitch settings and also it doesn't allow you to get the volume. BTW is there a limit to the size of the file which can play? Click to expand... Available memory (per process) is the only limit. Also, can multiple sounds play simultaneously without issue? Click to expand... You can use several MediaPlayer objects to play files simultaneously. I don't find any known limitations regarding simultaneous playback.
Jim Brown Active Member Licensed User Longtime User Jan 14, 2011 #3 Thanks Erel for your quick responses My idea was for a fun musical tool where touching various parts of the screen changes the pitch of the note I guess this sort of thing would be better done via MIDI (JetPlayer?)
Thanks Erel for your quick responses My idea was for a fun musical tool where touching various parts of the screen changes the pitch of the note I guess this sort of thing would be better done via MIDI (JetPlayer?)