Pass the samplerate to the createHarmonicProfile function
This commit is contained in:
parent
f5ac778c16
commit
bad1120296
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ const WavetableMulti* WavetablePool::createFileWave(FilePool& filePool, const st
|
||||||
};
|
};
|
||||||
|
|
||||||
auto wave = std::make_shared<WavetableMulti>(
|
auto wave = std::make_shared<WavetableMulti>(
|
||||||
WavetableMulti::createForHarmonicProfile(hp, 1.0));
|
WavetableMulti::createForHarmonicProfile(hp, 1.0, config::tableSize, fileHandle->information.sampleRate));
|
||||||
|
|
||||||
_fileWaves[filename] = wave;
|
_fileWaves[filename] = wave;
|
||||||
return wave.get();
|
return wave.get();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue