Skip to content

jsjsjsjsjsjsjson/ESP32ModPlayer

Repository files navigation

ESP32 MOD Player

This project is an MOD music player based on ESP32, capable of playing MOD music files. MOD is an 8-bit sample tracker file format used on the Amiga computer. 1000043204

Features

  • Supports playing MOD music files
  • Can display the waveform of MOD music files
  • Supports volume adjustment, frequency adjustment, and more

Dependencies

  • FreeRTOS
  • dac_audio
  • ESP-IDF
  • SSD1306

Usage

  1. Use the byte_tool.py in the extratools folder to convert MOD music files into C language arrays.
  2. Include the converted MOD music files in main.c for playback. Several songs are already included.
  3. Compile and flash the project onto the ESP32 development board.
  4. Plug the speaker into GPIO25 or GPIO26 (DAC PIN)
  5. Run the project to start playing MOD music.

Possible Future Features

  • More effects
  • Reading MOD files from SD card or flash

Notes

  • Can run on a single-core ESP32 at the minimum clock frequency (80MHz)
  • This project only supports MOD music files in specific formats.
  • If you do not have an SSD1306 screen, remove the code in the app_main function that starts the "wave_view" task. This will not affect any playback functionality
  • Make sure to have the ESP-IDF development environment installed before compiling and flashing the project.

Contribution

Contributions and suggestions are welcome. You can contribute by submitting issues or pull requests.

Acknowledgments

Thanks to all contributors and the open-source community for their support of this project.

References

Feel free to contact the author for any questions or suggestions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages