-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio speed #148
Audio speed #148
Conversation
This function resets the audio properties, in particular the speed. See there: rajgoel#148 (comment)
@rajgoel What do you think about an option to control the speed of audio? My students like that... |
@lechten: I think this could be a really nice enhancement (and sorry for letting you wait with this PR for so long). One of the reasons, that I am hesitant about this are the side effects of video-playback linked to the audio controls and to playback of recorded chalkboard drawings. Also the animate plugin somehow requires the correct playback timing. Do you have an idea on how to deal with these side effects? Alternatively, some mechanism would be needed to prevent using the feature in such use cases. |
Thank you for the explanations. I do not have any experiences with recordings, sorry. |
One idea could be to disable the feature when I'll be happy to merge if
Can you please also check whether the PR still works with the current version (it looks like it should, but i haven't tested). |
Btw. is the playback rate copied or reset to 1 when jumping from on slide to another? |
I am not sure what to copy where. So far, I initialize each audio with
What about this:
Should this return
Yes, it does.
It is reset to 1 by |
Each media element on the current slide or fragment with
This function should return the playback radio currently used (so that it could be picked up by the other plugins to synchronize).
I guess |
See that discussion: rajgoel#148
6c43feb
to
b836644
Compare
I rebased the branch on top of master (4.2.3). I renamed the variable from Note that I no longer set the speed in As discussed, I removed the call |
Thanks a lot for the PR. Please let me know should there be any remaining issues with this. |
Thanks for merging 😄 |
Just to confirm: there is currently no way to have the playback speed synchronise with chalkboard annotation? |
As far as I remember, the chalkboard replay currently does not support different playback rates. |
This MR introduces the new option
defaultAudioRate
to control the speed of audio playback.