Я создаю выставку, реагирующее приложение, которое записывает ваше аудио как аудиофайл.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
Программируем под IOS
1741823784
Anonymous
Я создаю выставку, реагирующее приложение, которое записывает ваше аудио как аудиофайл.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?
Подробнее здесь: [url]https://stackoverflow.com/questions/79505112/cannot-get-expo-audio-newer-audio-library-metering-property-at-all[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия