From bad1120296be997268e6428b9be4471790c6bc5a Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Sat, 28 Mar 2020 19:46:42 +0100 Subject: [PATCH] Pass the samplerate to the createHarmonicProfile function --- src/sfizz/Wavetables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/Wavetables.cpp b/src/sfizz/Wavetables.cpp index dd962083..df8a6b17 100644 --- a/src/sfizz/Wavetables.cpp +++ b/src/sfizz/Wavetables.cpp @@ -389,7 +389,7 @@ const WavetableMulti* WavetablePool::createFileWave(FilePool& filePool, const st }; auto wave = std::make_shared( - WavetableMulti::createForHarmonicProfile(hp, 1.0)); + WavetableMulti::createForHarmonicProfile(hp, 1.0, config::tableSize, fileHandle->information.sampleRate)); _fileWaves[filename] = wave; return wave.get();