//////015

Interface and Application Programming


For this class I decided to write a small application in MAX visual programming language. The application is a sampler where the playback loop gets triggered at a rate which is defined by an input sensor. The loop points keep changing randomly. The user can specify with a graphical user interface how often the loop points change and the level of the audio. Moreover he/she can drag a drop an audio file. The graphical user interface is illustrated below.

For the application I used MAX graphical programing language. By connecting blocks that perform different functionalities you can create in real-time music, sound, video and interactive new media applications. The source code (patch)of the application I developed is:

The subpatch sensor which communicates with Fabduino is:

I have used an infrared proximity sensor from Sharp to accomplish the desired interaction: the closer a get to the sensor the loops are triggered at slower rate. The Arduino code and a video demonstrating the interaction can be found below.