Sample Map Error
-
@Tod-Slaughter Could you post the whole sample map? Put it in code tags to prevent it making a huge post.
-
This post is deleted! -
<?xml version="1.0" encoding="UTF-8"?> -<samplemap ID="SyTwo" SaveMode="2"> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="0" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}28E_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="31" LoKey="0" Root="28"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="397312" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}32G#_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="35" LoKey="32" Root="32"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="794624" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}36C_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="39" LoKey="36" Root="36"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="1191936" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}40E_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="43" LoKey="40" Root="40"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="1589248" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}44G#_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="47" LoKey="44" Root="44"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="1986560" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}48C_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="51" LoKey="48" Root="48"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="2383872" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}52E_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="55" LoKey="52" Root="52"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="2781184" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}56G#_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="59" LoKey="56" Root="56"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="3178496" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}60C_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="63" LoKey="60" Root="60"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="3575808" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}64E_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="67" LoKey="64" Root="64"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="3973120" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}68G#_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="71" LoKey="68" Root="68"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="4370432" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}72C_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="75" LoKey="72" Root="72"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="4767744" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}76E_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="79" LoKey="76" Root="76"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="5165056" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}80G#_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="83" LoKey="80" Root="80"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="5562368" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}84C_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="87" LoKey="84" Root="84"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="5959680" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}88E_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="91" LoKey="88" Root="88"/> <sample SampleRate="44100.00000000" MonolithLength="397312" MonolithOffset="6356992" SampleStart="30214" LoopXFade="65914" LoopEnd="395378" LoopStart="182483" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}92G#_127_SyTwo.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="127" LoKey="92" Root="92"/> </samplemap>
-
<?xml version="1.0" encoding="UTF-8"?> -<samplemap ID="Biplane" SaveMode="2"> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="0" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}92_G#_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="127" LoKey="92" Root="92"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="700416" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}88_E_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="91" LoKey="88" Root="88"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="1400832" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}84_C_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="87" LoKey="84" Root="84"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="2101248" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}80_G#_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="83" LoKey="80" Root="80"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="2801664" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}76_E_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="79" LoKey="76" Root="76"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="3502080" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}72_C_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="75" LoKey="72" Root="72"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="4202496" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}68_G#_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="71" LoKey="68" Root="68"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="4902912" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}64_E_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="67" LoKey="64" Root="64"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="5603328" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}60_C_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="63" LoKey="60" Root="60"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="6303744" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}56_G#_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="59" LoKey="56" Root="56"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="7004160" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}52_E_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="55" LoKey="52" Root="52"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="7704576" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}48_C_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="51" LoKey="48" Root="48"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="8404992" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}44_G#_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="47" LoKey="44" Root="44"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="9105408" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}40_E_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="43" LoKey="40" Root="40"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="9805824" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}36_C_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="39" LoKey="36" Root="36"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="10506240" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}32_G#_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="35" LoKey="32" Root="32"/> <sample SampleRate="44100" MonolithLength="700416" MonolithOffset="11206656" LoopEnd="699516" LoopStart="364966" LoopEnabled="1" Duplicate="0" FileName="{PROJECT_FOLDER}28_E_127_Biplane.wav" RRGroup="1" HiVel="127" LoVel="0" HiKey="31" LoKey="0" Root="28"/> </samplemap>
-
The 1st one crashes the project as soon as I try to load it. The second one is fine.
If I just quit and load a sampler both maps will load fine.
-
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