mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Adds a low-pass filter to the Apple II's audio.
This commit is contained in:
parent
6c8e6e9303
commit
8907d0a9a7
@ -139,6 +139,9 @@ class ConcreteMachine:
|
||||
// decision to sample it at seven times the CPU clock (plus stretches).
|
||||
speaker_.set_input_rate(static_cast<float>(master_clock / (2.0 * static_cast<float>(audio_divider))));
|
||||
|
||||
// Apply a 10Khz low-pass filter. This was picked by ear.
|
||||
speaker_.set_high_frequency_cutoff(10000);
|
||||
|
||||
// Also, start with randomised memory contents.
|
||||
Memory::Fuzz(ram_, sizeof(ram_));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user