Commit Graph
57 Commits
Author SHA1 Message Date
msqr1 1340e1430f A n o t h e r b i g c h a n g e 2024-03-24 22:56:28 -07:00
msqr1 1d4bb738a6 Non trapping float to int conversion 2024-03-24 19:38:54 -07:00
msqr1 8bb9733cd1 Large commit 2024-03-24 00:58:13 -07:00
msqr1 638de69e67 Use wasmfs memfs backend instead for speedup and 1 less extra thread. Reorder function argument 2024-03-20 23:30:30 -07:00
msqr1 37e526cbc1 Rename, ready for a super big change about OPFS 2024-03-17 21:41:49 -07:00
msqr1 ecab9aa5d5 Add more debug info, untested 2024-03-16 23:23:05 -07:00
msqr1 9c261cb5eb Hardcode event type since it is always "0", except for recognizer. 2024-03-16 17:25:58 -07:00
msqr1 39e08f3f48 Remove tryStealMdlThrd 2024-03-13 09:21:15 -07:00
msqr1 471d35729a Untested refactoring, relax exception safety. 2024-03-12 23:45:44 -07:00
msqr1 2091845b04 Great progress 2024-03-10 22:52:01 -07:00
msqr1 9a40cdaa7f Still trying to fix only working at -O0 2024-03-10 00:56:41 -08:00
msqr1 05f14c3671 NEVER FORGET TO SPECIFY THE 3RD ARG WHEN USING O_CREAT. NEVER EVER AGAIN! (2 months wasted). Worked for mode 0 2024-03-06 23:04:28 -08:00
msqr1 c650bf4b12 Bump emscripten version 2024-03-03 16:14:47 -08:00
msqr1 932fb6972a OMG THE HEAP OVERFLOW HAUNTS ME 2024-03-02 00:44:16 -08:00
msqr1 894fc1df99 Use std::variant, reorder struct member 2024-03-01 22:15:15 -08:00
msqr1 111961e217 SUPER small JS size 2024-02-26 22:59:43 -08:00
msqr1 b3a6522196 Maximally use debug 2024-02-21 23:34:27 -08:00
msqr1 4b9db510d0 Recompilation 2024-02-21 23:13:53 -08:00
msqr1 07b9259c5b Rename project to Vosklet 2024-02-21 23:07:25 -08:00
msqr1 126db67720 Debug build 2024-02-21 11:15:29 -08:00
msqr1 a0898a6bf1 Overload constructor of recognizer, maximal debug configuration 2024-02-20 23:12:08 -08:00
msqr1 0f9cf2916e change in documentation 2024-02-20 19:57:18 -08:00
msqr1 67304dcb92 Bump emscripten version to 3.1.54 2024-02-19 22:48:49 -08:00
msqr1 18de98dd3b Fix await issue. But it doesn't work tho. 2024-02-08 20:19:38 -08:00
msqr1 b7f050ffa9 JS Optimization 2024-02-07 22:13:36 -08:00
msqr1 bf65aebe69 Use fireEv 2024-02-07 10:58:41 -08:00
msqr1 76c5dbb130 Important changes 2024-02-07 10:25:02 -08:00
msqr1 786eb87c27 Fixed #1 in TODO by using archive_read_data_into_fd. 2024-02-06 23:12:49 -08:00
msqr1 6fd7c7e191 Remove zstd and use JS decompressionStream => support gzip, 4.4MB -> 3.9MB, change example model. 2024-02-06 19:29:27 -08:00
msqr1 31ee35e1f7 Tried closure compiler, but it doesn't reduce the size as much as expected, and it breaks many things. Tried -Oz, but it only reduces 200kb. 2024-02-05 23:12:41 -08:00
msqr1 0ad8f60672 Update documentation 2024-02-05 17:46:03 -08:00
msqr1 56398e54a9 Change file structure 2024-02-05 17:27:30 -08:00
msqr1 6d097a9853 Issue investigation 2024-02-05 15:31:21 -08:00
msqr1 09a4a2844d use flto on clapack-wasm 2024-02-04 16:44:17 -08:00
msqr1 8fc9c5b37c help 2024-02-04 10:49:21 -08:00
msqr1 47d0b7fbec delete emsdk 2024-02-03 22:22:36 -08:00
msqr1 9c5585ef2a ignore emsdk directory 2024-02-03 22:21:24 -08:00
msqr1 70b7d2c21b switch to makefile instead, reuse threads 2024-02-03 22:19:17 -08:00
msqr1 9f49aa46e0 Merge worker.js file so this truly has one file, status: tested, not working 2024-02-01 17:04:43 -08:00
msqr1 9d21692993 Fixess 2024-01-31 22:49:07 -08:00
msqr1 1b74781a9d move static thread declaration, recompile test and test --> worked. 2024-01-31 21:17:28 -08:00
msqr1 94a8a68170 Fix lambda capturing by refrence, since pointers go out of the function scope, it becomes invalid 2024-01-31 11:00:51 -08:00
msqr1 f7acda0006 design change 2024-01-31 10:40:05 -08:00
msqr1 4fc670f2b8 pre.js change test 2024-01-29 23:24:12 -08:00
msqr1 c20efbeb29 Design structure change again........ OMG STOPPP 2024-01-29 22:44:09 -08:00
msqr1 c34d3f8974 a promising run 2024-01-28 22:05:58 -08:00
msqr1 8796f35445 Nothing is working but it is on the right track! ASYNCIFY removed, manual waiting instead and some proxying logic 2024-01-28 00:09:16 -08:00
msqr1 efb56e19f9 Recognizer design change 2024-01-25 23:30:45 -08:00
msqr1 48b54295f3 Non-working draft 2024-01-24 23:00:29 -08:00
msqr1 43b54fd1f6 Rename files 2024-01-24 20:35:33 -08:00
msqr1 e92ddadc99 Add documents and optimize build 2024-01-24 20:30:27 -08:00
msqr1 6da9a662a1 Fix licence and restructure, prepare to add AudioWorklet 2024-01-20 17:37:47 -08:00
msqr1 2a426b983c Change base structure to use errors instead 2024-01-20 00:41:38 -08:00
msqr1 91a21271d5 Draft 2 (failed) 2024-01-18 23:47:10 -08:00
msqr1 97ba7ee1b8 Some bug fixes and change in pattern 2024-01-17 08:11:36 -08:00
msqr1 c7b380bece Make naming convention consistent, and synchronize code 2024-01-16 23:25:24 -08:00
msqr1 ab8d869dd9 C and JS interface, untested 2024-01-15 23:36:20 -08:00