1st Edition

JavaScript for Sound Artists Learn to Code with the Web Audio API

By William Turner, Steve Leonard Copyright 2017
    253 Pages 70 Color Illustrations
    by Routledge

    253 Pages 70 Color Illustrations
    by Routledge

    Learn how to program JavaScript while creating interactive audio applications with JavaScript for Sound Artists: Learn to Code With the Web Audio API! William Turner and Steve Leonard showcase the basics of JavaScript language programing so that readers can learn how to build browser based audio applications, such as music synthesizers and drum machines. The companion website offers further opportunity for growth. Web Audio API instruction includes oscillators, audio file loading and playback, basic audio manipulation, panning and time. This book encompasses all of the basic features of JavaScript with aspects of the Web Audio API to heighten the capability of any browser.


    Key Features

  • Uses the readers existing knowledge of audio technology to facilitate learning how to program using JavaScript. The teaching will be done through a series of annotated examples and explanations.
  • Downloadable code examples and links to additional reference material included on the books companion website.
  • This book makes learning programming more approachable to nonprofessional programmers
  • The context of teaching JavaScript for the creative audio community in this manner does not exist anywhere else in the market and uses example-based teaching
  • Chapter 1

    Chapter 2 Overview and Setup

    Chapter 3 Getting Started with JavaScript and The Web Audio API

    Chapter 4 Operators

    Chapter 5 Conditional Statements and Loops

    Chapter 6 Functions

    Chapter 7 Objects 

    Chapter 8 Node Graphs and Oscillators

    Chapter 9 Using HTML and CSS to Build User Interfaces

    Chapter 10 DOM Programming with JavaScript

    Chapter 11 Simplifying DOM Programming with JQuery

    Chapter 12 Loading and Playing Audio Files

    Chapter 13 Factories and Constructors

    Chapter 14 Abstracting the File Loader

    Chapter 15 The Node Graph and Working with Effects

    Chapter 16 The Biquad Filter Node

    Chapter 17 The Convolver Node

    Chapter 18 Stereo Panning, Channel Splitting and Merging

    Chapter 19 The Delay Node

    Chapter 20 Dynamic Range Compression

    Chapter 21 Time

    Chapter 22 Creating Audio Visualizations

    Chapter 23 Adding Flexibility to the Audio Loader Abstraction

    Chapter 24 Building a Step Sequencer 

    Chapter 25 AJAX and JSON

    Chapter 26 AJAX and JSON

    The Future of JavaScript and the Web Audio API


    William Turner, Steve Leonard