Hello,
I am trying to get frequency of sound from outside, but I can’t get it on my android phone.
The code is as below:
function Timer500msListener() freq = recording:getTunerFrequency() title.text = freq print(freq) timer1sec = timer.performWithDelay(500, Timer500msListener) end recording = media.newRecording() recording:startTuner() recording:startRecording() timer1sec = timer.performWithDelay(500, Timer500msListener)
What may be the problem?