GMU:Keeping Track/assignment three: Difference between revisions

From Medien Wiki
No edit summary
Line 14: Line 14:
In this patch the movement in x-direction controls the index of an array. The array contains the data of a sound file, so the index points to a position in the sound file. Through movement the pointer plays the sound file.  
In this patch the movement in x-direction controls the index of an array. The array contains the data of a sound file, so the index points to a position in the sound file. Through movement the pointer plays the sound file.  
<gallery>
<gallery>
File:hahn.aif|hahn.aif
File:sound_files.zip|sound files
File:hello_world.wav|hello_world.wav
File:one_two_three.wav|one_two_three.wav
File:scratch.pd|scratch.pd
File:scratch.pd|scratch.pd
</gallery>
</gallery>

Revision as of 20:31, 10 November 2010

Henning: Controlling Frequency

Sine scratch.png

In this patch the movement in x-direction is mapped to the frequency of a cosine wave oscillator. The movement in y-direction is mapped to the amplitude of the cosine wave.

Henning: Visual Scratch

Scratch patch.png

In this patch the movement in x-direction controls the index of an array. The array contains the data of a sound file, so the index points to a position in the sound file. Through movement the pointer plays the sound file.