Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@blibliki/engine
Advanced tools
Blibliki Engine is a data-driven, non-UI JavaScript library written in TypeScript that serves as a framework for building synthesizers. Built on top of ToneJS, it aims to provide a streamlined interface for creating custom synthesizers.
Blibliki Engine is a data-driven, non-UI JavaScript library written in TypeScript that serves as a framework for building synthesizers. Built on top of ToneJS, it aims to provide a streamlined interface for creating custom synthesizers.
The engine operates in a data-driven manner, allowing developers to provide changes to the current module configuration rather than directly accessing the modules themselves. This approach facilitates seamless integration with state management libraries like Redux, making it easy to build applications with centralized state management.
One notable advantage of the data-driven approach is the ability to easily save and recall patches. By representing the synthesizer configuration as data, developers can effortlessly store and load patches, enabling users to save and share their custom presets.
Blibliki Engine offers polyphony support and provides access to essential audio modules such as oscillators, filters, envelopes, and effects. It's important to note that the list of available audio modules will be extended as the development of the engine continues.
npm install @blibliki/engine
import Engine from "@blibliki/engine";
Engine.initialize
returns a promise that resolves when the engine is initialized and ready for use.
Engine.initialize({ context: { lookAhead: 0.03 } });
This methods are triggering all audio modules to start or stop
Engine.start();
Engine.stop();
All audio modules share the shame structure. The props structure vary per audioModule.
{
id: string,
name: string,
props: Object,
inputs: [{
id: string,
name: string,
moduleId: string,
moduleName: string
}],
outputs: [{
id: string,
name: string,
moduleId: string,
moduleName: string
}],
}
const master = Engine.master;
const osc = Engine.addModule({ name: "Osc", type: "Oscillator" });
const volume = Engine.addModule({
name: "Vol",
type: "Volume",
props: { volume: -10 },
});
// Update props
Engine.updatePropsModule(volume.id, { volume: -20 });
Engine.updatePropsModule(osc.id, { wave: "square", fine: -10 });
Engine.removeModule(osc.id);
{
id: string,
sourceId: string,
outputName: string,
destinationId: string,
inputName: string,
}
// Connect oscillator out to volume input
const oscVolRoute = Engine.addRoute({
sourceId: osc.id,
outputName: "output",
destinationId: volume.id,
inputName: "input",
});
// Connect oscillator out to volume input
const volToMaster = Engine.addRoute({
sourceId: volume.id,
outputName: "output",
destinationId: master.id,
inputName: "input",
});
Engine.removeRoute(oscVolRoute.id);
As a work-in-progress project, Blibliki Engine actively welcomes contributions and feedback from the community. Whether it's reporting issues, suggesting new features, or submitting code changes, contributors are encouraged to get involved and help shape the future of Blibliki Engine.
FAQs
Blibliki Engine is a data-driven, non-UI JavaScript library written in TypeScript that serves as a framework for building synthesizers. Built on top of ToneJS, it aims to provide a streamlined interface for creating custom synthesizers.
The npm package @blibliki/engine receives a total of 1 weekly downloads. As such, @blibliki/engine popularity was classified as not popular.
We found that @blibliki/engine demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.