# Pd query - Odd timer behaviour?

**URL:** <https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012>\
**Category:** Patching\
**Created:** [July 11, 2018, 11:21pm UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012 "2018-07-11T23:21:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghostly606](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/ghostly606/32/736_2.png) [@ghostly606](https://forum.critterandguitari.com/u/ghostly606)\
**Post date:** [July 11, 2018, 11:21pm UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/1 "2018-07-11T23:21:01Z")

</div>

I have nicked the timer from the C&G Recorder for a 4 track recorder I am working on and on the PC screen it starts at 0:0:0 as you would expect but when printing to the Organelle screen it starts at 0:0:1, i.e. the screen is 1 second faster. I can’t workout for the life of my why this would be.

The patch:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/2X/9/96c85d7f5b88eea88cb73c4e168e14f48d606d66.png)

Any suggestions?

---

<div class="post-metadata">

**Author:** ![chapelierfou](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/chapelierfou/32/1637_2.png) [@chapelierfou](https://forum.critterandguitari.com/u/chapelierfou)\
**Post date:** [July 12, 2018, 5:12am UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/2 "2018-07-12T05:12:30Z")

</div>

Maybe because the metro outputs a bang instantly when switched on, but you would expect that it would wait for the first « tick » ?  
Edit : re-reading your post, I don’t think I see what’s wrong. Sorry, it’s too early in the morning.

---

<div class="post-metadata">

**Author:** ![oweno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/oweno/32/10_2.png) [@oweno](https://forum.critterandguitari.com/u/oweno)\
**Post date:** [July 12, 2018, 11:32am UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/3 "2018-07-12T11:32:05Z")

</div>

when you hit note 78 it starts the metro twice, once when you press the key and again when you release the key. you want to use the [stripnote] object after [r notes] (instead of the unpack).

---

<div class="post-metadata">

**Author:** ![ghostly606](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/ghostly606/32/736_2.png) [@ghostly606](https://forum.critterandguitari.com/u/ghostly606)\
**Post date:** [July 12, 2018, 3:03pm UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/4 "2018-07-12T15:03:37Z")

</div>

Sorted! Thanks for the advice. 🕶

Any tips how to get the time to appear as hh:mm:ss, i.e. two significant figures for the minutes and seconds? Purely aesthetical but when the timer starts the display currently goes:  
0:0:0  
0:0:1  
0:0:2  
etc…  
0:0:9  
0:0:10  
etc

I would like it to go:  
00:00:00  
00:00:01  
00:00:02  
etc  
00:00:09  
00:00:10  
etc

I tried running the mm and ss floats through this:

![image](https://canada1.discourse-cdn.com/flex035/uploads/critterandguitari/original/2X/4/437af02d01ded6a5ca0ef0b480dc60578a9bc36a.png)

But the output is a symbol up to 09 and a float thereafter and I can’t figure out how to send this to the screenLine5 object.

---

<div class="post-metadata">

**Author:** ![chrisk](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/chrisk/32/11_2.png) [@chrisk](https://forum.critterandguitari.com/u/chrisk)\
**Post date:** [July 12, 2018, 3:57pm UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/5 "2018-07-12T15:57:00Z")

</div>

The Countdown Timer does time with two digits like you want:  
[http://thepeacetreaty.org/organelle/patches/Countdown%20Timer.zip](http://thepeacetreaty.org/organelle/patches/Countdown%20Timer.zip)

---

<div class="post-metadata">

**Author:** ![ghostly606](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/ghostly606/32/736_2.png) [@ghostly606](https://forum.critterandguitari.com/u/ghostly606)\
**Post date:** [July 12, 2018, 4:59pm UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/6 "2018-07-12T16:59:04Z")

</div>

Thanks! Will take a look.

---

<div class="post-metadata">

**Author:** ![ghostly606](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/ghostly606/32/736_2.png) [@ghostly606](https://forum.critterandguitari.com/u/ghostly606)\
**Post date:** [July 12, 2018, 7:00pm UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/7 "2018-07-12T19:00:05Z")

</div>

Unfortunately the Countdown Timer does seconds and minutes the same way as I had shown.

---

<div class="post-metadata">

**Author:** ![chrisk](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/chrisk/32/11_2.png) [@chrisk](https://forum.critterandguitari.com/u/chrisk)\
**Post date:** [July 12, 2018, 7:27pm UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/8 "2018-07-12T19:27:12Z")

</div>

oh sorry about that!

---

<div class="post-metadata">

**Author:** ![ghostly606](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/ghostly606/32/736_2.png) [@ghostly606](https://forum.critterandguitari.com/u/ghostly606)\
**Post date:** [July 12, 2018, 7:35pm UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/9 "2018-07-12T19:35:10Z")

</div>

No worries! 😃

---

<div class="post-metadata">

**Author:** ![oweno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/oweno/32/10_2.png) [@oweno](https://forum.critterandguitari.com/u/oweno)\
**Post date:** [July 13, 2018, 11:44am UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/10 "2018-07-13T11:44:30Z")

</div>

unfortunately there isn’t much in the way of formatting numbers for sending to screen line, but you could try using the lower level graphics messages. check out the demo patch:

[https://patchstorage.com/graphics-demo/](https://patchstorage.com/graphics-demo/)

---

<div class="post-metadata">

**Author:** ![Jaffasplaffa](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.critterandguitari.com/jaffasplaffa/32/2053_2.png) [@Jaffasplaffa](https://forum.critterandguitari.com/u/Jaffasplaffa)\
**Post date:** [August 30, 2018, 9:23am UTC](https://forum.critterandguitari.com/t/pd-query-odd-timer-behaviour/3012/11 "2018-08-30T09:23:02Z")

</div>

Hey guys!

Check here, it is possible to format numbers to a specific number of digits, using makefilename %03 to set a number with 3 digits. 001 012 888. It turns the values into symbols, but that doesnt really matter when it is for the display, it works fine here:

> [@Formatting Screen Information: Number of Digits Changes](https://forum.critterandguitari.com/t/formatting-screen-information-number-of-digits-changes/3218/6):
>
> Loos like this, nice and tidy with 2 parameters on a single line, no jumping lines slight_smile Sorry picture is taken form my old Iphone4. [IMG\_0174] Next thing would be to figure out how to make empty spaces, so the top line menu can be position the like rest slight_smile
