seeing in start_tone and verified that the tone jumps randomly at 1850 and up.
Code: Select all
# strange how the sound jumps around at around 1800 and on up
# Tested with CircuitPython 7, not with 6
from time import sleep
from adafruit_macropad import MacroPad
macropad = MacroPad()
for freq in range(200,10000, 50):
print(f"freq: {freq}")
macropad.start_tone(freq)
sleep(.45)
macropad.stop_tone()
sleep(.05)
Code: Select all
for freq in range(200,10000, 50):
print(f"freq: {freq}")
macropad.play_tone(freq, .45)
sleep(.5)