GMU:Keeping Track/assignment three: Difference between revisions

From Medien Wiki
mNo edit summary
Line 1: Line 1:
== Henning: Controlling Frequency ==
== Henning: Controlling Frequency ==
 
[[Image:sine scratch.png|thumb|sine scratch]]
[[Image:sine_scratch.png|600px]]
 
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.
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.
<gallery>
[[Media:sine.pd]]
File:sine.pd|sine.pd
<br clear="all" />
</gallery>


== Henning: Visual Scratch ==
== Henning: Visual Scratch ==
 
[[Image:scratch patch.png|thumb|scratch waveform]]
[[Image:scratch_patch.png|600px]]
 
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>
[[Media:sound files.zip]] [[Media:scratch.pd]]
File:sound_files.zip|sound files
<br clear="all" />
File:scratch.pd|scratch.pd
</gallery>