Skip to content

Commit

Permalink
Bumps version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Solomon committed May 4, 2022
1 parent 876cc93 commit e646eab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.4] - 2022-05-03

- Fixes disconnection bug in FFI.

## [1.1.3] - 2022-05-03

- Adds non-effectful curves for waveshapers.

## [1.1.2] - 2022-05-03

- Allows for Audio Units to control Audio units.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "purescript-wags",
"version": "1.1.2",
"version": "1.1.4",
"description": "Web Audio Graphs as a Stream",
"scripts": {
"build": "spago build",
Expand Down
10 changes: 5 additions & 5 deletions src/WAGS/Interpret.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ var genericSetter = function (state, unit, name, controllers, param) {
return protoSetter(unit[name], controllers[name], param, state);
};
var addToScope = function (ptr, scope, state) {
if (!state.scopes[scope.value]) {
state.scopes[scope.value] = [];
if (!state.scopes[scope]) {
state.scopes[scope] = [];
}
state.scopes[scope.value].push(ptr);
state.scopes[scope].push(ptr);
state.units[ptr].scope = scope;
};
var doDeferredConnections = function (ptr, state) {
Expand Down Expand Up @@ -164,10 +164,10 @@ export function disconnectXFromY_(a) {
if (state.units[y].se) {
state.units[x].main.disconnect(state.units[y].se);
}
if (state.units[ptr].scope === "@fan@") {
if (state.units[x].scope === "@fan@") {
return;
}
const scope = state.units[ptr].scope;
const scope = state.units[x].scope;
state.scopes[scope].forEach((scp) => {
delete state.units[scp];
});
Expand Down

0 comments on commit e646eab

Please sign in to comment.