mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:57:34 +00:00
Piano: Decrease sample headroom
Multiplying all samples by 0.1 was kind of silly. This also requires adjusting the wave visualizer so that the waves still fit.
This commit is contained in:
parent
d2510d0caa
commit
1088c2c716
2 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ constexpr int buffer_size = sample_count * sizeof(Sample);
|
|||
constexpr double sample_rate = 44100;
|
||||
|
||||
// Headroom for the synth
|
||||
constexpr double volume_factor = 0.1;
|
||||
constexpr double volume_factor = 0.8;
|
||||
|
||||
enum Switch {
|
||||
Off,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue