DIYstompboxes.com

DIY Stompboxes => Digital & DSP => Topic started by: krachbox on January 22, 2010, 04:29:42 PM

Title: nice project from 4ms - SIMSAM - a sample-rate-cruncher
Post by: krachbox on January 22, 2010, 04:29:42 PM
find it here:

http://4ms.org/projects/?p=77 (http://4ms.org/projects/?p=77)

as always nice stuff from 4ms

Title: Re: nice project from 4ms - SIMSAM - a sample-rate-cruncher
Post by: 3080 on January 24, 2010, 06:07:44 AM
nice
Title: Re: nice project from 4ms - SIMSAM - a sample-rate-cruncher
Post by: MoltenVoltage on January 24, 2010, 10:28:29 AM
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."
Title: Re: nice project from 4ms - SIMSAM - a sample-rate-cruncher
Post by: Taylor on January 24, 2010, 02:43:08 PM
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.