Creating a basic sound

This article will show you how to create a simple tone with adjustable pitch and volume, and demonstrate the basics of the modular architecture of AudioNodes.

Note: we’ll be starting with an empty project. If you already have something created, you can create a new empty project Main Menu – Project – New.

Creating a sound source

When you open AudioNodes with an empty project (or no project), you’ll see a screen saying Right click (or touch and hold) to create a Node. Let’s do so, we’ll be creating a simple sound source, an Oscillator Node:

  1. Right click (or touch and hold) on the Patcher
  2. Search for Oscillator Node (it’s under the Audio Sources category, but you can also search for it)
  3. Click or tap on it

We now have an Oscillator Node on the Patcher. This won’t make any sound yet, because we need to explicitly tell AudioNodes that we want its audio output routed to our system speakers (we can do many other things with sound in AudioNodes), so let’s do this:

  1. Create an Audio Destination Node, similarly to how you created an Oscillator Node previously
  2. Connect the Oscillator Node output to the Audio Destination Node input, by clicking the Oscillator Node’s output (small blue dot on its right side) and then clicking the Audio Destination Node’s input (small blue dot on its left side)
  3. Lower your system volume considerably
  4. Press SPACE, or click (or tap) the Play button on the top of the screen (this is going to be loud, so make sure to do step 3)

You’ll now hear your simple sound. Press SPACE, or click (or tap) the Play button again to pause your sound.

Setting the Volume

Your Oscillator Node outputs audio at full volume, which is loud. We’ll now adjust its volume (gain), by adding a Gain Node between the Oscillator Node and the Audio Destination Node:

  1. Create a Gain Node
  2. Disconnect the Oscillator Node from the Audio Destination either by (a) clicking (or tapping) on the connection and then the appearing delete button, or (2) by holding down Shift + LeftMouseButton to slice using the cursor
  3. Connect the Oscillator Node to the Gain Node, and the Gain Node to the Audio Destination Node
  4. Tweak the Gain Node to your liking by dragging its circular slider around, it goes clockwise from 0% volume to 200% volume, and is set to 100% volume by default (if you need better precision, you can drag outwards for a larger circle)

Protip: an input can only take a single connection at any time. If you connect the Gain Node to the Audio Destination Node without disconnecting the Oscillator Node first, it will be automatically disconnected.

We should now have something like this (Oscillator Node, Gain Node, Audio Destination Node, from left to right):

Tweaking your sound

You now have a simple sound and know how to adjust its volume (gain). Further options are available by right clicking (or touch and holding) on your Nodes, then clicking (or tapping) on Properties from the appearing menu. Detailed documentation for a Node is also available from this menu (Help), or from the top-right corner of the properties panel of each Node.

Take your time to experiment with different settings. You can change settings while playing, everything is real-time. You can always undo your changes by pressing Ctrl-Z, or by going to Main Menu -> Edit -> Undo.

The next article will show you how to combine multiple sounds into one, and will also introduce some audio effects.