Play .MOD soundtracks tunes on your naked LGT8F328p #105
Replies: 4 comments 12 replies
-
Whoa, cool! I remember being amazed by mod files back in the 90s, and it occurred to me once or twice that a modern 8 bit micro ought to be able to make some good sounds. Will definitely check it out |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Something funny I noticed as I wanted to record a video with audio of the LGT8 playing a tune : the PWM sound from the PAM8403 delta audio amplifier module i used to feed a speaker can't be recorded on my smartphone. I can hear the audio with my naked ears, but none of the microphone from my smartphone can record it .... |
Beta Was this translation helpful? Give feedback.
-
I added Fast PWM audio output ( 62kHz PWM @ 32MHz ). It also works on real ATmega328p (31kHz PWM @ 16MHz). |
Beta Was this translation helpful? Give feedback.
-
Hello there !
Last october 2020, I've managed to port pocketmod to the LGT8F328p.
I did not touch the code since then, but I wanted to share it with you here : lgt8_mod_player.
It can play .MOD music format with up to 4 channels and 15
or 31instruments at up to ~12kHz soundrate.If you don't know what .MOD are : they are tune/music format from the 80's that were initially created using the Amiga. see wikipedia . They use audio samples as instruments, and they are still used today for demo scene and some game engines.
The music will be outputed through the DAC0 pin of the LGT8. So may want to connect it to an audio-amplifier.
UPdates :
@prosper00 posted a video showing the LGT8 playing a MOD
Beta Was this translation helpful? Give feedback.
All reactions