I thought I mentioned that somewhere in the thread. I only use uncompressed 
Wav files to avoid any unnecessary encoding. Most of my samples are 24bit 
44.1khz or 24bit 48khz and they are all Wav. 

Regarding Jacek's comment, I am recompiling LS with different configurations 
and it seems the behavior of --enable-preload-samples= argument is a little bit 
unpredictable (well, to me). The default value is 32768, which in practice (for 
180 max voice) it loads 730MB out of a 8.5GB sample library. 

I recompiled it with setting it 10 times larger, 
--enable-preload-samples=327680 and it loaded 2.6 GB. Recompiled it with 100 
times larger and it loaded 5.3GB.  Recompiled it with 1000 time larger value of 
32768000 and the amount of preloaded samples did not go anything above 5.3GB

Side note------------

I saw some unusual behavior here as well. Surprisingly, when I increased the 
"max voices" LS can actually by far surpass the size of the library. For the 
8.5GB sample library, LS could require 12GB if I increase the max voices. I 
only did this for testing (no other reasons to apply such a setting). it seems 
each stream can also occur independent of pre-loaded samples or at least its 
allocated RAM memory is independent of pre-loaded sample? I'm not sure. I 
thought the streams should take the preloaded data into account. 

    On Wednesday, April 8, 2020, 12:18:01 PM GMT+2, Christian Schoenebeck 
<schoeneb...@linuxsampler.org> wrote:  
 
 On Dienstag, 7. April 2020 16:36:48 CEST joo bian wrote:
>  Dear Christian, Jacek,
> 
> Thanks for your kind replies. As Christian pointed out, I also don't think
> that a little bit of optimization plays a significant role, giving my
> hardware (and the fact that I get the dropouts even while my CPU usage is
> less than 25% and memory usage is less than 10%). 

File format of samples being used (wav, flac, ogg vorbis)?

CU
Christian




_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel
  
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to