nice project from 4ms - SIMSAM - a sample-rate-cruncher

Started by krachbox, January 22, 2010, 04:29:42 PM

Previous topic - Next topic

krachbox



MoltenVoltage

From his own description, a pretty half-assed effort at coding:

"here are some things wrong with the SimSam. For one, it has to have the watchdog timer enabled, and that thing goes off every few seconds. For those of you who aren't cringing, the watchdog timer is a little counter that runs in the background and automatically resets the SimSam whenever it freezes up... so the translation is that the SimSam is trying its darndest to freeze up constantly, but the watchdog keeps bailing it out.

Since it's resetting all the time, your current sample rate would also get reset, so to keep the sound somewhat consistant (heh heh) it stores the sample rate into EEPROM everytime you press the sample button. EEPROM is a non-volatile memory which means it doesn't get erased when the chip is reset. Then when the chip starts back up again, it reads the settings from EEPROM and all you hear is a tiny click amidst a gazillion other clicks pops robots whines zooms and crashes. Of course, EEPROM can only be written relieably 100,000 times, and any decent game player can top that in a day. So forget reliability. Tomorrow it won't work the same as it did today. If you don't like it, fix my code and send me something better. Bah."
MoltenVoltage.com for PedalSync audio control chips - make programmable and MIDI-controlled analog pedals!

Taylor

That's kind of the ethos of 4ms. There are plenty of plain old sample rate reducers out there if you want something plain old.