From d4e5648dca07b8ceb8e05bf53355aaee8130cc94 Mon Sep 17 00:00:00 2001 From: Wong Cho Ching Date: Sun, 26 Jan 2014 12:37:26 +0800 Subject: [PATCH] Reduced the volume --- plugins/sfxr/sfxr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sfxr/sfxr.cpp b/plugins/sfxr/sfxr.cpp index 9def57048..ab1132197 100644 --- a/plugins/sfxr/sfxr.cpp +++ b/plugins/sfxr/sfxr.cpp @@ -293,7 +293,7 @@ void SfxrSynth::update( sampleFrame * buffer, const fpp_t frameNum ) //ssample=ssample/8*master_vol; //ssample*=2.0f*sound_vol; - ssample*=0.05f; + ssample*=0.025f; if(buffer!=NULL) { @@ -445,7 +445,7 @@ QString sfxrInstrument::nodeName() const -void sfxrInstrument::playNote(notePlayHandle * _n, sampleFrame * _working_buffer ) +void sfxrInstrument::playNote( notePlayHandle * _n, sampleFrame * _working_buffer ) { m_synthMutex.lock(); fpp_t frameNum = _n->framesLeftForCurrentPeriod();