Soundfont Technical Specification
Total Page:16
File Type:pdf, Size:1020Kb
SoundFont® Technical Specification ® Version 2.04 February 3, 2006 0 About This Document 0.1 Revision History Rev. Date Description 2.04 September 10, 2002 Add support for 24 bit samples 2.01 August 2, 1997 Add specification for Modulators and standard NRPN implementation 2.00b May 2, 1997 Change nomenclature from layer/split to zone. See glossary Fix a few typos 2.00a October 18, 1995 First publicly released draft 0.2 Disclaimers THIS SPECIFICATION IS PROVIDED “AS IS” WITH NO WARRANTIES WHATSOEVER INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTEE OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION, OR SAMPLE. A LICENSE IS HEREBY GRANTED TO COPY, REPRODUCE, AND DISTRIBUTE THIS SPECIFICATION FOR INTERNAL USE ONLY. NO OTHER LICENSE EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY OTHER INTELLECTUAL PROPERTY RIGHTS IS GRANTED OR INTENDED HEREBY. AUTHORS OF THIS SPECIFICATION DISCLAIM ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF PROPRIETARY RIGHTS, RELATING TO IMPLEMENTATION OF INFORMATION IN THIS SPECIFICATION. AUTHORS OF THIS SPECIFICATION ALSO DO NOT WARRANT OR REPRESENT THAT SUCH IMPLEMENTATION (S) WILL NOT INFRINGE ON SUCH RIGHTS. This preliminary document is being distributed solely for the purpose of review and solicitation of comments. It will be updated periodically. No products should rely on the content of this version of the document. SoundFont® and the SoundFont logo is a registered trademark of E-mu Systems, Inc. E-mu Systems licenses a “SoundFont Compatibility” logo for a nominal fee; please contact E-mu’s SoundFont administrator by FAX at (408) 439-0392 for more information. Users of the information contained herein should refer to files conforming to the specification as “SoundFont Compatible,” with appropriate acknowledgment of trademark ownership. 0.3 Updates and Comments Please visit http://www.soundfont.com for specification updates, and please send comments via e-mail to [email protected]. SoundFont 2.01 Technical Specification - Page 1 - Printed 12/10/1996 5:57 PM 0.4 Table of Contents 0 ABOUT THIS DOCUMENT ..............................................................................................................................................1 0.1 REVISION HISTORY ..........................................................................................................................................................1 0.2 DISCLAIMERS...................................................................................................................................................................1 0.3 UPDATES AND COMMENTS...............................................................................................................................................1 0.5 ILLUSTRATIONS ...............................................................................................................................................................4 1 INTRODUCTION................................................................................................................................................................5 1.1 SCOPE AND INTENDED PURPOSE OF THIS DOCUMENT .......................................................................................................5 1.2 DOCUMENT ORGANIZATION ............................................................................................................................................5 1.3 SOUNDFONT 2 OBJECTIVES .............................................................................................................................................5 1.4 SOUNDFONT 1.X ..............................................................................................................................................................5 1.5 FUTURE ENHANCEMENTS TO THE SOUNDFONT 2 STANDARD ..........................................................................................6 2 TERMS AND ABBREVIATIONS .....................................................................................................................................6 2.1 DATA STRUCTURE TERMINOLOGY...................................................................................................................................6 2.2 SYNTHESIZER TERMINOLOGY ..........................................................................................................................................7 2.3 PARAMETER TERMINOLOGY ..........................................................................................................................................10 3 RIFF STRUCTURE...........................................................................................................................................................11 3.1 GENERAL RIFF FILE STRUCTURE ..................................................................................................................................11 3.2 THE SOUNDFONT 2 CHUNKS AND SUB-CHUNKS ............................................................................................................12 3.3 REDUNDANCY AND ERROR HANDLING IN THE RIFF STRUCTURE...................................................................................12 4 SOUNDFONT 2 RIFF FILE FORMAT ..........................................................................................................................12 4.1 SOUNDFONT 2 RIFF FILE FORMAT LEVEL 0..................................................................................................................12 4.2 SOUNDFONT 2 RIFF FILE FORMAT LEVEL 1...................................................................................................................12 4.3 SOUNDFONT 2 RIFF FILE FORMAT LEVEL 2...................................................................................................................13 4.4 SOUNDFONT 2 RIFF FILE FORMAT LEVEL 3...................................................................................................................14 4.5 SOUNDFONT 2 RIFF FILE FORMAT TYPE DEFINITIONS ..................................................................................................15 5 THE INFO-LIST CHUNK ................................................................................................................................................16 5.1 THE IFIL SUB-CHUNK .....................................................................................................................................................16 5.2 THE ISNG SUB-CHUNK....................................................................................................................................................17 5.3 THE INAM SUB-CHUNK ................................................................................................................................................17 5.4 THE IROM SUB-CHUNK...................................................................................................................................................17 5.5 THE IVER SUB-CHUNK....................................................................................................................................................17 5.6 THE ICRD SUB-CHUNK .................................................................................................................................................18 5.7 THE IENG SUB-CHUNK .................................................................................................................................................18 5.8 THE IPRD SUB-CHUNK..................................................................................................................................................19 5.9 THE ICOP SUB-CHUNK..................................................................................................................................................19 5.10 THE ICMT SUB-CHUNK ...............................................................................................................................................19 5.11 THE ISFT SUB-CHUNK.................................................................................................................................................19 6 THE SDTA-LIST CHUNK ...............................................................................................................................................20 6.1 SAMPLE DATA FORMAT IN THE SMPL SUB-CHUNK.........................................................................................................20 6.2 SAMPLE DATA FORMAT IN THE SM24 SUB-CHUNK .........................................................................................................20 6.3 SAMPLE DATA LOOPING RULES.....................................................................................................................................20 7 THE PDTA-LIST CHUNK ...............................................................................................................................................21 7.1 THE HYDRA DATA STRUCTURE...................................................................................................................................21 7.2 THE PHDR SUB-CHUNK ................................................................................................................................................21 7.3 THE PBAG SUB-CHUNK ................................................................................................................................................22 7.4 THE PMOD SUB-CHUNK ...............................................................................................................................................23