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.

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

JSON

YAML

SDL

Hybrids

Review of file container formats

It would be practical to store associated files within one container file.
Associated files could be:

  1. Scene description file
  2. Separate file which holds the configuration of reproduction setup(s) file(s)
    • Trajectory files
    • HRTFs
    • RIRs
    • ...
  3. Media files (see Media Extension)
  4. 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