Giter VIP home page Giter VIP logo

aes31-adl-composer's Introduction

AES31 ADL Composer

Work in progress

A node module to convert a json sequence into an AES31 ADL (audio decision list) compatible with SADiE audio editing software.

Originally from BBC R&D Chris Baume python version, as part of BBC Dialogger/Discourse text based video editing project

Setup

cd, npm install

Usage - development

see example usage for example

Usage - production

npm install @bbc/aes31-adl-composer

require or import in your code and see example usage for more details

System Architecture

Originally converted from Chris Baume python code, see python-version/edl2aes31.py

Development env

Node version is set in node version manager .nvmrc

Build

TBC

Tests

TBC

Deployment

To publish to npm

npm run publish:public

aes31-adl-composer's People

Contributors

bennuttall avatar dependabot[bot] avatar emettely avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aes31-adl-composer's Issues

adjust input of function

the edits adjust input of function might need a second look at, see example of edits from python version

# Edits are defined as a list of dicts with the following attributes:
# - start    [float]    start time
# - end      [float]    end time
# - filename [string]   audio filename
# - path     [string]   path to audio file
# - label    [string]   label for edit

Failed when importing in SADiE

When importing in SADiE (by one of the radio producers) it pops up with this modal

image001

but then it says when selecting ok, it just says failed


ADL sequence

<ADL>

<VERSION>
	(ADL_ID)	1234
	(ADL_UID)	85d459f0-9d7d-11e9-a092-dbf78d6023f2
	(VER_ADL_VERSION)	01.02
	(VER_CREATOR)	"Digital Paper Edit"
	(VER_CRTR)	00.01
</VERSION>

<PROJECT>
	(PROJ_TITLE)	"Test edit 1"
	(PROJ_ORIGINATOR)	"Digital Paper Edit"
	(PROJ_CREATE_DATE)	2019-07-03T10:30:05.327Z
	(PROJ_NOTES)	"_"
	(PROJ_CLIENT_DATA)	"test"
</PROJECT>

<SEQUENCE>
	(SEQ_SAMPLE_RATE)	S44100
	(SEQ_FRAME_RATE)	25
	(SEQ_ADL_LEVEL)	1
	(SEQ_CLEAN)	FALSE
	(SEQ_DEST_START)	0/0000
</SEQUENCE>

<SOURCE_INDEX>
	(Index)	1	(F)	"URL:file://localhost/C:/Audio Files/filename1.wav"	BBCSPEECHEDITOR1	_	_	"_"	"_"
	(Index)	2	(F)	"URL:file://localhost/C:/Audio Files/filename2.wav"	BBCSPEECHEDITOR2	_	_	"_"	"_"
</SOURCE_INDEX>

<EVENT_LIST>
	(Entry)	1	(Cut)	I	filename1.wav	1~2	1~2	00:00:30:00/0000	00:00:00:00/0000	00:00:05:00/0000	_	(Rem) NAME "not sure what this is for?"
	(Entry)	2	(Cut)	I	filename2.wav	1~2	1~2	00:00:36:00/0000	00:00:05:00/0000	00:00:06:00/0000	_	(Rem) NAME "not sure what this is for?"
</EVENT_LIST>

</ADL>

Take the Originator Reference (UUID) for each source in source index

Is your feature request related to a problem? Please describe.

Deviating away from the original ADL code from Chris Baume.
Since our use case is not limited to just localhost files, it would be good to be able to pass in the originator reference, which is the first thing that apparently SaDiE looks for.

Describe the solution you'd like
Option to pass in originator reference.

Describe alternatives you've considered

Additional context
See in:

edl+='\t(Index)\t'+str(index)+'\t(F)\t"URL:file://localhost/C:/Audio Files/'+ fileNames[path] +'"\tBBCSPEECHEDITOR'+str(index)+'\t_\t_\t"_"\t"_"\n';

We want something that helps with specifying "3BF554FBA30B4256BCCB30C6DACF4EE4"

    <SOURCE_INDEX>
        (Index) 0001
            (F) "URL:file://localhost/c:/Users/Danny Ly/Documents/Sadie/Projects/test/16. Drake - God's Plan.wav"
            "3BF554FBA30B4256BCCB30C6DACF4EE4"  00.00.00.00/0000  _  "16. Drake - God's Plan"  N
    </SOURCE_INDEX>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.