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.
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:
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:
You’ll now hear your simple sound. Press SPACE, or click (or tap) the Play button again to pause your sound.
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:
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):
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.