Skip to content
Discussion options

You must be logged in to vote

you can stack a timer with your wave player

let time = shared(0.0);
let graph = timer(&time) | wavech(...);

and now you have the time of the wave player being kept in that atomic time

and since wave player only needs an arc of the wave, you can keep an arc clone on your main thread and call .duration() on it, and subtract the time value from that

idk anything about kira, hopefully that's helpful

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Roms1383
Comment options

Answer selected by Roms1383
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants