audio clicks 4 buttons

merlin2049er

Well-Known Member
Licensed User
Longtime User
Hi, are they're any built-in audio blips I can add to my button presses?

Or do I have to load the .wav file, etc...
 

bgsoft

Well-Known Member
Licensed User
Longtime User
I put a quick example:


B4X:
Sub Globals

Dim Button1 As Button
Dim Beeper1 As Beeper
.....
.....


Sub Activity_Create(FirstTime As Boolean)

Beeper1.Initialize (200,2500) ' milliseconds , hertz

......
......
......

Sub Button1_Click

  Beeper1.beep

......
.....


regards

Jesus
 
Upvote 0

merlin2049er

Well-Known Member
Licensed User
Longtime User
Actually I found a soundfx library, and included that.

Very neat, just initialize, and then use 1 of 8 click noises.
 
Upvote 0
Top