# Why doesn't Linux sampler install some SFZ files?

**URL:** <https://discourse.zynthian.org/t/why-doesnt-linux-sampler-install-some-sfz-files/6974>\
**Category:** Using Zynthian\
**Created:** [May 14, 2022, 7:55am UTC](https://discourse.zynthian.org/t/why-doesnt-linux-sampler-install-some-sfz-files/6974 "2022-05-14T07:55:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stefano.bellotta](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/stefano.bellotta/32/5723_2.png) [@stefano.bellotta](https://discourse.zynthian.org/u/stefano.bellotta)\
**Post date:** [May 15, 2022, 8:23am UTC](https://discourse.zynthian.org/t/why-doesnt-linux-sampler-install-some-sfz-files/6974/4 "2022-05-15T08:23:51Z")

</div>

> [@samriccijr](#):
>
> Hi Stefano!
> 
> It sounds as if you are using the web configuration browser to upload a zip file containing sfz and wav files. You are asking what is the best way to organize the zip file so it properly loads.
> 
> I found it easier to ssh into the zynthian, create a folder in zynthian-my-data/soundfonts/sfz/MyFolder, then scp copy the sfz and wave files to it.
> 
> I found it even easier to copy the sfz folders to a usb drive, then ssh into the zynthian and cp copy from the USB stick to zynthian-my-data/soundfonts/sfz. Use the file organization in zynthian-data/soundfonts/sfz as a guide.
> 
> 1: Linuxsampler reads a sfz file and looks for samples in a specific location or folder.
> 
> So if the Brass.sfz file lists a
> 
> sample=./samples/brass/brassfall/soft/green/brass1.wav
> 
> Linuxsampler looks for that exact path. If that path does not exist, the sample will not load.
> 
> 2: The cleanest structure for me is to put the .sfz file in the same folder as the multi-samples. Linuxsampler only has to look in one folder. (zynthian-data/soundfonts/sfz does this for most of the sfzs and multisamples).
> 
> For my Brass.sfz the location would be
> 
> sample=brass1.wav (without recurse or subdirectories)
> 
> I have not tried to upload using a zip file because my sfz folders have up to 120 wav files and total 32-200 mb in size. It takes much longer to upload using the web configuration .
> 
> 3: There are other factors like sample format and compression (Flac or wv) that might prevent a sfz from playing properly, but is most likely the sfz file pointing to a non-existent location.
> 
> 4: You might have to edit the recurse and directory path so Linuxsampler can find the wave files. Open them in a text editor, Find and Replace All makes light work of the editing.
> 
> Hope this helps,

Thanks Sam, you were very kind and exhaustive in the answer … even beyond my expectations. I’ll try and let you know. Hi, Stefano from Italy.

---

_[View the full topic](https://discourse.zynthian.org/t/why-doesnt-linux-sampler-install-some-sfz-files/6974)._
