Sample Map Error



  • @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


Log in to reply
 

7
Online

517
Users

1.9k
Topics

14.7k
Posts