Re:Chiptunes on an ATtiny4 and the 3 Cent Micro
by djmips on Tuesday May 04, 2021 @10:22AM
(#27037887)
Could sound better with a filter on the output.
[ Parent
| on HN ]
Re:Chiptunes on an ATtiny4 and the 3 Cent Micro
by exDM69 on Tuesday May 04, 2021 @11:26AM
(#27038602)
Yes, the legendary SID chip was a digital oscillator followed by an analog filter.
After seeing this heroic SID chip reverse engineering (0), I tried building the filter section using a quad opamp to make the state variable filter. It sounds kinda nice for such a simple circuit.
I've been planning a project of using a micro controller to do the oscillators and then use the PWM outputs to drive the filter control voltages.
Re:Chiptunes on an ATtiny4 and the 3 Cent Micro
by 8bitsrule on Wednesday May 05, 2021 @01:26AM
(#27046520)
A passive filter (if you've got the headroom) doesn't have to be fancy ... just a capacitor and variable resistor will let you custom-mellow the excess highs. (Old radios had these for 'tone control' ;-)
Re:Chiptunes on an ATtiny4 and the 3 Cent Micro
by exDM69 on Wednesday May 05, 2021 @06:20AM
(#27048168)
Yes, a little low pass will make a square wave much more pleasant to the ear.
But a proper LP/HP/BP resonant filter is almost a musical instrument in itself.
Re:Chiptunes on an ATtiny4 and the 3 Cent Micro
by kennywinker on Tuesday May 04, 2021 @04:14PM
(#27042343)
It has one, check out the section labelled "Output filtering"