Skip to content

brentvatne/op1-drumkit-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

op1-drumkit-reader

Extract the JSON drumkit metadata from OP1 drumkit AIF(F) files. Requires Node.js >= 7.6.0 due to use of async functions.

Use it as a CLI tool

npm i -g op1-drumkit-reader
print-drumkit-json Example.aiff > Example.json

Use it programmatically

You can clone this repository and run node example/index.js. It contains roughly the following code:

const readDrumkitAsync = require('op1-drumkit-reader');
const path = require('path');

async function main() {
  try {
    let result = await readDrumkitAsync(path.resolve(__dirname, 'BayLeaf.aif'));
    let obj = JSON.parse(result);
    console.log(obj);
  } catch (e) {
    console.log(e);
  }
}

main();

Thanks to the following resources

Also, be sure to check out the OP-1 Drum Utility.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published