
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
An light-weight, garbage-collection-free, and easy-to-use audio engine for browser-based music apps.
This is a light-weight, garbage-collection free, memory-safe and easy-to-use audio library for browsers. It's written in Rust and ported to JS via WebAssembly and runs in AudioWorklet. The communication is realised with SharedArrayBuffer.
Note that you need to have
cross-origin isolation
enabled on the web server (both the dev server and the one you deploy your web app) to use this package. Forvite
dev server, you can use my plugin here. For deployment onNetlify
orFirebase
, check their docs for editing the header files. If you use a customised server, you have to figure it out yourself.
This is a proof of concept and the API may change. But after you npm i glicol
, you can just write:
import Glicol from "glicol"
const glicol = new Glicol()
Then you run your main audio graph logic:
glicol.run(`o: saw 50 >> lpf 300.0 1.0`)
You can call the run
again if you want to change some parameters. There won't be an update to the whole graph. Instead, the Glicol Rust engine will be smart enough to tell the difference and only update where is modified.
glicol.run(`o: saw 50 >> lpf 300.0 1.0`)
Another style is to send message to the engine:
// track "o", node_index 0, param 0, set to 110
glicol.send_msg(`o, 0, 0, 110`);
You can use it with GUI, see this example:
https://glicol-npm.netlify.app
Multiple message in one String is also possible.
glicol.send_msg(`o, 0, 0, 110; o, 1, 0, 500; o, 1, 1, 0.8`);
There are many todos for this package. Please let me know your thoughts and suggestions here:
https://github.com/chaosprint/glicol
Issues
or Discussion
are both fine.
pnpm link --dir /usr/local/lib/ glicol
FAQs
A light-weight, audio-thread-GC-free, memory-safe, and easy-to-use audio engine for browser-based music apps.
We found that glicol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.