mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-12 06:08:34 +00:00
allow absolute time for superdough with prefix =
This commit is contained in:
parent
0565558e21
commit
10bd668033
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user