Wish Beep

HansDieter

Member
Licensed User
Longtime User
A simple library to perform a sound with a specific frequency and a specific duration to acknowledge a button or something.
 

William Lancee

Well-Known Member
Licensed User
Longtime User
I have had good success with the jAudioClip library. You do have to download or synthesize the .mp3 file. The response to 'play' is fast and reliable.

B4X:
    Dim whistle As AudioClip
    whistle.initialize
    whistle.Create2(File.DirAssets, "whistle.mp3")
    whistle.Play2(.35)
 

Peter Simpson

Expert
Licensed User
Longtime User
specific frequency and a specific duration to acknowledge a button or something.

Have you seen this excellent frequency creator with duration code from Erel???
This code is cross platform (with a simple save to directory change) and works perfect with B4A, B4i and also B4J.

I used this code to create a simple cross platform game (one code for all IDE solutions).

I know that you asked for a library, but I thought that I would post this link anyway...
 
Top