foxygit / fake-08-xbox360 Log in
commit f443f191a0f21c44dd43e437393eb3c2de46d0e5
Author:     jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Tue Aug 17 19:53:42 2021 -0600
Commit:     jtothebell <j.to.the.bell@gmail.com>
CommitDate: Tue Aug 17 19:53:42 2021 -0600

    Tweak noise amplitude
---
 source/synth.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/synth.cpp b/source/synth.cpp
index d89943c..972803c 100644
--- a/source/synth.cpp
+++ b/source/synth.cpp
@@ -107,7 +107,7 @@ float synth::waveform(int instrument, float advance)
             sample = (lsample + scale * (((float)rand() / (float)RAND_MAX) * 2.0f - 1.0f)) / (1.0f + scale);
             //printf("sample: %f\n", sample);
             lastadvance = advance;
-            float endval = std::min(std::max((lsample + sample) * 4.0f / 3.0f * (1.75f - scale), -1.0f), 1.0f) * 0.4f;
+            float endval = std::min(std::max((lsample + sample) * 4.0f / 3.0f * (1.75f - scale), -1.0f), 1.0f) * 0.2f;
             //printf("endval: %f\n", endval);
             return endval;
         }