SpatDIF Storage¶
How can we store SpatDIF?
Review of file formats that could be used for scene descriptions¶
SDIF-based¶
SDIF is an open interchange format for audio description data, supported in a growing number of music and audio processing environments.
- Example: SDIF storage of spatialisation data in OpenMusic:
Paper in JIM'2010 [Fr]
Paper in ICMC'2011
A set of SDIF types for spatial description data is proposed on the SDIF Types Graffiti Wall
These format and types are used in OpenMusic (via OM-Spat) for communication with Ircam Spat renderer or streaming in Spat-SDIF-Player.
XML-based¶
- VRML/X3D
- ASDF, T-labs, [current implementation] the SoundScape Renderer
- SMIL
- HoloEdit
JSON¶
YAML¶
SDL¶
Hybrids¶
- SDIF-SRL, [paper ICMC2000]
Review of file container formats¶
It would be practical to store associated files within one container file.
Associated files could be:
- Scene description file
- Separate file which holds the configuration of reproduction setup(s) file(s)
- Trajectory files
- HRTFs
- RIRs
- ...
- Media files (see Media Extension)
- Additional Information / Annotations
BagIt¶
The BagIt format is a lightweight file bundling specification, created and maintained by the Library of Congress and the California Digital Library for managing digital content preservation. It is currently in the process of becoming an IETF standard.
Besides cataloging and compressing of hierarchical folder structures, checksums for every compressed files are automatically added to detect errors due to transmission or storage failures.
Instead of storing files itself, one can also specify URL file locations which can be automatically fetched.
This feature might be interesting to avoid storing common data within a stored audio scene e.g., MIT's KEMAR HRTF dataset for binaural reproduction.
Specification V 0.96
Python library for reading and writing BagIt files