ABSTRACT

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|8 pages

    Overview and Setup

    chapter 3|8 pages

    Operators

    chapter 4|8 pages

    Conditional Statements and Loops

    chapter 5|18 pages

    Functions

    chapter 6|8 pages

    Objects

    chapter 7|6 pages

    Node Graphs and Oscillators

    chapter 9|12 pages

    DOM Programming with JavaScript

    chapter 10|12 pages

    Simplifying DOM Programming with JQuery

    chapter 11|6 pages

    Loading and Playing Audio Files

    chapter 12|8 pages

    Factories and Constructors

    chapter 13|8 pages

    Abstracting the File Loader

    chapter 14|6 pages

    The Node Graph and Working with Effects

    chapter 15|8 pages

    The Biquad Filter Node

    chapter 16|6 pages

    The Convolver Node

    chapter 18|4 pages

    The Delay Node

    chapter 19|4 pages

    Dynamic Range Compression

    chapter 20|6 pages

    Time

    chapter 21|10 pages

    Creating Audio Visualizations

    chapter 23|16 pages

    Building a Step Sequencer

    chapter 24|14 pages

    AJAX and JSON