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.
@elemaudio/offline-renderer
Advanced tools
Official package for rendering Elementary Audio applications offline
Elementary is a JavaScript/C++ library for building audio applications.
The @elemaudio/offline-renderer
package provides a specific Renderer
implementation
for running Elementary applications in Node.js and web environments using WASM. Offline
rendering is intended for processing data with no associated real-time audio driver, such
as file processing. You'll need to use this package alongside @elemaudio/core
to build
your application.
Please see the full documentation at https://www.elementary.audio/
npm install --save @elemaudio/offline-renderer
import { el } from '@elemaudio/core';
import OfflineRenderer from '@elemaudio/offline-renderer';
(async function main() {
let core = new OfflineRenderer();
await core.initialize({
numInputChannels: 0,
numOutputChannels: 1,
sampleRate: 44100,
});
// Our sample data for processing: an empty input and a silent 10s of
// output data to be written into.
let inps = [];
let outs = [new Float32Array(44100 * 10)]; // 10 seconds of output data
// Render our processing graph
core.render(el.cycle(440));
// Pushing samples through the graph. After this call, the buffer in `outs` will
// have the desired output data which can then be saved to file if you like.
core.process(inps, outs);
})();
MIT
FAQs
Official package for rendering Elementary Audio applications offline
We found that @elemaudio/offline-renderer 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.