Re: [linux-audio-dev] storing floats in ascii format

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] storing floats in ascii format
From: Silvia.Pfeiffer_AT_csiro.au
Date: Mon Jun 17 2002 - 01:57:18 EEST


Maarten de Boer wrote:
>
> > the thing i like about xml is it's human-readable.
> > doing binary in xml combines all the bloat of the former with the
> > ugliness of the latter...
>
> yes...
>
> > do you expect to have such masses of float data that size will become an
> > issue ?
>
> yes. lots of FFT bins, sinusoidal peaks and tracks... a 5 sec sound easily
> results into 5 meg analysis data.
>
> we will also use SDIF, but that has other issues.
>
> storing the large binary chunks somewhere else (after the xml), and have
> keep only references to these chunks in the xml seems the best solution.
>
> Maarten

Are you aware that MPEG-7 audio is just doing exactly what you are
proposing: storing analysis results in XML files. In addition to the
human-readable XML format they are also defining a binary encoding of
the results to save space. They have defined generic schemas for
frequency transformed data and the like. If you ask my opinion: I find
it more useful to store the parameters and algorithms than the actual
analysis results for a file as you can always recreate them if the
algorithms are freely available.

Silvia.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Jun 17 2002 - 04:07:32 EEST