node-red-contrib-max-audio-classifier
Node-RED node for audio-classifier
An API for serving models
Note
To use this node effectively, you'll need a running instance of the Audio Classifier model
from the Model Asset eXchange.
Get started with this and other free, open-source deep learning models on MAX at this link.
Install
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-contrib-max-audio-classifier
Usage
This model recognizes a signed 16-bit PCM wav file as an input, generates embeddings, applies PCA transformation/quantization, uses the embeddings as an input to a multi-attention classifier and outputs top 5 class predictions and probabilities as output. The model currently supports 527 classes which are part of the Audioset Ontology.
Inputs
- payload Buffer
- Buffer data of 16-bit PCM wav file.
Outputs
- payload object
- Prediction.