WIP export UI
This commit is contained in:
parent
9a47e0f11e
commit
b3715dc5df
6 changed files with 134 additions and 17 deletions
|
|
@ -63,7 +63,7 @@ export async function renderPatternAudio(pattern, cps, begin, end) {
|
|||
}
|
||||
})
|
||||
|
||||
context.startRendering().then(async (renderedBuffer) => {
|
||||
return context.startRendering().then(async (renderedBuffer) => {
|
||||
console.log(renderedBuffer)
|
||||
const wavBuffer = audioBufferToWav(renderedBuffer);
|
||||
const blob = new Blob([wavBuffer], { type: 'audio/wav' });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue