October 11th, 2008

Exercise 3b – Sound with Processing

Task 2: MP3-Player

The task was about creating a little MP3 player which is able to play mp3 and display the amplitude graphically. I added a few extra features so that for example the filename of the current track and its time are shown. The graph’s color and stroke weight are also dynamically changing.

View Applet / Source The mp3-file used in this example may take some time to load (0.9 MB).

Task 3: MIDI-Player

This applet plays a MIDI file and enables the user to pause the file. With the keys 1 to 9 you can also generate basic sounds.

View Applet / Source

Midi replay doesn’t yet work due to some problems with the paths. :-(

Task 4: Fourier Analysis

This is an extension to the simple MP3 player from Task 1. This one shows not only the amplitude, it displays also the frequencies by FFT (Fast Fourier transform).

View Applet / Source The mp3-file used in this example may take some time to load (0.9 MB).



Leave a Reply