1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 03:29:40 +00:00

It turns out that the Vic has a 1.6Khz low-pass filter. So added that.

This commit is contained in:
Thomas Harte
2016-08-21 12:13:41 -04:00
parent 8d839c5278
commit c783090980
3 changed files with 27 additions and 4 deletions
+5 -1
View File
@@ -15,7 +15,11 @@ Speaker::Speaker() :
_control_registers{0, 0, 0, 0},
_shift_registers{0, 0, 0, 0},
_counters{2, 1, 0, 0} // create a slight phase offset for the three channels
{}
{
// The Vic has a 1.6Khz low-pass filter;
// TODO: this is part of the Vic-20, not part of the 6560. So relocate it.
set_high_frequency_cut_off(1600);
}
void Speaker::set_volume(uint8_t volume)
{