3 ms·
a 2k program, 128 bytes of ram... and 4 megabits of flash! still super cool i really appreciate the filesystem design notes i've been wanting to do something
by kragen 3y ago
a 2k program, 128 bytes of ram... and 4 megabits of flash! still super cool
i really appreciate the filesystem design notes
i've been wanting to do something like this without the 4 megabits of flash; wondering if i can use lpc-10 on an atmega328, since it has a hardware multiplier (unlike the attiny45 and attiny2313s i have)
i've been thinking that it would be nice to get a speaker driver circuit that eliminates the dc bias from the speaker current that this transistor-switch driver is providing. you can't just put an ac-coupling capacitor in series with the speaker like you normally would because the cap charges up to 3 volts and stays there, with no way to ever discharge. you could of course ground the emitter through an inductor or resistor, but is there a better way?
- jasomill 3y agoUse speech synthesis rather than sampled audio — Speak & Spell did comprehensible speech with a few kilobytes of ROM in 1978. With the benefit of a modern microcontroller, I imagine you could do natural-ish speech with only moderately larger parameter sets.
- kragen 3y agoyeah, the lpc-10 voice codec i mentioned uses the same linear predictive coding approach the chip in the speak & spell used; it requires about 10 multiplications per output sample, which is about 80000 per second, which may be challenging on an attiny2313 or attiny45 where you have to do the multiplications with repeated shifts and adds, but i think ought to be doable on the atmega328