Devv Active Member Licensed User Longtime User Jul 10, 2014 #1 hi i'm new here im trying the beep in audio lib i had got it to work but i could not know what is the range of the beep time and frequency they only mentioned the type (int) but they had not mention the range in the documentation any help?
hi i'm new here im trying the beep in audio lib i had got it to work but i could not know what is the range of the beep time and frequency they only mentioned the type (int) but they had not mention the range in the documentation any help?
marab Member Licensed User Longtime User Jul 10, 2014 #2 I used it for beeping maybe it be useful for you: Code: Copy Dim b As Beeper b.Initialize(300, 500) '300 milliseconds, 500 hz b.Beep Upvote 0
I used it for beeping maybe it be useful for you: Code: Copy Dim b As Beeper b.Initialize(300, 500) '300 milliseconds, 500 hz b.Beep
Devv Active Member Licensed User Longtime User Jul 11, 2014 #3 marab said: I used it for beeping maybe it be useful for you: Code: Copy Dim b As Beeper b.Initialize(300, 500) '300 milliseconds, 500 hz b.Beep Click to expand... my problem is not beeping i just want to know the limit of (300, 500) where did u got these from ? what is the max and min of them ? Upvote 0
marab said: I used it for beeping maybe it be useful for you: Code: Copy Dim b As Beeper b.Initialize(300, 500) '300 milliseconds, 500 hz b.Beep Click to expand... my problem is not beeping i just want to know the limit of (300, 500) where did u got these from ? what is the max and min of them ?
marab Member Licensed User Longtime User Jul 11, 2014 #4 i get my best sound by Increases or decreases the hertz and milliseconds for example i used (400, 700) for warning user i found that code from : http://www.b4x.com/android/forum/threads/audio-library-v1-2-beeper.11816/ Upvote 0
i get my best sound by Increases or decreases the hertz and milliseconds for example i used (400, 700) for warning user i found that code from : http://www.b4x.com/android/forum/threads/audio-library-v1-2-beeper.11816/
Erel B4X founder Staff member Licensed User Longtime User Jul 11, 2014 #5 See this thread: http://www.b4x.com/android/forum/threads/beeper-hz-over-2500-hz-dont-work.41976/#content There is an updated library that fixes an issue with higher frequencies. The values limits depend on the actual sound. If the frequency is too high the sound will be annoying. Note that it is recommended to reuse the same Beeper object and you need to call Beeper.Release when you are done with it. Upvote 0
See this thread: http://www.b4x.com/android/forum/threads/beeper-hz-over-2500-hz-dont-work.41976/#content There is an updated library that fixes an issue with higher frequencies. The values limits depend on the actual sound. If the frequency is too high the sound will be annoying. Note that it is recommended to reuse the same Beeper object and you need to call Beeper.Release when you are done with it.