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: | File:sound_files.zip|sound files | ||
File:scratch.pd|scratch.pd | File:scratch.pd|scratch.pd | ||
</gallery> | </gallery> |
Revision as of 20:31, 10 November 2010
Henning: Controlling Frequency
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
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.