Author Topic: nice project from 4ms - SIMSAM - a sample-rate-cruncher  (Read 3355 times)

krachbox

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

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

as always nice stuff from 4ms


3080

Re: nice project from 4ms - SIMSAM - a sample-rate-cruncher
« Reply #1 on: January 24, 2010, 06:07:44 AM »
nice

MoltenVoltage

Re: nice project from 4ms - SIMSAM - a sample-rate-cruncher
« Reply #2 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."
MoltenVoltage.com for PedalSync audio control chips - make programmable and MIDI-controlled analog pedals!

Taylor

  • Awesome!
  • ****
  • Posts: 4118
  • Total likes: 62
  • The clean energy source of the future.
Re: nice project from 4ms - SIMSAM - a sample-rate-cruncher
« Reply #3 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.