A sound tool for Android smartphone. SoundLab supports playing and recording loseless pcm encoding files.
SoundLab requires recording and storage permissions.
SoundLab will make a folder named 'SoundLab'. Recorded files will be stored in 'SoundLab'. Please copy files to be played to SoundLab\PlayList.
Playing and recording only support .pcm file. PLease refer to https://en.wikipedia.org/wiki/Pulse-code_modulation for more information about pcm encoding.
Played file selection.
Playing parameters selection:
- ContentType: MUSIC/CALL
- ChannelMask: STEREO/MONO
- SampleRate: 48000/44100/16000/8000
Refer to AudioTrack.Builder()
.
State display: Ready/Playing/Pause/Reset
Left time in seconds.
Action buttons: START/PAUSE/RESET
Check the checkbox of 'Record' and use 'START' button to record sound.
Recording parameters selection:
- AudioSource: MIC/UNPROCESSED/CAMCORDER
- ChannelMask: STEREO/MONO
- SampleRate: 48000/44100
Refer to AudioRecord.Builder()
.
The default file name will be current time like '20220102040506.pcm'. File name prefix will be added before the default file name. For example, 'PrefixTest20220102040506.pcm'
Action buttons: START/STOP.
Once click 'START', the button will be 'STOP'(and vice versa). Even the recording checkbox is not checked, the recording will still work just without writing to file.
Two recording channel volume display gives a volume in dB. However, it is not calibrated, the volume number is for reference only. For stereo recording, two channels will be displayed separately. For mono chcannel recording, two channels will be the same. The bottom value number is the average volume of two channels.
Build in light weight log display for debug.