@Christoph-Hart
I'm still getting a crash when loading files into the wavetable creator and resample mode. It doesn't seem to happen when I use one of the other resynthesis modes.
> HISE Debug.exe!juce::MemoryBlock::MemoryBlock(const juce::MemoryBlock & other) Line 42 C++
HISE Debug.exe!hise::getMemoryBlockFromWavetableData(const juce::ValueTree & v, int channelIndex) Line 1324 C++
HISE Debug.exe!hise::WavetableSound::WavetableSound(const juce::ValueTree & wavetableData, hise::Processor * parent) Line 1357 C++
HISE Debug.exe!hise::SampleMapToWavetableConverter::rebuildPreviewBuffersInternal() Line 712 C++
HISE Debug.exe!hise::SampleMapToWavetableConverter::refreshCurrentWavetable(bool forceReanalysis) Line 1597 C++
HISE Debug.exe!hise::SampleMapToWavetableConverter::setCurrentIndex(int index, juce::NotificationType n) Line 1637 C++
HISE Debug.exe!hise::SampleMapToWavetableConverter::parseSampleMap(const juce::ValueTree & sampleMapTree) Line 854 C++
HISE Debug.exe!hise::WavetableConverterDialog::loadSampleMap::__l2::<lambda>() Line 787 C++
[External Code]
HISE Debug.exe!hise::WavetableConverterDialog::run::__l2::<lambda>(std::function<void __cdecl(void)> & f) Line 942 C++
[External Code]
HISE Debug.exe!hise::LockfreeQueue<std::function<void __cdecl(void)>>::callForEveryElementInQueue(const std::function<bool __cdecl(std::function<void __cdecl(void)> &)> & f) Line 1316 C++
HISE Debug.exe!hise::WavetableConverterDialog::run() Line 936 C++
HISE Debug.exe!hise::DialogWindowWithBackgroundThread::LoadingThread::run() Line 397 C++
HISE Debug.exe!juce::Thread::threadEntryPoint() Line 96 C++
HISE Debug.exe!juce::juce_threadEntryPoint(void * userData) Line 118 C++
HISE Debug.exe!juce::threadEntryProc(void * userData) Line 66 C++
HISE Debug.exe!thread_start<unsigned int (__cdecl*)(void *),1>(void * const parameter) Line 97 C++
[External Code]
That's the debugger callstack in VS2022. The main error I get is Exception thrown: read access violation.
other was nullptr.
It makes no difference as to whether I use a SampleMap in a sampler, or I drag and drop the sample directly into the creator.
Is this anything you know about or could investigate??