fix nested environment scopes + highlight runtime errors in editor

This commit is contained in:
Joeri Exelmans 2025-10-27 10:37:42 +01:00
parent 56467e5ea5
commit a81fe1e884
9 changed files with 77 additions and 43 deletions

View file

@ -27,7 +27,6 @@ export function useAudioContext(speed: number) {
}), [ctx]);
function play(url: string, loop: boolean) {
console.log('play', url);
const srcPromise = url2AudioBuf(url)
.then(audioBuf => {
const src = ctx.createBufferSource();