SoundFont 2.0
From Just Solve the File Format Problem
(Difference between revisions)
(new) |
(Provided magic in FormatInfo template and a reference link. Partly updated the identification to include the hex detail. Updated links, old http/ftp links are no longer accessible, and rough replacements has been provided in lieu.) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
| subcat = Audio and Music | | subcat = Audio and Music | ||
+ | | magic = [https://github.com/file/file/blob/master/magic/Magdir/riff#L678 73 66 62 6b] (at offset 0x08) | ||
| extensions = {{ext|sf2}} | | extensions = {{ext|sf2}} | ||
}} | }} | ||
− | '''SoundFont 2.0''' is a format used to store instrument patches for MIDI synthesisers. The SoundFont 2.0 format is based on [[RIFF]]; the RIFF type identifier is {{magic|"sfbk"}}. | + | '''SoundFont 2.0''' is a format used to store instrument patches for [[MIDI]] synthesisers. The SoundFont 2.0 format is based on [[RIFF]]; the RIFF type identifier is {{magic|"sfbk"}}. |
− | == | + | See also [[SoundFont 1.0]]. |
− | * http://freepats.zenvoid.org/sf2/acoustic_grand_piano_ydp_20080910.sf2 | + | |
− | * | + | == Identification == |
+ | Files begin with {{magic|52 49 46 46}} which in ASCII is "{{magic|RIFF}}", and have {{magic|73 66 62 6b}} or in ASCII "{{magic|sfbk}}" at offset 8. | ||
+ | |||
+ | In most cases, this is followed by "{{magic|LIST}}" at offset 12, "{{magic|INFOifil}}" at offset 20, and bytes {{magic|02 00}} at offset 32. The last <code>02</code> byte distinguishes major version 2 from [[SoundFont 1.0|major version 1]]. | ||
+ | |||
+ | == Software == | ||
+ | * [http://www.swamiproject.org/ Swami] | ||
+ | * [https://www.fluidsynth.org/ FluidSynth] | ||
+ | * [https://audacious-media-player.org/ Audacious]<ref>[https://redmine.audacious-media-player.org/boards/1/topics/1143?r=1146#message-1146 How-to: MIDI playback - Audacious - OLD, PLEASE USE GITHUB DISCUSSIONS/ISSUES - redmine.audacious-media-player.org]</ref> | ||
+ | |||
+ | == Sample files == | ||
+ | * [https://web.archive.org/web/20160308112401/http://freepats.zenvoid.org/sf2/acoustic_grand_piano_ydp_20080910.sf2 acoustic_grand_piano_ydp_20080910.sf2 - freepats.zenvoid.org - Internet Archive copy] | ||
+ | * [https://web.archive.org/web/20241220060025/http://www.personalcopy.com/Downloads/PC51f.sf2.gz PC51f.sf2.gz - www.personalcopy.com - Internet Archive copy] - File might be compressed twice. | ||
+ | * {{DexvertSamples|audio/soundFont2}} | ||
+ | * [https://discmaster.textfiles.com/search?mode=deep&extension=.sf2&format=soundFont2 Search results of files with SF2 extension and has format soundFont2 - Discmaster.textfiles.com] | ||
+ | |||
+ | == Links == | ||
+ | * [[wikipedia:SoundFont|SoundFont on Wikipedia]] | ||
+ | * [https://docs.fileformat.com/audio/sf2/ SF2 File Format - SoundFont 2 Sound Bank - docs.fileformat.com] | ||
+ | |||
+ | == References == | ||
+ | <references /> | ||
+ | |||
+ | [[Category:RIFF based file formats]] |
Latest revision as of 20:02, 24 August 2025
SoundFont 2.0 is a format used to store instrument patches for MIDI synthesisers. The SoundFont 2.0 format is based on RIFF; the RIFF type identifier is "sfbk"
.
See also SoundFont 1.0.
Contents |
[edit] Identification
Files begin with 52 49 46 46
which in ASCII is "RIFF
", and have 73 66 62 6b
or in ASCII "sfbk
" at offset 8.
In most cases, this is followed by "LIST
" at offset 12, "INFOifil
" at offset 20, and bytes 02 00
at offset 32. The last 02
byte distinguishes major version 2 from major version 1.
[edit] Software
[edit] Sample files
- acoustic_grand_piano_ydp_20080910.sf2 - freepats.zenvoid.org - Internet Archive copy
- PC51f.sf2.gz - www.personalcopy.com - Internet Archive copy - File might be compressed twice.
- dexvert samples — audio/soundFont2
- Search results of files with SF2 extension and has format soundFont2 - Discmaster.textfiles.com