tutorial
MAX/MSP for Non-Programmers - Part 3 by Rishabh Rajan
In this tutorial we will look at working with audio in Max/MSP. There are a lot of possibilities for manipulating audio loops within Max and today we will learn how to bring audio into Max, set loop points within an audio file and even manipulate the playback speed and direction. Using Buffers Audio files can be played back from the hard drive using the object sfplay~ but the possibilities for manipulation are limited in this scenario. When the audio is used in a small buffer in the RAM, there is a lot more that can be done in terms of processing and manipulation.
Create a new object called buffer~ looper -1. This will create a buffer with the name 'looper1'. It is important to give this buffer a unique name as we will be accessing is via its name elsewhere. The '-1' is to define the buffer size. In this case it will use the size of the audio that is loaded in. If you want to define a specific size you can by replacing '-1' with any value in milliseconds. Create a
Create a new patch and include the gain~ & ezdac~ as shown in the diagram.
84
www.WusikSoundMagazine.com
February 2012
message with the text 'read'. You can also use 'import' instead as that will give you support for mp3 files. Lock the patcher, click on the message and load an audio file. To verify that the audio has indeed loaded you can double-click the buffer object and a window showing the content of the buffer will pop-up.