Skip to content

ADM Parser to help tool for transcodings to Mach1 Spatial

License

Notifications You must be signed in to change notification settings

Mach1Studios/m1-admparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

m1-admparser

This repo is a collection of tools and research to help utilize, debug and understand ADM & Atmos metadata specs and to help tool for transcodings to/from Mach1Transcode API

Contents

  • metadata-spec/ contains research on the topic of transcoding to and from ADM metadata driven formats
  • ADMParser/ contains a test metadata parser that converts points to a Mach1 Spatial friendly API, built with OpenFrameworks
  • ReaperScript utility script for importing object panning automation data from Dolby Atmos or ADM metadata to apply directly within Reaper
  • spatial-transcode-objectaudio-example opensource example that has some metadata parsing and writing hardcoded into it
  • m1-transcode binary allows for reading/writing ADM metadata via hardcoded examples

Setup for ADMParser

Usage for ADMParser

This is a simple tool to help visualize and debug the printed ADM metadata. M1-ADMParser Example

Using ReaperScript AtmosParser

This script helps convert Atmos metadata into proper automation tracks for Reaper to help breakout an atmos master file into a Reaper session.

  • Edit lines 1 & 2 of ReaperScript/AtmosParser.lua to point to your local full path of AtmosParser.lua and copy and paste the Atmos metadata to that path and supply the filename in line 2
  • Highlight and select the track containing the M1-Panner you wish to import the object panning data to
  • From Reaper go to Actions>Show Action List...?
  • Select New action...
  • Load ReaScript... and navigate to the location of the edited AtmosParser.lua
  • When prompted type in which object ID of the Atmos mix you are importing

Using spatial-transcode-objectaudio-example to write custom ADM formats

This example exposes and allows hardcoded ADM descriptions to be written by:

Example command

./m1-transcode -in-file ./m1-debug-shrtpt-m1spatial.wav -in-fmt M1Spatial -out-fmt 5.1.4_C -write-metadata -out-file ./m1-debug-514_adm.wav ./m1-transcode -in-file ./m1-debug-shrtpt-m1spatial.wav -in-fmt M1Spatial -out-fmt M1Spatial -write-metadata -out-file ./m1-debug-m1spatial_adm.wav

The concept exposes -write-metadata flag in the command (just dont use it at the end of the command) which will try to have the transcoder look for a supported and predefined ADM spec here and if one is found it will add it to the output .wav file.

About

ADM Parser to help tool for transcodings to Mach1 Spatial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published