mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-17 10:06:21 +00:00
Adjust audio formulation.
Probably still not right, but less wrong with the current input.
This commit is contained in:
parent
c076636df1
commit
0dc44e8efd
@ -573,8 +573,8 @@ struct PCSpeaker {
|
||||
}
|
||||
|
||||
void set_level() {
|
||||
// TODO: eliminate complete guess of mixing function here.
|
||||
const bool new_output = (pit_mask_ & pit_input_) ^ level_;
|
||||
// TODO: I think pit_mask_ actually acts as the gate input to the PIT.
|
||||
const bool new_output = (!pit_mask_ | pit_input_) & level_;
|
||||
|
||||
if(new_output != output_) {
|
||||
update();
|
||||
|
Loading…
Reference in New Issue
Block a user