Tracking the moment of completion of playback in the buffer.
I use the code to play a list consisting of a sequence of bytes. The entire audio fragment is played successfully. The problem is that the cycle sending the sequence of bytes to STREAM ends much faster than the playback of the entire...
in linux if use MediaPlayer this error show.
MediaException: UNKNOWN : com.sun.media.jfxmedia.MediaException: Could not create player! : com.sun.media.jfxmedia.MediaException: Could not create player!
for play sound in linux you can use this java code.
Sub play_sound(path as string)
Dim jo As...
What's the best way to play sound fx? I keep having issues with soundpool and am wondering if there are any alternatives.
I got rid of the stuttering frame rate it was causing by putting it in an audio handler on its own thread, but I still get some crunchy problems playing too many sounds...
Hi everybody! Thank you Erel for this great thing!
I have been using B4A for a long time, and decided to improve some sound synthesis projects.
I used AudioTrack library because I need to synthesize sound mathematically - noises and waves as data arrays.
It works great so far. But I see a lot...
Hi everyone.
I made an app using XSpeechRecognizer made by @Multiverse app
There is very annoying problem going on :(, even with the given example:
When the recognizer is listening it is continuosly playing some "beep" sounds, that are very annoying (because when it start listening you are...
Hi,
An easy way to take/record/choose photo/video/audio with this small class (clMedia.bas).
No permission needed
It uses intents to call default app.
3 constants for media type
cPhoto = 0
cVideo=1
cAudio=2
2 constants for origin
cNew=0
cChoose=1
1 method to call with 2 parameters (media...
Hello,
Is there a way to set the default speaker to the phone speaker even though headphones are connected throw aux plug? does anybody know how to do that?
Thanks in advance.
hello, did someone know how to create a real time sound?
i think about a buffer where i can place my sound waveform and the phone device play it in real time.
Hi everyone!!!
I want to share with you my solution, using the Notification Builder (Thanks to @barx for this awesome library <3 ), to play a custom sound from your DirAssets folder. I did it because this method use the notification volume for this sound (instead of the Soundpool solution...
Sub Process_Globals
'Requires Audio library
Private Pool As SoundPool
End Sub
Sub PlayRecording
Dim ret As Int 'Used in call to Pool.Play. ret = 0 if error occurs
Dim PoolID As Int 'Identifies the Pool number when a sound file is loaded
Dim SourceDir As String =...
Google Play Store Link
That is not a secret that in the world, clean water resources have diminished in terms of life threat and valuable resources continue to be spent.
This application is a new solution for people who are flushing empty spaces to hide embarrassing voices while in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.