allow absolute time for superdough with prefix =
This commit is contained in:
parent
0565558e21
commit
10bd668033
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue