Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blibliki/engine

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blibliki/engine - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

9

build/Engine.js

@@ -70,4 +70,9 @@ import { Context, setContext } from "tone";

dispose() {
Object.values(this.modules).forEach((m) => m.dispose());
this.modules = {};
Object.values(this.modules).forEach((m) => {
if (m.type === "master")
return;
m.dispose();
});
this.modules = { [this._master.id]: this._master };
this.routes = {};
}

@@ -74,0 +79,0 @@ findById(id) {

@@ -53,3 +53,2 @@ import { v4 as uuidv4 } from "uuid";

throw Error(`Output ${from} not exist`);
console.log(`${this.name}:${from} => ${audioModule.name}:${to}`);
const input = audioModule.inputs.find((i) => i.name === to);

@@ -56,0 +55,0 @@ if (!input)

@@ -52,2 +52,3 @@ import { Filter as InternalFilter } from "tone";

this._envelope.frequency = this.cutoff;
this._envelope.amount = this.envelopeAmount;
}

@@ -54,0 +55,0 @@ }

@@ -68,3 +68,2 @@ import { v4 as uuidv4 } from "uuid";

throw Error(`Output ${from} not exist`);
console.log(`${this.name}:${from} => ${audioModule.name}:${to}`);
const input = audioModule.inputs.find((i) => i.name === to);

@@ -71,0 +70,0 @@ if (!input)

{
"name": "@blibliki/engine",
"version": "0.1.0",
"version": "0.1.1",
"main": "build/index.js",

@@ -5,0 +5,0 @@ "types": "build/index.d.ts",

import { Context, setContext } from "tone";
import { ModuleType, PolyModule } from "./Module";
import { ModuleType } from "./Module";
import { AudioModule, createModule } from "./Module";

@@ -116,4 +116,10 @@ import Master from "./Module/Master";

dispose() {
Object.values(this.modules).forEach((m) => m.dispose());
this.modules = {};
Object.values(this.modules).forEach((m) => {
if (m.type === "master") return;
m.dispose();
});
this.modules = { [this._master.id]: this._master };
this.routes = {};
}

@@ -120,0 +126,0 @@

@@ -86,4 +86,2 @@ import { v4 as uuidv4 } from "uuid";

console.log(`${this.name}:${from} => ${audioModule.name}:${to}`);
const input = audioModule.inputs.find((i) => i.name === to);

@@ -90,0 +88,0 @@ if (!input)

@@ -77,2 +77,3 @@ import { Filter as InternalFilter } from "tone";

this._envelope.frequency = this.cutoff;
this._envelope.amount = this.envelopeAmount;
}

@@ -79,0 +80,0 @@ }

@@ -91,4 +91,2 @@ import MidiEvent from "../MidiEvent";

console.log(`${this.name}:${from} => ${audioModule.name}:${to}`);
const input = audioModule.inputs.find((i) => i.name === to);

@@ -95,0 +93,0 @@ if (!input)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc