Skip to content

Commit

Permalink
minor(examples): fix typecast (TS5.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 11, 2025
1 parent 7583e31 commit 585d1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fft-synth/src/audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const updateAudio = () => {
}
delay.next(bins);
const wave = ifft(conjugate(bins))[0];
DB.resetIn(["wave"], <Float64Array>wave);
DB.resetIn(["wave"], <Float64Array<ArrayBuffer>>wave);

if (!actx) return;
const left = buf.getChannelData(0);
Expand Down

0 comments on commit 585d1e0

Please sign in to comment.