Skip to content

Commit

Permalink
Update rnbo-helpers.js
Browse files Browse the repository at this point in the history
  • Loading branch information
krismakesstuff committed Apr 29, 2024
1 parent 5122a2b commit 22fcfb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rnbo-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,12 @@ export async function createRNBODevice(patchExportURL) {
}

const reader = new FileReader();
//let arrayBuffer;


// returns and array buffer
reader.onloadend = function() {
console.log("FileReader onloadend");
console.log(reader.result);
//arrayBuffer = reader.result;

// decode audio data
context.decodeAudioData(reader.result, function(audioBuffer) {
Expand Down

0 comments on commit 22fcfb5

Please sign in to comment.