aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian.cpp
diff options
context:
space:
mode:
authorLeon Fedden <lfedd001@gold.ac.uk>2016-10-25 20:16:45 +0100
committerLeon Fedden <lfedd001@gold.ac.uk>2016-10-25 20:16:45 +0100
commitc0c5b8abdaa8a0e69c1c3f1e7e0a3db041fa8c09 (patch)
treecfa36a3cb12e62650c678c5ed90871cd3ed32f32 /maximilian.cpp
parente607b8ba18b51aab2efe3d44cf043b6994642127 (diff)
added maxiRecorder to ofx libs and reduced volume by factor of 10 (bug)
Diffstat (limited to 'maximilian.cpp')
-rw-r--r--maximilian.cpp2
1 files changed, 1 insertions, 1 deletions
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;