diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2021-07-23 18:20:00 +0100 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2021-07-23 18:20:00 +0100 |
commit | 269f63b5d8a71712f587370f1e0c54660e4c55ab (patch) | |
tree | 7605121eeb8363521d15c0603ecf33a013e9047b /Build | |
parent | e4619445203c9b17788cbcedeac4f4918b2ac2b3 (diff) | |
download | WasmAudio-269f63b5d8a71712f587370f1e0c54660e4c55ab.tar.gz WasmAudio-269f63b5d8a71712f587370f1e0c54660e4c55ab.zip |
Update code. change wasm part to match name .
Diffstat (limited to 'Build')
-rw-r--r-- | Build/Makefile | 6 | ||||
-rw-r--r-- | Build/index.html | 20 |
2 files changed, 11 insertions, 15 deletions
diff --git a/Build/Makefile b/Build/Makefile index 6fe2da3..338fca8 100644 --- a/Build/Makefile +++ b/Build/Makefile @@ -10,6 +10,12 @@ make: emcc: $(EMCC) $(SOURCEDIR)/main.c ../FIR/firmath.c -s WASM=1 -O3 -o index.js $(EM_LDFALGS) -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]' + + +deploy: + scp index.html fam@main.lv:/srv/http/wasm.main.lv/wasmfir + scp index.js fam@main.lv:/srv/http/wasm.main.lv/wasmfir + scp index.wasm fam@main.lv:/srv/http/wasm.main.lv/wasmfir web: darkhttpd ./ --port 12345 diff --git a/Build/index.html b/Build/index.html index a91652f..39b2251 100644 --- a/Build/index.html +++ b/Build/index.html @@ -28,27 +28,17 @@ </div> <pre> - To save right click and "Save image as ..." + Run r, listen with s, apply filtr with q and listen again with s Supported keys: - left,right,up,down - change position by 10 pixels - r - reset the configuration - '-' - decrease amount of levels - '=' - increase amount of levels - q - previous color pattern - w - next color pattern - a - decrease size - s - increase size + r - record sound buffer + s - play recorded buffer + q - applay fir filter </pre> <pre> Changelog: - v0.3 - - fixed help -> increase button set to '=' - v0.2 - - fixed increase size bug, when fractal become as point - color pattern bug when go to next color v0.1 - initial release </pre> </body> -</html>
\ No newline at end of file +</html> |