I've done this with C++ in the past, but ran into substantial friction with the CMake toolchain, specifically w.r.t: - cross-platform compilation with large dependencies (vcpkg ports) - running multiple compiler chains in the same build step That second point is necessary if, for example, there's some AOT asset processing work that uses a native tool, and you're building for web. Expressing that some targets should use the emscripten toolchain while others should use the native toolchain, and interleaving between them, was a mess. TBF, I haven't done that with cargo or build.rs yet and it may prove to be equally frustrating. Other features: - undo/redo using a stack of swappable states - serialization to disk (native) and LocalStorage (web) with some integration tests in progress but I am not satisfied with the correctness of my implementation: I want to *guarantee* that all information is preserved round-trip, but I also want a Patek watch. - OBJ, GLTF, GLB models are loaded as "blueprint scenes" which are distinct from the "world scene." I made this distinction at the type-level because "scenes" are groups of entities that use newtype IDs (`LightId(u64)`, `MeshId(u64)` etc.) as primary and foreign keys to refer to each other, and I wanted to make it impossible for an entity in scene A to hold an ID for an entity in scene B. Instantiating a blueprint requires creating new IDs for every object. - W.I.P. Alpha rendering, depth sorting, overhauling the material system to support multiple shaders (tough) that may be compiled after the engine itself (even tougher, a lot of runtime dynamic state and schema validation stuff), physics, scripting - oh yeah! - Scripting using JS on both web (runs in browser itself) and desktop (uses a packaged JS runtime `Boa`) but Boa doesn't perform well on desktop in debug mode so I'm exploring other options.
A webcam & microphone JS tester library that you can put in front of your WebRTC or MediaRecorder web app to diagnose any possible issues (the presence of getUserMedia, secure context, required devices, policies blocking device access, supported resolutions, etc.). It also primes your users’ OS/browser permissions before they get to the real app.
I'm getting back in to audio programming, starting off with Pd[1] and reading Miller Puckette's book[2]. I'm planning on writing some low-level C libraries afterwards, using The Audio Programming Book[3] as a guide
Comments (1,369) 864 threads
Earlier commentshttps://github.com/dinoki-ai/osaurus
I've done this with C++ in the past, but ran into substantial friction with the CMake toolchain, specifically w.r.t:
- cross-platform compilation with large dependencies (vcpkg ports)
- running multiple compiler chains in the same build step
That second point is necessary if, for example, there's some AOT asset processing work that uses a native tool, and you're building for web. Expressing that some targets should use the emscripten toolchain while others should use the native toolchain, and interleaving between them, was a mess. TBF, I haven't done that with cargo or build.rs yet and it may prove to be equally frustrating.
Other features:
- undo/redo using a stack of swappable states
- serialization to disk (native) and LocalStorage (web) with some integration tests in progress but I am not satisfied with the correctness of my implementation: I want to *guarantee* that all information is preserved round-trip, but I also want a Patek watch.
- OBJ, GLTF, GLB models are loaded as "blueprint scenes" which are distinct from the "world scene." I made this distinction at the type-level because "scenes" are groups of entities that use newtype IDs (`LightId(u64)`, `MeshId(u64)` etc.) as primary and foreign keys to refer to each other, and I wanted to make it impossible for an entity in scene A to hold an ID for an entity in scene B. Instantiating a blueprint requires creating new IDs for every object.
- W.I.P. Alpha rendering, depth sorting, overhauling the material system to support multiple shaders (tough) that may be compiled after the engine itself (even tougher, a lot of runtime dynamic state and schema validation stuff), physics, scripting - oh yeah!
- Scripting using JS on both web (runs in browser itself) and desktop (uses a packaged JS runtime `Boa`) but Boa doesn't perform well on desktop in debug mode so I'm exploring other options.
https://github.com/addpipe/webcam-tester
Live demo @ https://addpipe.com/webcam-tester/
[1] https://puredata.info
[2] https://msp.ucsd.edu/techniques.htm
[3] https://mitpress.mit.edu/9780262014465/the-audio-programming...
All comments shown.
Couldn't load more comments. Check your connection and try again.