g992 / flashforge-ad5m-5mpro-research

Hardware and software researches and upgrades for Flashforge adventurer M5/M5 PRO
53 stars 5 forks source link

"Audio" module #11

Open consp opened 4 months ago

consp commented 4 months ago

Wrote a python module for making it easier to use the beeper.

https://github.com/consp/flashforge_ad5m_audio https://pypi.org/project/ff-ad5m-audio/ https://pypi.org/project/ff-adm5-audio/ (typosquat) Ymmv with respect to midi files. Should work if you can use pip in the machine, otherwise you have to install the wheels yourself (as in, the dependencies). Pip should work as long as you set the time correctly.

If you have root, make sure the time is set correctly, then pip3 install ff-ad5m-audio and the audio command will be available.