Metronome Timing

Previous topic - Next topic

matchy

On what can be used to achieve perfect timing, like a metronome? I've tried various way with GETTIMERALL delay and SIN(GETTIMERALL()) bounce, sleep, limitfps and it's fine on PC but not on other "slower" devices.  :S

Schranz0r

Use Threading?
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

matchy

Yes that is it! Thanks.

matchy

I have tried the multithreading lib and wondering how I can produce a steady pulse with 50ms inbetween. If I drop the SLEEP 500 in the lib, the thread doesn't get locked on the ipod.

matchy

Just discovered that SLEEP < 1000 on iphone not working so replace with Delay function. Got a pulse!

Schranz0r

I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard