# Issues creating a metronome

**URL:** <https://discourse.processing.org/t/issues-creating-a-metronome/815>\
**Category:** Processing\
**Created:** [June 9, 2018, 8:27pm UTC](https://discourse.processing.org/t/issues-creating-a-metronome/815 "2018-06-09T20:27:07Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [June 9, 2018, 9:52pm UTC](https://discourse.processing.org/t/issues-creating-a-metronome/815/6 "2018-06-09T21:52:03Z")

</div>

As an alternative to **millis()**, there’s this library I’ve made which is a wrapper for Java’s Timer class:

> [@Array and object moving and not moving Coding Questions](https://discourse.processing.org/t/array-and-object-moving-and-not-moving-coding-questions/698/2):
>
> Here’s an example which displays a blue background() for 5 seconds, followed by a red background() for 2 seconds, relying on a class library I coded called “Countdown.java”: sunglasses[https://Forum.Processing.org/two/discussion/27733/countdown-class-library-for-java-js-python](https://Forum.Processing.org/two/discussion/27733/countdown-class-library-for-java-js-python) /\*\* \* Countdown Pause/Resume Example (v1.0) \* GoToLoop (2018/Jun/04) \* \* https://Discourse.Processing.org/t/ \* array-and-object-moving-and-not-moving-coding-questions/698/2 \*/ import gotoloop.countdown.Countdow…

---

_[View the full topic](https://discourse.processing.org/t/issues-creating-a-metronome/815)._
