Custom Nodes
  • 25 Jan 2024
  • 1 Minute to read
  • Contributors
  • PDF

Custom Nodes

  • PDF

Article summary

Custom Nodes

Data Flow provides many ready-to-use nodes for designing and customizing your projects. When you want to further enhance customer experience you can add more functionality by adding your own nodes ie. custom nodes.

Custom Nodes are coded with JavaScript. Javascript was our choice for the scripting language due to its large user base and its simplicity.

Custom nodes are most useful for simple needs, like when you want to manipulate a little bit of text or process an event. You can run your own algorithms and/or call external http services in custom nodes.

JavaScript is not considered the most efficient language for audio processing. There would be costs for copying binary data between the Data Flow engine and the JavaScript engine. Custom nodes currently do not receive audio data. Instead of the binary data itself, custom nodes can receive information about binary data, ie. channel index, sample count etc.

Creating Custom Node

You can create a custom node in a project's page. Click "Create New Node" and give a name to your node. The new node will belong to this specific project and will be listed below Custom Nodes along with any other custom node of this project.

Editing Custom Node

In order to edit the node's behavior, right click on the node and click on edit. New nodes are initialized with example code content. For your first custom node we recommend playing around with this example code to see how things fit together. You are free to edit and improve this code or totally replace it with your own code.

When you are done you can just save it and you can immediately start testing it.

Using Custom Node

Data Flow engine treats a custom node the same way as any other non-custom node. Just drag&drop your custom nodes on to your project, make connections and start testing it like any other node.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.