Add control over phase randomization and fix a bug with supersaw

This commit is contained in:
Aria 2025-09-25 00:05:50 -07:00
parent ef87f65bef
commit e3741ae8fa
4 changed files with 22 additions and 10 deletions

View file

@ -120,6 +120,16 @@ export const { wtWarp, wavetableWarp } = registerControl('wtWarp', 'wavetableWar
*/
export const { wtWarpMode, wavetableWarpMode } = registerControl('wtWarpMode', 'wavetableWarpMode');
/**
* Amount of randomness of the initial phase of the wavetable oscillator.
*
* @name wtPhaseRand
* @param {number | Pattern} mode Warp mode: an integer
* @synonyms wavetableWarpMode
*
*/
export const { wtPhaseRand, wavetablePhaseRand } = registerControl('wtPhaseRand', 'wavetablePhaseRand');
/**
* Define a custom webaudio node to use as a sound source.
*