Link: header for audio metadata

  1. • lucasgonze clears throat
  2. [6:21pm] lucasgonze: I have this thought –
  3. [6:22pm] lucasgonze: apply http://www.w3.org/wiki/LinkHeader to audio files on the web, as a method to annotate pcm data.
  4. [6:22pm] lucasgonze: as an alternative to id3
  5. [6:22pm] lucasgonze: so let’s say there is http://example.com/example.wav
  6. [6:22pm] lucasgonze: wav has no metadata support
  7. [6:23pm] lucasgonze: GET on http://example.com/example.wav would return a response header pointing to a metadata file
  8. [6:23pm] lucasgonze: Link: example-metadata.json; rel=meta
  9. [6:25pm] lucasgonze: GET http://example.com/stairwaytoheaven.wav
  10. [6:25pm] lucasgonze: Link: http://musicbrainz.org/ws/2/recording/ccfdd180-22e1-49b9-bd81-b5fcf2c6474e?inc=artist-credits%2Breleases; rel=meta
  11. [6:35pm] lucasgonze: use CORS on the metadata resource http://www.w3.org/TR/cors/ to enable cross site requests from ajax
  12. [6:36pm] lucasgonze: then a javascript-based audio renderer in the browser can access metadata for any file
  13. [6:37pm] lucasgonze: the metadata technology is factored out of the codec.
  14. [6:37pm] lucasgonze: the http request becomes the envelope for waveform data and metadata together.
  15. [6:37pm] lucasgonze: metadata technology and audio signal processing technology can evolve independently

See also the Web Audio API and jsmad.