Hello everybody!
I just got a PyGamer a couple of weeks ago, and today was trying to get the PYOA demo (with cursor support) working, with hopes of making a larger hypercard like project. It threw an error, however, when it reached a card with sound attached to it:
Playing sound /cave/pub.wav
Traceback (most recent call last):
File "code.py", line 26, in <module>
File "adafruit_pyoa.py", line 320, in display_card
File "adafruit_pyoa.py", line 259, in _play_sound_for
File "adafruit_pyoa.py", line 366, in play_sound
AttributeError: 'module' object has no attribute 'WaveFile'
Looking at the CircuitPython 6.0.1 release notes, I'm guessing the error is being caused by a call to audioio for WaveFile? ("Removed Mixer, RawSample, and WaveFile from audioio. They are now only available in audiocore. 5.x has them in both modules.")
Is there an easy way for me to fix this (I've not dealt with .mpy files yet), any plans for an update to adafruit_pyoa, or should I downgrade to an older version of CircuitPython ?