B4A Library VoiceRecord | Record Voice and save it or read the dB Level

This library is a modification of that library https://www.b4x.com/android/forum/threads/voice-recording-visualizer.61927/#post-437430 and enables the use of the library in Service and other modules.

the current Features are:
- read out the Levels of dB
- save recordings in mp3

This is my first lib, I apologize for errors

VoiceRecording
Version:
1
  • Properties:
    • DecibelValue As Int [read only]
    • SamplingInterval As Int [write only]
      setter of samplingInterval
  • VoiceRecording
    Events:
    • readByte (buffer() As Byte)
    Methods:
    • Initialize (EventName As String)
    • isRecording As Boolean
    • releaseRecorder
    • stopFileRecord
    • stopRecording
    • toggleRecording
    • toggleRecording2 (dir As String, file As String)
    Permissions:
    • android.permission.RECORD_AUDIO
    Properties:
    • DecibelValue As Int [read only]
 

Attachments

  • VoiceRecording.zip
    6.4 KB · Views: 581
Last edited:
Top