Show HN: A talking board game in a 2k program and 128 bytes of RAM
s3-eu-west-1.amazonaws.com
s3-eu-west-1.amazonaws.com
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?
With the benefit of a modern microcontroller, I imagine you could do natural-ish speech with only moderately larger parameter sets.
I think I'd use a rasperry pi pico now-a-days for about the same cost but with enough flash built in (2MB) and enough processor to play mp3 files.
See this example project which makes a pi pico into an mp3 player from a PWM pin.
https://embeddedcomputing.com/technology/processing/interfac...
For truly low-cost MCUs with similar capabilities and applications, look at Generalplus/Sunplus ICs -- sub-$1 prices, bare die/COB, and widely used in commercial products. E.g. GPC22C170A has 256B of RAM and 512KB of ROM.
(I'm guessing not. QOA's format includes 128 bytes of lms_state per channel even before it comes to the samples; way too big)
It's like reading a romance book building a climax through the chapters just for an inconclusive ending.
I see an `iframe` with this url [1] but the `<body>` of the document is empty. It's very likely you have to change the protocol to `https` (instead of `http`), otherwise the browser refuses to load the url automatically.