Skip to content

Commit dd04d49

Browse files
committed
fix test
1 parent 3487486 commit dd04d49

File tree

3 files changed

+419
-238
lines changed

3 files changed

+419
-238
lines changed

packages/core/controls.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,10 @@ export const { tremolo } = registerControl(['tremolo', 'tremolodepth', 'tremolos
466466
* note("d d d# d".fast(4)).s("supersaw").tremolosync("4").tremoloskew("<1 .5 0>")
467467
*
468468
*/
469-
export const { tremolosync } = registerControl(['tremolosync', 'tremolodepth', 'tremoloskew', 'tremolophase'], 'tremsync');
469+
export const { tremolosync } = registerControl(
470+
['tremolosync', 'tremolodepth', 'tremoloskew', 'tremolophase'],
471+
'tremsync',
472+
);
470473

471474
/**
472475
* depth of amplitude modulation
@@ -1655,8 +1658,6 @@ export const { density } = registerControl('density');
16551658
export const { expression } = registerControl('expression');
16561659
export const { sustainpedal } = registerControl('sustainpedal');
16571660

1658-
1659-
16601661
export const { fshift } = registerControl('fshift');
16611662
export const { fshiftnote } = registerControl('fshiftnote');
16621663
export const { fshiftphase } = registerControl('fshiftphase');

packages/superdough/superdough.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ export const superdough = async (value, t, hapDuration, cps = 0.5, cycle = 0.5)
745745
if (tremolosync != null) {
746746
tremolo = cps * tremolosync;
747747
}
748-
748+
749749
if (tremolo !== undefined) {
750750
// Allow clipping of modulator for more dynamic possiblities, and to prevent speaker overload
751751
// EX: a triangle waveform will clip like this /-\ when the depth is above 1

0 commit comments

Comments
 (0)