Thursday 12 November 2015

Web Audio API Nodes

Nodes = Modules

In our description of a synthesizer we talked about the different modules we can use to create and sculpt sound. All these modules can be created using Web Audio Nodes. There are four basic nodes:

  • Source
  • Transformation
  • Analyser
  • Destination

The source is a buffer that holds the audio data we wish to work with. In the following diagram you can see that we have three types of sources:

  • Microphone
  • Sample
  • Oscillator


The transform node could, for example be a gain node so we can boost the amplitude of the input signal. Using an analyzer node we could display the input signal on screen. And of course the output node that connects to your computer/soundcard output.

For more details on how this is implemented I highly recommend the Web Audio School, contains many good code examples.



No comments:

Post a Comment