Android Question How to see spectrogram during recording


Active Member
Licensed User
Longtime User
Hello , i want to see spectrogram during recording .What shall i write in line 195 ? because if i put the sub StartWav i have errors or an straight line and not spectrogram .

Also when i press the button btnStopRec_Click without pressing the btnRec_Click before i have an error.

How can i achieve the above two issues ?

Many thanks enthousiastic


    13.4 KB · Views: 114


Licensed User
Longtime User
1) The visualizer works on audio output, not input. So you'd need to try playing the sound while recording it. This would not be ideal on most devices as Android does not support low latency audio and would lag behind the recorded sound.

2) Make sure that the btnStopRec_click does nothing until the btnRec_click sub has been run. Use a global variable.
Upvote 0