Ampermusic Nodejs SDK
The Amper Music RESTful API provides a programmatic interface for creating and downloading audio projects with the Amper Music system. It emphasizes speed and ease of use, while providing a high degree of expressiveness.
Installation
$ npm install --save ampermusic
Init
To use this package got to this page and grab your API key
const Ampermusic = Ampermusic; // Initialize the Ampermusic class passing the apikeylet apikey = ''; let ampermusic = apikey;
Get descriptors list
ampermusic ;
Get single project
let projectId = ''; ampermusic ;
Create project
Projects are a container for system interactions. They primarily define the musical timeline.
let project = ampermusic; project // set project name // add region at a specific time using a descriptor from the list // start the creation process // callback ;
Download file
ampermusic;