-
Notifications
You must be signed in to change notification settings - Fork 24
faustwasm updated to 0.14.0. #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hey thanks! |
|
Happy new year 2026 ! Yes "vibe-coding/working" a lot on this project https://github.com/sletz/faust-mcp, so heavily using the node-web-audio-api, really nice BTW. I'm using my fork right now, I've let you know when a merge can be done. |
|
Can you possibly merge now ? And update https://www.npmjs.com/package/node-web-audio-api ? Thanks. |
|
I might be mistaken but I don't think updating a devDependency has an effect on end users |
|
Thanks!
No indeed, it doesn't |
|
Reading here: https://docs.npmjs.com/specifying-dependencies-and-devdependencies-in-a-package-json-file, and having faustwasm packagage in devDependency, what is expected work flow for user using NPM packaged version when Faust support is needed ? |
|
For a end user, the workflow would be to install both the import { AudioContext, AudioWorkletNode } from 'node-web-audio-api';
// Expose AudioWorkletNode globally so faustwasm can patch it into worklet factories.
if (typeof globalThis.AudioWorkletNode === 'undefined') {
globalThis.AudioWorkletNode = AudioWorkletNode;
}
const {
instantiateFaustModuleFromFile,
LibFaust,
FaustCompiler,
FaustMonoDspGenerator,
} = await import('@grame/faustwasm/dist/esm/index.js');This is a bit convoluted for now... but I'm thinking about exposing a import 'node-web-audio-api/register-global.js';
import {
instantiateFaustModuleFromFile,
LibFaust,
FaustCompiler,
FaustMonoDspGenerator,
} from '@grame/faustwasm/dist/esm/index.js';cf. #166 |
No description provided.