Skip to content

Commit

Permalink
Merge v4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-thompson committed Dec 15, 2024
2 parents a5629b6 + abc8c34 commit 69c8401
Show file tree
Hide file tree
Showing 11 changed files with 2,009 additions and 680 deletions.
2 changes: 1 addition & 1 deletion js/packages/core/lib/oscillators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export function bleptriangle(rate: ElemNode): NodeRepr_t {
* @returns {NodeRepr_t}
*/
export function noise(props?: { key?: string; seed?: number }): NodeRepr_t {
return el.sub(el.mul(2, el.rand(a)), 1);
return el.sub(el.mul(2, el.rand(props)), 1);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions js/packages/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elemaudio/core",
"version": "4.0.0",
"version": "4.0.1",
"type": "module",
"description": "Official Elementary Audio core package",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions js/packages/offline-renderer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions js/packages/offline-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elemaudio/offline-renderer",
"version": "4.0.0",
"version": "4.0.1",
"type": "module",
"description": "Official package for rendering Elementary Audio applications offline",
"author": "Nick Thompson <nick@elementary.audio>",
Expand Down Expand Up @@ -39,7 +39,7 @@
"rollup-plugin-ignore": "^1.0.10"
},
"dependencies": {
"@elemaudio/core": "^4.0.0",
"@elemaudio/core": "^4.0.1",
"invariant": "^2.2.4"
}
}
5 changes: 3 additions & 2 deletions js/packages/web-renderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import {
Renderer,
} from '@elemaudio/core';

import { pkgVersion } from './version';

/* @ts-ignore */
import WorkletProcessor from './raw/WorkletProcessor';
import WasmModule from './raw/elementary-wasm';

// Injected at build time
const pkgVersion = process.env.PKG_VERSION;

export default class WebRenderer extends EventEmitter {
private _worklet: any;
private _promiseMap: any;
Expand Down
Loading

0 comments on commit 69c8401

Please sign in to comment.