dotadd.js
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

.ADD- Ambisonics Decoder Description

dotadd for JavaScript

This repository contains the integration of the .add-format functionalities for a JavaScript environment. Following is described what the possibilities are and how to use them.

Guide

To setup the JavaScript library only a few lines of code are necessary. First we begin with the necessary imports:

const { ADD, Matrix, Filter } = require('./cjs/dotadd');

Second the ADD.-object has to be declared and at least on matrix loaded:

let add = new ADD();
let mat = new Matrix("sn3d", [[1, 0, 0, 0],[1, 0, 0, 0]]);
mat.setWeighting("maxre"); // optional value as example
add.addMatrix(mat);

If needed you can add components using:

add.addOutput(OutputChannel("Name", "Type", {"a": float, "e": float})
add.addFilter(Filter.makeLowpass("Name", 100) // choose a frequency

You can also use valid() to check for completeness of a component or add.repair() to create missing metadata and default components from the matrices. There are many other functions you can use so please try around what is possible.


To read .add from files use:

()

To write .add to files use:

()

Other repositories

Integrations

Tools


Further information

.ADD was developed by students of the University of Applied Sciences Darmstadt

Feel free to contribute!

Authors: Gabriel Arlauskas, Jonas Ohland, Henning Schaar

Readme

Keywords

none

Package Sidebar

Install

npm i dotadd.js

Weekly Downloads

0

Version

0.2.3

License

MIT

Unpacked Size

157 kB

Total Files

13

Last publish

Collaborators

  • jonasohland