GraphicalFilterEditor
A test for porting an old C++ graphic equalizer to JavaScript + HTML5 using Web Audio API and WebAssembly
Install / Use
/learn @carlosrafaelgn/GraphicalFilterEditorREADME
GraphicalFilterEditor
This is a test for a JavaScript graphical filter editor, based on my old C++ graphic equalizer.
With this editor you can graphically edit an equalizer filter and apply it to songs in real time. You can also apply the filter to an entire song and download a WAVE file with the filtered song. Check out the live sample:
https://carlosrafaelgn.github.io/GraphicalFilterEditor/
The code in index.html can be used as a demo on how to load and generate files during runtime in client-side JavaScript.
This project uses Web Audio API, File API and Web Worker API and requires a compliant browser to run properly. In Firefox 23 and 24, Web Audio API must be enabled using about:config.
If running this sample locally, Chrome must be started with the command-line option --allow-file-access-from-files otherwise you will not be able to load any files!
Run tscdbg or tscmin to compile the TypeScript files (requires tsc and closure-compiler), or run make rebuild to compile the C code (requires make and Emscripten). All build scripts target the Windows platform, and a few changes should be made to make them run under Linux or Mac.
This project is licensed under the MIT License.
Notice for the FFT library
Reference:
-
Masatake MORI, Makoto NATORI, Tatuo TORII: Suchikeisan, Iwanamikouzajyouhoukagaku18, Iwanami, 1982 (Japanese)
-
Henri J. Nussbaumer: Fast Fourier Transform and Convolution Algorithms, Springer Verlag, 1982
-
C. S. Burrus, Notes on the FFT (with large FFT paper list) http://www-dsp.rice.edu/research/fft/fftnote.asc
Copyright(C) 1996-2001 Takuya OOURA
email: ooura@mmm.t.u-tokyo.ac.jp
download: http://momonga.t.u-tokyo.ac.jp/~ooura/fft.html
You may use, copy, modify this code for any purpose and without fee. You may distribute this ORIGINAL package.
http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html
https://www.jjj.de/fft/fftpage.html
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
106.4kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
100.0kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
