pqina / flip

⏳ The online version of the classic flip clock
https://pqina.nl/flip/
MIT License
874 stars 89 forks source link

Feature: is there a way to play sound on animation #65

Open stenza opened 10 months ago

stenza commented 10 months ago

There is this free (= Creative Commons 0 licensed) sound: https://freesound.org/people/ngruber/sounds/261244/ Would be easy to get one flip or a group of flip sounds from this file.

Is there a way to catch the animation start/end event and play the sound repeatedly while the animation plays?

🙏🏻

rikschennink commented 10 months ago

You can add the "Boom" view: https://pqina.nl/tick/#boom

stenza commented 10 months ago

That looks awesome, but my flip.js says: Can't get extension with name "boom", "boom" is not available. The following extensions are available: "text", "flip"

And your docs' page says:

Tick Studio (not available yet) ships with five different views for presenting data. It's also possible that you've bought a single view

Which way am I allowed to use this module? Couldn't find any purchase page ...

rikschennink commented 10 months ago

Flip (and it's parent Flip) used to be a commercial plugin, you can find the Boom view below in the dist folder: https://github.com/pqina/tick/