B4A Question MediaPlayer problem (BMC-game ) - zed (first post)    Sep 26, 2024 Soundpool is generally used for short sounds. This is why you don't have the time and the position.
You can also play several sounds at the same time B4A Question Simulate car engine sound - stevel05 (first post)    Sep 21, 2021   (1 reaction) You could also try soundpool, which allows looping and setting the rate will change the pitch (if I remember correctly). B4A Question SoundPool Play folder - GMan (first post)    Apr 01, 2023   (1 reaction) Had you a look thru this posts ?
https://www.b4x./?query=Soundpool B4A Question soundpool(looping) problem - kimstudio (first post)    Dec 03, 2024 I think there is a parameter for soundpool play to control playback speed. B4A Question Soundpool doesn't play - JordiCP (first post)    Jan 30, 2022   (1 reaction) Well, seems that 2 things are needed
According to HERE, SoundPool should be declared in Process Globals (I guess Starter's Globals are also such).
Depending on the file size/format, it will need a small delay.
Check the attached project: sp is declared in Main module's Process_Globals --> Without B4A Question Bouncing Ball (VR+raytracing) - MasterGy    Nov 09, 2024   (1 reaction) If you face the ball, the sound of the thump is sharp. If we stand with our backs, then it is dull. When you hit the ball, SOUNDPOOL starts both sound samples, and during playback, it continuously adjusts the volume and ratio of the two sound samples, depending on the distance and the angle you are B4A Question Small button on a larger one? - zed (first post)    Jan 17, 2024 It is best to use SoundPool. This allows multiple short sounds to be loaded and then played back those files with low latency. MediaPlayer would be used to play the final recording. Otherwise, you have to have as many MediaPlayers as sound and the latency will be much higher. If you have a 38-key k B4A Question [SOLVED] Is it possible to start & stop playing a music file with the Media Player Lib? - stevel05 (first post)    Sep 29, 2021   (2 reactions) This is not the case for soundpool, see the Multitrigger example : https://www.b4x.-sugestion.38896/post-230557. The sounds are loaded once and can be played multiple times.
If you can't get it working, please post a small project showing the issue. B4A Question SoundPool current playing position - Erel (first post)    Aug 31, 2017   (1 reaction) SoundPool is intended for short sounds. You should use MediaPlayer for longer playbacks. B4A Question Play a sound as long as a view is pressed - LucaMs (first post)    Oct 29, 2020   (1 reaction) Try using SoundPool (Audio library). You could also avoid checking the touched spot that way by adding transparent panels. Page: 1   2   3   4   5   6   7   Powered by ColBERT |