formatting
This commit is contained in:
parent
6c05a4eb7b
commit
6a33032da7
2 changed files with 2 additions and 2 deletions
|
|
@ -471,7 +471,7 @@ export const { amskew } = registerControl('amskew');
|
||||||
* note("{f a c e}%16").am(4).amphase("<0 .25 .66>")
|
* note("{f a c e}%16").am(4).amphase("<0 .25 .66>")
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
export const { amphase } = registerControl('amskew');
|
export const { amphase } = registerControl('amphase');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shape of amplitude modulation
|
* shape of amplitude modulation
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@ class AMProcessor extends AudioWorkletProcessor {
|
||||||
const depth = parameters['depth'][0];
|
const depth = parameters['depth'][0];
|
||||||
const skew = parameters['skew'][0];
|
const skew = parameters['skew'][0];
|
||||||
const phaseoffset = parameters['phaseoffset'][0];
|
const phaseoffset = parameters['phaseoffset'][0];
|
||||||
const blockSize = 128;
|
|
||||||
const frequency = speed * cps;
|
const frequency = speed * cps;
|
||||||
if (this.phase == null) {
|
if (this.phase == null) {
|
||||||
const secondsPassed = cycle / cps;
|
const secondsPassed = cycle / cps;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue