Page 1 of 1
Posted: 04 Apr 2010, 09:07
by joffo78
Hello
I'm trying to make a counter which display the time ellapsed on a sampler
my problem is to re starting tat0 evrey 60 seconds.
i make this for the begining

could you help me to finish this ?
thank you
Posted: 04 Apr 2010, 09:30
by nay-seven
hello joffo78
was cool to meet you at quartz meeting..

i can suggest you the patch
Count Milliseconds in module /synchro/time
maybe easier..?
Posted: 04 Apr 2010, 09:39
by joffo78
hi nay
I was nice to meet you to.
Sorry but i don't see how the count millisecond patch could help me to solve my problem .
Posted: 04 Apr 2010, 10:25
by nay-seven
something like this..?

Posted: 04 Apr 2010, 10:33
by joffo78
did you test it ? it doesn't work for me
Posted: 04 Apr 2010, 10:41
by nay-seven
yes, it's working here..
check your sampler is in play button mode..?
and yes..maybe the duration of the patch who must be set to the max ( or linked to the outlet len of your sample)
sorry..tired;)
Posted: 04 Apr 2010, 10:54
by joffo78
OK it work until i move the position with the cursor.
I need with this method to start at the begining of the sample
Posted: 04 Apr 2010, 11:08
by joffo78
Eureka !
I find this :

Posted: 04 Apr 2010, 11:44
by nay-seven
great !
following your idea :

( the text module with
: must be set to invisible
Posted: 04 Apr 2010, 13:46
by 23fx23
hey joffo, also did you try the second method i shwown ya here?:
http://sensomusic.com/forums/viewtopic.php?id=2064
if need only seconds, just delete the modules below. let you choose elapsed/resting time
Posted: 04 Apr 2010, 19:20
by joffo78
Oh so sorry i forgot that i ever asked the question few week ago ...
However it's very interesting to have two differents logics.
yours seems good because you can switch between elapsed and remain which interest me !
and te nay one is interesting for the contrac strings sequences
Posted: 04 Apr 2010, 21:06
by 23fx23
hehe no worries, i just said myself "it reminds me something". you can try to make a combo of both

Posted: 04 Apr 2010, 22:36
by joffo78
Yes i did it

my last problem is to put a 0 when the second value is inferior than 10 to keep the same syntax
ex: 1m12s or 1m02s and not 1m2s
Posted: 05 Apr 2010, 21:51
by 23fx23
this is one solution for your pb. text in usine is also an array.