4 ms·
Very interesting project. I really like your website design and the documentation. For the audio part, I think it would be very interesting to compare it with
by chaosprint 5y ago
Very interesting project. I really like your website design and the documentation.
For the audio part, I think it would be very interesting to compare it with my project Glicol (https://glicol.org https://glicol.org) from many aspects.
From Web Audio aspect, Glicol recommands users to add only two lines of code to the project:
```html
<script src="https://cdn.jsdelivr.net/gh/chaosprint/glicol@latest/js/src/glicol.min.js"></script> https://cdn.jsdelivr.net/gh/chaosprint/glicol@latest/js/src/...
```
Then:
```js
run(out: `sin 440`)
```
For params updating, just call the `run` again:
```js
run(out: `sin 220`)
```
And Glicol engine will use LCS to analyse the difference, and avoid updating the whole graph.
Since Glicol uses Rust, WASM and SharedArrayBuffer, there is no GC, and support sample level control.
I haven't checked the source code of your project, but since I know CodePen quite well, it looks like that you need to add SAB, although it requires CORS during deployment.
Also, I think it may need more consideration to promote it with "Write once, run anywhere" at this stage. For example, how about Teensy? For Glicol, although it has POC to show that it can run as VST or on Bela board (https://github.com/chaosprint/glicol https://github.com/chaosprint/glicol), there are still a long way to go (for both of us). I need to have Rust no_std from some of Glicol's dependencies. Yet I don't know how JS can be used in Teensy/STM32. But this is definitely not the end of the world. Sometimes, to have a better scope is actually a good thing for a project. If I would be to promote Elementary Audio, I would call it a Tone.js alternative. It would still be a significant contribution, since Tone.js has been so influential in Web Audio, especially for beginners. How do you think?
I think for Tone.js, the time management and scheduling is not very satisfying, perhaps you can introduce more on this topic for Elementary?
All being said, I think it is very exciting to see a new project in audio community. Good luck and please feel free to discuss more.