How can I get the decibel (dB) level from sound URI in react native?
const stopRecording = async (coordinate: { latitude: number; longitude: number }) => { try { if (record) { await record.stopAndUnloadAsync(); const uri = record.getURI(); const dB = //dB level here if (uri) { setMarkers((prevMarkers) => [ …prevMarkers, { coordinate, audioUri: uri }, ]); } } } catch (err) { console.error(‘Failed to stop recording’, err); } […]