mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
allow absolute time for superdough with prefix =
This commit is contained in:
@@ -272,6 +272,7 @@ export const superdough = async (value, t, hapDuration) => {
|
||||
// duration is passed as value too..
|
||||
value.duration = hapDuration;
|
||||
// calculate absolute time
|
||||
t = typeof t === 'string' && t.startsWith('=') ? Number(t.slice(1)) : ac.currentTime + t;
|
||||
// destructure
|
||||
let {
|
||||
s = 'triangle',
|
||||
|
||||
Reference in New Issue
Block a user