Repository navigation
|
Hi there! Would it be reasonable to ask for adding a getter for the remaining duration / samples of a Please do let me know if it already exists in some form, i might utterly have overlooked it. |
Replies: 1 comment 1 reply
|
you can stack a 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 and since wave player only needs an arc of the wave, you can keep an arc clone on your main thread and call idk anything about kira, hopefully that's helpful |
you can stack a
timerwith your wave playerand now you have the time of the wave player being kept in that atomic
timeand 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 thatidk anything about kira, hopefully that's helpful