Page 1 of 1

Posted: 22 Mar 2010, 02:13
by joffo78
Hello
I'd like to know if it's possible to make a counter which display the time with hours minutes and second and why not the time
left before the end of a soundfile.
thanks

Posted: 22 Mar 2010, 02:33
by 23fx23
hi joffo

there are several possibilities, this is one, you can make it start when you start your sampler:

Image


to know the time that rest, instead of driving "curent" to the modules,

drive (sampler lengh out(ms) - current) (using a A-B) out to the modules.

Posted: 22 Mar 2010, 16:46
by joffo78
Thanks but your method doesn't work if i want to stop or move the position of playing ?

Posted: 22 Mar 2010, 18:37
by 23fx23
Image

ok ,so this one should more mach you needz as its linked to position of sampler, so should reflect stop/move position, there is also the swich to choose between displaying "elapsed" or "left" time.

elapsed (swch is 0) act like this: pick sample lengh, check with his position in percent what's current time in ms,convert in s,m,h
when switch is on, it pick total lengh and subtract current playing pos.
(to make less wire between two modes in fact when on "elapsed" A-B returns 0-current position, so a negative pos, the abs is used to make it always positive). hope it helps.