Typescript Quick start

Installation

install the sdk

npm install path/to/iris-sdk

Uninstallation

uninstall the sdk

npm uninstall iris-sdk

Running the sample code

run the sample

tsc iris-node-demo.ts
node iris-node-demo.js

View the sample code results

The example script reads in the file breaking_point_f32_48k.raw, processes it and writes the result to breaking_point_f32_48k_processed.raw.

These raw files can be opened in audacity or any application that supports header-less raw audio files.

Open audacity and import raw data -> encoding 32 bit float / sample rate 48000

Note

Node extensions are specific to host os and architecture. Make sure you received the correct iris-sdk for your target platform.