Example

TESTFLIGHT: music()

0

was8bit 2019-08-10 07:13

TESTFLIGHT ONLY...


Timo 2019-08-10 08:13

You could use PEEKW now to get the frequency. It reads a number with two bytes (16-bit). Hm, not sure now if there is a problem with signed/unsigned numbers. PEEKW is signed, frequency probably not, but maybe it's in the range where it doesn't matter.


was8bit 2019-08-10 09:14

Ah, cool, thanks for the tip :)


was8bit 2019-08-11 10:19

Not sure it my fix is correct it not.....


Timo 2019-08-11 12:37

So yes the frequency values go higher. Your fix looks good.


was8bit 2019-08-11 16:35

Cool... but then maybe my first equations aren’t good as the 2 don’t match... I’ll just stick with the PEEKW for future reads... glad to have it available now :)


Log in to reply.