Я создаю выставку, реагирующее приложение, которое записывает ваше аудио как аудиофайл.const audioRecorder = useAudioRecorder(RecordingPresets.HIGH_QUALITY);
< /code>
const startMonitoring = () => {
if (!isMonitoringRef.current) return;
console.log('Starting monitoring, timestamp:', Date.now());
intervalRef.current = setInterval(async () => {
const metering = audioRecorder.metering ?? -50;
console.log('Metering raw value:', metering, 'isRecording:', audioRecorder.isRecording, 'timestamp:', Date.now()); // Fixed typo
// Silence detection bypassed; stop via mic press
}, 100);
};
< /code>
Basically, the audio.Recorder.metering is null, although the Recorder successfully records the audio. I know this is true because I am successfully able to transcribe the audio using the audio captured from Recorder.
I know with expo-av, I was able to capture the meter property, but I had to move on from expo-av library due to some other issues with it.
Anyone else have a similar issue and possibly have a fix/advice for it?
Подробнее здесь: https://stackoverflow.com/questions/795 ... rty-at-all
Не может получить недвижимость Expo-Audio (более новая аудиоза библиотека) вообще ⇐ IOS
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Приложение Expo сбои при создании для Android из-за выпуска Expo-Audio
Anonymous » » в форуме Android - 0 Ответы
- 4 Просмотры
-
Последнее сообщение Anonymous
-