AudioRecorder – how you can managing audio-level metering

AudioRecorder – how you can managing audio-level metering

I want to document my voice and visualize the audio stay. I take advantage of the AudioRecorder on the iMedia library for this. I learn within the Apple documentation which you could activate audio metering and extract the info from it.

Unfortunately the AudioRecorder library doesn’t help this, how can I lengthen the AudioRecorder with objc code?

It is in regards to the following properties:
ismeteringenabled

developer.apple.com


isMeteringEnabled | Apple Developer Documentation

A Boolean worth that signifies whether or not you’ve enabled the recorder to generate audio-level metering knowledge.

developer.apple.com

developer.apple.com

updateMeters

developer.apple.com


updateMeters() | Apple Developer Documentation

Refreshes the typical and peak energy values for all channels of an audio recorder.

developer.apple.com

developer.apple.com

averagePowerForChannel

developer.apple.com


averagePower(forChannel:) | Apple Developer Documentation

Returns the typical energy, in decibels full-scale (dBFS), for an audio channel.

developer.apple.com

developer.apple.com

Thanks

HI-FI News

through B4X Programming Forum https://ift.tt/29kjQxO

March 1, 2025 at 07:45PM