PIC32 MOD/S3M Player made in C (Amiga soundtrack player)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
391 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 20, 2011

No hardware, just the pic32 chip ! With ALL (except funkrepeat) Protracker effects and linear interpolation (now it play S3M with realtime pattern unpacking on FAT16/32 SD/HC SD Card:D)
I use two output compare PWM as 10 bits stereo DAC and one timer interrupt playing a circular sound buffer.
100% integer and fixed point DSP.. Pattern streaming : Almost no ram needed.
C source code for MPLAB CUI32 UBW32 / Uno32 Max32... http://www.serveurperso.com/temp

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (serveurperso)

  • Hi, can you show the connections? In the video I don't see the SD Card

  • @settorezero wire your SD card on the PIC32 SPI bus number 4 (F4 F5 F12 F13) or update mmcPIC32.c for another port.

  • You sure? Did you for example know that tremolo uses the vibrato position variable, becuase of a typo in the original sources?

  • @8bitbubsy No I don't know this, I use two *Pos vars. But at this time I work on a fast SPI DMA routine for the fsFAT library and some cache algorithm for my sample mixer/streaming engine.

  • "With all Protracker effects [...]"

    That's what they all say, but is it true? Not really, check out EFF (called "FunkRepeat") in ProTracker 1.3 or newer. Even PT2.3D.

    It loops through the current sample's loop points each tick, and inverts the sample byte. Kind of nasty, as it directly trashes the sample data memory, it doesn't copy it to a buffer.

    Check out my ProTracker project for more, I'm pretty sure you have loads of errors in your replayer. sourceforge (dot) net/projects/protracker

  • @8bitbubsy Hi, I finished the SD card filesystem buffering routine now I can work on MOD funkrepeat:D

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • @8bitbubsy I have not made a ProTracker emulator. It's just another .MOD player for a microcontroller. I do not want to repeat the bugs of the original but just do like Schism (Impulse) Tracker.

  • @serveurperso

    I can tell you this, most open source MOD players doesn't do ProTracker bugs, instead they focus on FastTracker (not XM, MOD FLT) compatibility and the like. I don't think you'll find any people around these days that know more about the ProTracker bugs than me. Maybe a few guys, but oh well.

  • @8bitbubsy I already checked near all open source mod players library to make my code. I'd rather do nothing than to make a "loads of errors"

  • @8bitbubsy Now mine play S3M with near all scream tracker 3 effects. with just few Kb of RAM and my code is not ugly:D

  • @8bitbubsy The purpose of this code is is to be as light and efficient as possible. it's a standalone music CHIP. I corrected the ALL with NEAR ALL because the only effect that I have not coded is the funkrepeat:) All others effects are accurate

    Pascal

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more