11  Loading and Playing Audio Files

In this chapter, you will learn the basics of working with audio files. This includes how to load, play, and run audio files through the node graph to take advantage of its built-in effects.

Images  Prerequisites

To load and play back audio files, you must be running a web server. Chapter 1 gives you instructions about how to integrate a web server with Sublime Text by installing a package called Sublime Server. Your audio files are referenced from the directory the web server is pointing to, which you can set up as follows:

  • 1. Create a folder on your desktop with a new project template.

  • 2. Start the Sublime Text ...

Get JavaScript for Sound Artists now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.