This commit is contained in:
K Car
2025-07-10 08:27:30 +01:00
commit a7de5af021
15 changed files with 332 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
class AudioProcessor extends AudioWorkletProcessor {
process(inputs, outputs) {
const input = inputs[0]
if (input.length > 0) {
const channelData = input[0]
this.port.postMessage(channelData)
}
return true
}
}
registerProcessor('audio-processor', AudioProcessor)