JorenSix / Olaf

Olaf: Overly Lightweight Acoustic Fingerprinting is a portable acoustic fingerprinting system.
GNU Affero General Public License v3.0
325 stars 33 forks source link

Missing file #43

Closed sonictruth closed 1 year ago

sonictruth commented 1 year ago

Hi,

I'm trying to compile the web version but 'wasm/js/olaf_processor_edit.js' is missing. And I'm getting this error in Chrome: DOMException: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'olaf-processor' is not defined in AudioWorkletGlobalScope.

Can you please upload this file also to the repository ?

Thank you!

zheffie commented 1 year ago

Same issue here. make web fails due to missing file wasm/js/olaf_processor_edit.js Documentation also seems to point to spectrogram.html yet wasm folder only contains a basic.html file

JorenSix commented 1 year ago

Thanks for raising the issue, it has been fixed: I have shifted around a couple of files and the make web now works as expected and compiles the right files. The Olaf WASM demo now also includes an audio resampling library to make sure that the audio is in the format Olaf expects. Check out the online demo here:

https://0110.be/posts/Acoustic_fingerprinting_in_the_browser_with_Olaf