Sample Map Error
-
The first one has weird sample rates
44100.00000000
. try changing it to44100
.The xml validation error is because you have a
-
at the start of line 3. Remove this and see if that improves anything. -
Nope neither of those things.
-
@Tod-Slaughter said in Sample Map Error:
If I just quit and load a sampler both maps will load fine.
That implies that the sample maps aren't the problem.
What's happening on line 789 of your interface script?
-
It loads the samplemaps for sampler 2
-
@Tod-Slaughter Can you post your project as a snippet, it might make it easier for me to spot something
-
@Tod-Slaughter said in Sample Map Error:
28E_127_SyTwo.wav
92_G#_127_Biplane.wavI think I've spotted something. The naming. At first was being careful to add an undescore but then I found it made no difference (in isloation). But now this could be problem
-
Ok that wasn't it. But those 2 samplemaps were built with 2 versions of Hise V1.65 and V2.1
I rebuilt the samplemap/monolith with V1.65 and the problem vanished. Now to go through the rest.
-
V2.0 gives the same error so V1.65 is the only one working for me in case anyone else has this issue.
-
Can you work out what the difference is between the v1 and v2 maps?
-
Everything is 24/44.1 so I can't fathom it other than 1.65 works in my project, 2.-- doesn't.
1.65 can't load 2.-- samplemaps
-
@Tod-Slaughter Could you post both sample maps so I can compare them?
-
see above or...
-
I think its loading times that causes a problem. 1.65 loads lightning fast. 2.0 slow 2.1 barely crawling. The load time probably crashes the script
-
@Tod-Slaughter I don't think that can be it. The sample maps you posted are tiny. Here's an example of one of the sample maps I'm loading in a project and there are no speed issues.
There must be differences between the sample maps created in HISE 1.65 and those created in HISE 2 that are causing the issue.
-
As i started to change them my project would load. I noticed Each version samplemap would load differently to each other
-
<?xml version="1.0" encoding="UTF-8"?> <samplemap ID="SyTwo" SaveMode="2" RRGroupAmount="1" MicPositions=";"> <sample ID="0" FileName="{PROJECT_FOLDER}28_E_127_SyTwo_Shifter.wav" Root="28" HiKey="31" LoKey="0" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="0" MonolithLength="397312" SampleRate="44100"/> <sample ID="1" FileName="{PROJECT_FOLDER}32_G#_127_SyTwo_Shifter.wav" Root="32" HiKey="35" LoKey="32" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="397312" MonolithLength="397312" SampleRate="44100"/> <sample ID="2" FileName="{PROJECT_FOLDER}36_C_127_SyTwo_Shifter.wav" Root="36" HiKey="39" LoKey="36" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="794624" MonolithLength="397312" SampleRate="44100"/> <sample ID="3" FileName="{PROJECT_FOLDER}40_E_127_SyTwo_Shifter.wav" Root="40" HiKey="43" LoKey="40" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="1191936" MonolithLength="397312" SampleRate="44100"/> <sample ID="4" FileName="{PROJECT_FOLDER}44_G#_127_SyTwo_Shifter.wav" Root="44" HiKey="47" LoKey="44" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="1589248" MonolithLength="397312" SampleRate="44100"/> <sample ID="5" FileName="{PROJECT_FOLDER}48_C_127_SyTwo_Shifter.wav" Root="48" HiKey="51" LoKey="48" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="1986560" MonolithLength="397312" SampleRate="44100"/> <sample ID="6" FileName="{PROJECT_FOLDER}52_E_127_SyTwo_Shifter.wav" Root="52" HiKey="55" LoKey="52" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="2383872" MonolithLength="397312" SampleRate="44100"/> <sample ID="7" FileName="{PROJECT_FOLDER}56_G#_127_SyTwo_Shifter.wav" Root="56" HiKey="59" LoKey="56" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="2781184" MonolithLength="397312" SampleRate="44100"/> <sample ID="8" FileName="{PROJECT_FOLDER}60_C_127_SyTwo_Shifter.wav" Root="60" HiKey="63" LoKey="60" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="3178496" MonolithLength="397312" SampleRate="44100"/> <sample ID="9" FileName="{PROJECT_FOLDER}64_E_127_SyTwo_Shifter.wav" Root="64" HiKey="67" LoKey="64" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="3575808" MonolithLength="397312" SampleRate="44100"/> <sample ID="10" FileName="{PROJECT_FOLDER}68_G#_127_SyTwo_Shifter.wav" Root="68" HiKey="71" LoKey="68" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="3973120" MonolithLength="397312" SampleRate="44100"/> <sample ID="11" FileName="{PROJECT_FOLDER}72_C_127_SyTwo_Shifter.wav" Root="72" HiKey="75" LoKey="72" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="4370432" MonolithLength="397312" SampleRate="44100"/> <sample ID="12" FileName="{PROJECT_FOLDER}76_E_127_SyTwo_Shifter.wav" Root="76" HiKey="79" LoKey="76" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="4767744" MonolithLength="397312" SampleRate="44100"/> <sample ID="13" FileName="{PROJECT_FOLDER}80_G#_127_SyTwo_Shifter.wav" Root="80" HiKey="83" LoKey="80" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="5165056" MonolithLength="397312" SampleRate="44100"/> <sample ID="14" FileName="{PROJECT_FOLDER}84_C_127_SyTwo_Shifter.wav" Root="84" HiKey="87" LoKey="84" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="5562368" MonolithLength="397312" SampleRate="44100"/> <sample ID="15" FileName="{PROJECT_FOLDER}88_E_127_SyTwo_Shifter.wav" Root="88" HiKey="91" LoKey="88" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="5959680" MonolithLength="397312" SampleRate="44100"/> <sample ID="16" FileName="{PROJECT_FOLDER}92_G#_127_SyTwo_Shifter.wav" Root="92" HiKey="127" LoKey="92" LoVel="0" HiVel="127" RRGroup="1" Volume="0" Pan="0" Normalized="0" Pitch="0" SampleStart="0" SampleEnd="395379" SampleStartMod="0" LoopStart="182483" LoopEnd="395378" LoopXFade="111687" LoopEnabled="1" LowerVelocityXFade="0" UpperVelocityXFade="0" SampleState="0" NormalizedPeak="-1" Duplicate="0" MonolithOffset="6356992" MonolithLength="397312" SampleRate="44100"/> </samplemap>
-
<?xml version="1.0" encoding="UTF-8"?> <samplemap SaveMode="2" ID="Bravenew"> <sample Root="45" LoKey="45" HiKey="48" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}A1_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="0" MonolithLength="368640" SampleRate="44100"/> <sample Root="57" LoKey="57" HiKey="60" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}A2_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="368640" MonolithLength="368640" SampleRate="44100"/> <sample Root="69" LoKey="69" HiKey="72" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}A3_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="737280" MonolithLength="368640" SampleRate="44100"/> <sample Root="81" LoKey="81" HiKey="127" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}A4_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="1105920" MonolithLength="368640" SampleRate="44100"/> <sample Root="37" LoKey="0" HiKey="40" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}C#1_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="1474560" MonolithLength="368640" SampleRate="44100"/> <sample Root="49" LoKey="49" HiKey="52" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}C#2_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="1843200" MonolithLength="368640" SampleRate="44100"/> <sample Root="61" LoKey="61" HiKey="64" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}C#3_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="2211840" MonolithLength="368640" SampleRate="44100"/> <sample Root="73" LoKey="73" HiKey="76" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}C#4_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="2580480" MonolithLength="368640" SampleRate="44100"/> <sample Root="41" LoKey="41" HiKey="44" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}F1_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="2949120" MonolithLength="368640" SampleRate="44100"/> <sample Root="53" LoKey="53" HiKey="56" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}F2_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="3317760" MonolithLength="368640" SampleRate="44100"/> <sample Root="65" LoKey="65" HiKey="68" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}F3_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="3686400" MonolithLength="368640" SampleRate="44100"/> <sample Root="77" LoKey="77" HiKey="80" LoVel="0" HiVel="127" RRGroup="1" FileName="{PROJECT_FOLDER}F4_Bravenew.wav" Duplicate="0" LoopEnabled="1" LoopStart="182483" LoopEnd="364964" LoopXFade="16173" MonolithOffset="4055040" MonolithLength="368640" SampleRate="44100"/> </samplemap>
-
Which one is the one that works?
-
Top one is 1.65 bottom one 2.1
-
Still getting the empty samplmap error but I can load and edit the project now. I suspect once I've converted everything that error will disappear