1.0.0 • Published 5 years ago

typed-bitwig-api-aubrey v1.0.0

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
5 years ago

typed-bitwig-api

Typescript types definition file for Bitwig Control Surface API.

Installation

$ npm install typed-bitwig-api

In your tsconfig.json for your project add the following to the types list:

{
    ...
    "types": [
        ...,
        "typed-bitwig-api"
    ],
    ...
}

Usage

With the above installation complete, the host variable should be seen as available globally (along with load, loadAPI, println, dump, etc). API interfaces are made available for reference through the globally accessible API namespace. So, for example, if you wrote a function that took an instance of the API's Transport object, you would reference it as follows:

function foo(transport: API.Transport) {
    // ... do something
}