User Tools

Site Tools


processing:pixelplayer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
processing:pixelplayer [2013/08/23 04:17] mithatprocessing:pixelplayer [2018/03/08 22:27] (current) mithat
Line 1: Line 1:
-====== Pixel Player ======+====== PixelPlayer ======
 {{:processing:pixelplayer.png?nolink&300|}} {{:processing:pixelplayer.png?nolink&300|}}
  
-PixelPlayer (a.k.a. SeeHear1) is an interactive environment for exploring image to sound mapping.+PixelPlayer is an interactive environment for exploring image to sound mapping.
  
 In the implementation below, the brightest pixel and darkest pixel in a video feed are mapped to MIDI note pitch (vertical axis) and stereo placement (horizontal axis). The brightest pixel is indicated with a green circle, the darkest with a red circle. New notes are triggered whenever there is a state change. The sound thus reflects the amount of activity in the frame as well as the location of activity. In the implementation below, the brightest pixel and darkest pixel in a video feed are mapped to MIDI note pitch (vertical axis) and stereo placement (horizontal axis). The brightest pixel is indicated with a green circle, the darkest with a red circle. New notes are triggered whenever there is a state change. The sound thus reflects the amount of activity in the frame as well as the location of activity.
Line 8: Line 8:
 PixelPlayer uses [[http://www.smallbutdigital.com/themidibus.php|The MidiBus]] library, which works on Windows and (we hear) on OS X, but not on Linux. PixelPlayer uses [[http://www.smallbutdigital.com/themidibus.php|The MidiBus]] library, which works on Windows and (we hear) on OS X, but not on Linux.
  
-Pitch mapping is specified in the ''PITCH_TABLE'' array. The mapping below reflects a C-major scale; feel free to try different mappings.+Pitch mapping is specified in the ''PITCH_TABLE'' array. The mapping below reflects a C-major scale; feel free to try different mappings. You will probably have to tweak ''CAM_WIDTH'', ''CAM_HEIGHT'', ''CAM_FPS'', and the output MIDI device (currently hardcoded as ''"Microsoft MIDI Mapper"'') to reflect resources that are available on your machine.
  
 <file java play_two_pixels_change_tonal.pde> <file java play_two_pixels_change_tonal.pde>
Line 63: Line 63:
 int darkPan;        // MIDI dark note output pan int darkPan;        // MIDI dark note output pan
  
-float brightAlpha;   // alpha with which brightest pixel is shown. +float brightAlpha;  // alpha with which brightest pixel is shown. 
 float darkAlpha;    // alpha with which darkest pixel is shown. float darkAlpha;    // alpha with which darkest pixel is shown.
  
processing/pixelplayer.1377231439.txt.gz · Last modified: 2013/08/23 04:17 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki