From c0c5b8abdaa8a0e69c1c3f1e7e0a3db041fa8c09 Mon Sep 17 00:00:00 2001 From: Leon Fedden Date: Tue, 25 Oct 2016 20:16:45 +0100 Subject: added maxiRecorder to ofx libs and reduced volume by factor of 10 (bug) --- maximilian.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'maximilian.cpp') diff --git a/maximilian.cpp b/maximilian.cpp index 9f847cb..3391da1 100644 --- a/maximilian.cpp +++ b/maximilian.cpp @@ -2197,7 +2197,7 @@ void maxiRecorder::saveToWav() pcmDataInt.resize(pcmData.size()); for (int i = 0; i < pcmData.size(); ++i) - pcmDataInt[i] = (short) (pcmData[i] * 32767); + pcmDataInt[i] = (short) (pcmData[i] * 3276.7); int sampleRate = maxiSettings::sampleRate; short channels = maxiSettings::channels; -- cgit v1.3