mirror of
https://github.com/generativefm/generative.fm.git
synced 2026-01-10 07:07:59 -05:00
Hack BufferSource.dispose for recording
This commit is contained in:
@@ -46,6 +46,7 @@ const renderOffline = (piece, durationInSeconds) => {
|
||||
|
||||
hackFn(Tone, 'disconnect', Tone);
|
||||
hackFn(window.AudioBufferSourceNode.prototype, 'disconnect');
|
||||
hackFn(Tone.BufferSource.prototype, 'dispose');
|
||||
|
||||
return provider
|
||||
.provide(piece.sampleNames, offlineContext)
|
||||
|
||||
Reference in New Issue
Block a user