Difference between revisions of "Sound Fonts"

From ZynthianWiki
Jump to navigation Jump to search
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Synth engines in Zynthian support Soundfonts in various file formats.
+
Zynthian supports soundfonts in various file formats: SF2, SF3, SFZ & GIG
 +
There are 3 sampler engines:
  
They are typically stored in this directory on your Zynthian /zynthian/zynthian-my-data
+
* LinuxSampler => SFZ & GIG soundfont formats
 +
* Sfizz => SFZ & GIG soundfont formats
 +
* FluidSynth >= SF2 & SF3 soundfont format
  
Currently 2 sampler engines are included:
+
You can use SFZ and GIG fonts with the '''LinuxSampler''' & '''Sfizz''' engines, which reads the samples directly from the SD card, preloading only a small part of the file using an advanced caching system. That way you can use a soundfont bigger than the available amount of RAM. For loading SF2 & SF3 sounfont files you should use the FluidSynth engine.
* LinuxSampler => SFZ and GIG soundfont formats
 
* FluidSynth >= SF2 soundfont format
 
  
=Links to soundfonts=
+
Soundfont files are typically stored in this directory on your Zynthian:
 +
/zynthian/zynthian-my-data/soundfonts
  
Lots of links http://www.synthfont.com/links_to_soundfonts.html
+
You have a subfolder for each soundfont type. Like this:
  
Harpsichord http://sonimusicae.free.fr/blanchet1-en.html
+
* /zynthian/zynthian-my-data/soundfonts/sf2
 +
* /zynthian/zynthian-my-data/soundfonts/sfz
 +
* /zynthian/zynthian-my-data/soundfonts/gig
  
Mellotron https://www.dropbox.com/s/tcxegv7mh0y4y4a/Mellotron.rar?dl=0
+
And inside the ''sfz'' & ''gig'' subfolders there are "bank" subfolders, like this:
 +
 
 +
* /zynthian/zynthian-my-data/soundfonts/sfz/bass
 +
* /zynthian/zynthian-my-data/soundfonts/sfz/keys
 +
* /zynthian/zynthian-my-data/soundfonts/sfz/pads
 +
* /zynthian/zynthian-my-data/soundfonts/sfz/strings
 +
* etc.
 +
 
 +
Note that inside ''sf2'' subfolder there is no banks because every "sf2" file is considered a bank on its own.
 +
 
 +
===Soundfont Editors===
 +
A soundfont editor for quickly designing musical instruments. More than a simple editor, Polyphone has been designed to efficiently deal with big sets of instruments involving a large amount of data. Supports sf2, sf3, sfz or sfArk (all versions). Oh, and it is free! http://polyphone-soundfonts.com/en/
 +
 
 +
Also Viena soundfont editor from the SynthFont site http://www.synthfont.com
 +
 
 +
===FAQ===
 +
'''How much time does it take for a preset of instrument to load?''' (for fast changes in live perfomance)
 +
 
 +
This depends on the engine, the preset (how many plugins) and the data itself: If you have a huge SF2 the loading of the fluidsynth takes only a few seconds (perhaps 1 to 3 seconds) and loading of a big SF2 takes about 30 seconds. If you use MOD-UI as engine and your pedalboard has 20 plugins this will also take some time to load - especially if you use the plugins bigger SF2 soundfonts. you will have to test this by yourself. Keep in mind: normally Zynthian loads everything from an SD card - this is not as fast as HDD/SSD. Fast live-switching (inside a song) is solved by having your sounds in "standby" and switching between them using MIDI program change + ZS3 subsnapshots.
 +
 
 +
If you use the original samples from the Korg 01/WR or equivalent (same size aprox.), you can have a lot of instruments loaded in the Zynthian's memory. Zynthian has 1 GB memory, which is a lot more than Korg 01/WR. Also, SSD access is faster than 90's ROMs chips.
 +
 
 +
I recommend you to take a look to LinuxSampler MIDI maps, although it's not currently implemented in Zynthian, you could make a customized Zynthian version that loads a LinuxSampler MIDI map in startup, so you will have all the mapped instruments ready to use.
 +
 
 +
At the end of the day, small SFZs load really fast, so you could try with the normal setup (no MIDI maps) first.
 +
 
 +
'''Regarding compression,''' SFZ don't use compression. It uses standard wav files for samples. The SFZ file itself is an XML description of how to use the wav files. SF2 and GIG doesn't compress sound. It packs the samples inside, with the meta-info about how to use the samples.
 +
 
 +
=Soundfont Collection Links=
 +
 
 +
* Bandshed http://www.bandshed.net/sounds/sfz/
 +
* Collection of soundfonts for Zynthian https://mega.nz/#F!xCggCSpY!syE7iSgevf2PnLjXXSQxiw
 +
* Lots of links http://www.synthfont.com/links_to_soundfonts.html
 +
* Massive musical sounds archive https://musical-artifacts.com
 +
* Harpsichord http://sonimusicae.free.fr/blanchet1-en.html
 +
* Mellotron https://www.dropbox.com/s/tcxegv7mh0y4y4a/Mellotron.rar?dl=0
 +
* Mellotron http://download.linuxsampler.org/instruments/vintage/TaijiguyGigaTron.tar.bz2
 +
* Steinway piano https://sites.google.com/site/soundfonts4u/
 +
* http://klemxxiii.free.fr/
 +
* https://nobudgetorchestra.net/download/
 +
* https://archive.org/details/LesserdevilSoundfonts
 +
* https://sites.google.com/site/soundfonts4u/
 +
* http://beats.codenamehippie.com/
 +
* https://github.com/sgossner/VSCO-2-CE/tree/SFZ
 +
* http://x42-plugins.com/x42/x42-avldrums
 +
* https://archive.org/details/Soundfonts
 +
* Dyno piano https://mega.nz/#!n0AWVJ6D
 +
* Electric guitar https://docs.google.com/uc?id=0BynobAjwxQZXaGZfMTQzWWhVbG8
 +
* http://www.synthfont.com
 +
* Orchestral http://www.mediafire.com/download/yjh86m63ulqnqqx/Grand+Orchestra+v1%28Beta%29.rar
 +
* Michael Picher Collection https://www.michaelpichermusic.com/virtual-instruments
 +
* Patch Arena http://patcharena.com/downloads/index.php?subcat=168
 +
* RK Hive Collection http://rkhive.com/
 +
* FLT Studio https://www.flstudiomusic.com/category/soundfont
 +
* AngelFire Collection http://www.angelfire.com/goth/TOX/tti.html
 +
* CompiFont http://pphidden.wixsite.com/compifont
 +
* Aria Engine http://ariaengine.com/free-sfz-sounds/
 +
* Free Sample Packs https://free-sample-packs.com/tag/sfz/
 +
* Big Cat Lists http://bigcatlists.blogspot.com/2014/05/totally-free-instrument-by-type.html
 +
* LinuxSampler List https://linuxsampler.org/instruments.html
 +
* Music Production HQ http://musicproductionhq.com/free-sample-libraries/
 +
* Cymatics List https://cymatics.fm/blog/soundfonts/
 +
* These years I've researched few iconic sample libraries from vintage samplers like Fairlight CMI, Kurzweil, Casio FZ, Ensoniq Mirage, Roland. All straight from disk, converted to Commodore Amiga suitable format (8bit). Note: They're older than 25 years, but some of these samples still can be copyrighted. You might not use these for commercial purposes, intended for studying, teaching, research and historic interest (FAIR USE). https://drive.google.com/open?id=0BxJms1Iu8GIicktfWHh2U2s2V2s74
 +
**CONTENTS:
 +
*** Copyright Disclaimer (Fair Use Statement) (Dec. 11, 2016)
 +
*** Fairlight CMI Library (SF2) (Dec. 11, 2016) -> CHORAL/ARR3 Used in Art of Noise's "Moments in love"
 +
*** EMAX II Library (SF2) (Dec. 12, 2016) -> SHAKUHACHI Used in Enigma's "Sadeness"
 +
*** AKAI MPC Volume I (Dec. 12, 2016)

Latest revision as of 10:30, 24 October 2022

Zynthian supports soundfonts in various file formats: SF2, SF3, SFZ & GIG There are 3 sampler engines:

  • LinuxSampler => SFZ & GIG soundfont formats
  • Sfizz => SFZ & GIG soundfont formats
  • FluidSynth >= SF2 & SF3 soundfont format

You can use SFZ and GIG fonts with the LinuxSampler & Sfizz engines, which reads the samples directly from the SD card, preloading only a small part of the file using an advanced caching system. That way you can use a soundfont bigger than the available amount of RAM. For loading SF2 & SF3 sounfont files you should use the FluidSynth engine.

Soundfont files are typically stored in this directory on your Zynthian:

/zynthian/zynthian-my-data/soundfonts

You have a subfolder for each soundfont type. Like this:

  • /zynthian/zynthian-my-data/soundfonts/sf2
  • /zynthian/zynthian-my-data/soundfonts/sfz
  • /zynthian/zynthian-my-data/soundfonts/gig

And inside the sfz & gig subfolders there are "bank" subfolders, like this:

  • /zynthian/zynthian-my-data/soundfonts/sfz/bass
  • /zynthian/zynthian-my-data/soundfonts/sfz/keys
  • /zynthian/zynthian-my-data/soundfonts/sfz/pads
  • /zynthian/zynthian-my-data/soundfonts/sfz/strings
  • etc.

Note that inside sf2 subfolder there is no banks because every "sf2" file is considered a bank on its own.

1 Soundfont Editors

A soundfont editor for quickly designing musical instruments. More than a simple editor, Polyphone has been designed to efficiently deal with big sets of instruments involving a large amount of data. Supports sf2, sf3, sfz or sfArk (all versions). Oh, and it is free! http://polyphone-soundfonts.com/en/

Also Viena soundfont editor from the SynthFont site http://www.synthfont.com

2 FAQ

How much time does it take for a preset of instrument to load? (for fast changes in live perfomance)

This depends on the engine, the preset (how many plugins) and the data itself: If you have a huge SF2 the loading of the fluidsynth takes only a few seconds (perhaps 1 to 3 seconds) and loading of a big SF2 takes about 30 seconds. If you use MOD-UI as engine and your pedalboard has 20 plugins this will also take some time to load - especially if you use the plugins bigger SF2 soundfonts. you will have to test this by yourself. Keep in mind: normally Zynthian loads everything from an SD card - this is not as fast as HDD/SSD. Fast live-switching (inside a song) is solved by having your sounds in "standby" and switching between them using MIDI program change + ZS3 subsnapshots.

If you use the original samples from the Korg 01/WR or equivalent (same size aprox.), you can have a lot of instruments loaded in the Zynthian's memory. Zynthian has 1 GB memory, which is a lot more than Korg 01/WR. Also, SSD access is faster than 90's ROMs chips.

I recommend you to take a look to LinuxSampler MIDI maps, although it's not currently implemented in Zynthian, you could make a customized Zynthian version that loads a LinuxSampler MIDI map in startup, so you will have all the mapped instruments ready to use.

At the end of the day, small SFZs load really fast, so you could try with the normal setup (no MIDI maps) first.

Regarding compression, SFZ don't use compression. It uses standard wav files for samples. The SFZ file itself is an XML description of how to use the wav files. SF2 and GIG doesn't compress sound. It packs the samples inside, with the meta-info about how to use the samples.

3 Soundfont Collection Links