"I need assistance with splitting a base64 audio file. Specifically, I want to extract only the audio data without the 'data:audio/wav;base64' text included. Can someone provide the correct code for this?"
“This code snippet is intended for use with Angular 7.”
const reader = new FileReader();
reader.readAsDataURL(data.blob);
let base64Audio ;
reader.onloadend = function() {
const base64data = reader.result;
console.log(base64data);
base64Audio = base64data.split(' , ')[1];
console.log(base64Audio);
"My expected output is the extracted text without any additional content."