Open Ferin79 opened 3 years ago
I'm getting this error here both on iOS and Android.
import { encode, decode } from "base64-arraybuffer"; import toWav from "audiobuffer-to-wav"; import util from "audio-buffer-utils"; .... const fileData = await FileSystem.readAsStringAsync(data.uri, { encoding: FileSystem.EncodingType.Base64, }); const decodeData = decode(fileData); const arrayBufferTrim = decodeData; const audioBufferTrim = createBuffer( arrayBufferTrim, "int32 le mono 44100" );
getting same message while trimming in the console,
I'm getting this error here both on iOS and Android.