fix: supradough onTrigger after breaking change
This commit is contained in:
parent
a32473d570
commit
5632d83afb
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ const soundMap = new Map();
|
||||||
const loadedSounds = new Map();
|
const loadedSounds = new Map();
|
||||||
|
|
||||||
Pattern.prototype.supradough = function () {
|
Pattern.prototype.supradough = function () {
|
||||||
return this.onTrigger((_, hap, __, cps, begin) => {
|
return this.onTrigger((hap, __, cps, begin) => {
|
||||||
hap.value._begin = begin;
|
hap.value._begin = begin;
|
||||||
hap.value._duration = hap.duration / cps;
|
hap.value._duration = hap.duration / cps;
|
||||||
!doughWorklet && initDoughWorklet();
|
!doughWorklet && initDoughWorklet();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue