Last active
January 30, 2019 19:45
-
-
Save kastentx/87959d315d5acfd377b6c8514cff7fa2 to your computer and use it in GitHub Desktop.
Node-RED Flow showing example usage of the MAX Audio Classifier node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": "6c24d4d6.57a15c", | |
| "type": "tab", | |
| "label": "MAX Audio Classifier Demo", | |
| "disabled": false, | |
| "info": "" | |
| }, | |
| { | |
| "id": "a0f4732b.adb67", | |
| "type": "audio-classifier", | |
| "z": "6c24d4d6.57a15c", | |
| "service": "d6b5216.e5535e", | |
| "method": "predict", | |
| "predict_audio": "", | |
| "predict_audioType": "str", | |
| "name": "", | |
| "x": 413, | |
| "y": 262, | |
| "wires": [ | |
| [ | |
| "efd9424f.a04e4" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "88a099b5.42dc18", | |
| "type": "fileinject", | |
| "z": "6c24d4d6.57a15c", | |
| "name": "", | |
| "x": 131, | |
| "y": 330, | |
| "wires": [ | |
| [ | |
| "a0f4732b.adb67" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "efd9424f.a04e4", | |
| "type": "debug", | |
| "z": "6c24d4d6.57a15c", | |
| "name": "", | |
| "active": true, | |
| "tosidebar": true, | |
| "console": false, | |
| "tostatus": false, | |
| "complete": "false", | |
| "x": 659, | |
| "y": 262, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "aed4fef4.194c9", | |
| "type": "microphone", | |
| "z": "6c24d4d6.57a15c", | |
| "name": "", | |
| "x": 140.5, | |
| "y": 153, | |
| "wires": [ | |
| [ | |
| "a0f4732b.adb67" | |
| ] | |
| ] | |
| }, | |
| { | |
| "id": "5298fd04.1ffb44", | |
| "type": "comment", | |
| "z": "6c24d4d6.57a15c", | |
| "name": "This flow shows the usage of the MAX Audio Classifier node (double-click for more...)", | |
| "info": "This flow captures audio using your \ncomputer's microphone and sends it to \nthe MAX Audio Classifier Model, which \nidentifies what types of things are \nbeing heard. \n\nTo begin recording, click the button on the\nleft side of the 'microphone' node. To stop,\nclick the button again. \n\nYou should see a status message while the \naudio classifier node is processing the\nrequest, and then the output will appear in\nthe right-hand sidebar, in the 'Debug' console.\n\nAlternatively, you can upload a WAV file\nby double clicking the 'file inject' node. The\noutput will be the same.\n\nNOTE: This is only a demo of what this node \ncan do. With a little experimentation, you\nwill find many new ways to control the \ncapture of input, and ways to process the \nresponse and display it as output.", | |
| "x": 401.5, | |
| "y": 69, | |
| "wires": [] | |
| }, | |
| { | |
| "id": "d6b5216.e5535e", | |
| "type": "audio-classifier-service", | |
| "z": "", | |
| "host": "https://max-audio-classifier.max.us-south.containers.appdomain.cloud", | |
| "name": "Cloud Instance (Experimental)" | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment