Monday, 28 March 2011

Colour Swatch




Colour Swatch

The colour swatch is used to change the colours of he graphic. It contains the number range from 0 (orange) to 255 (dark red). The colour swatch respond to the notes. Low notes are set to the colour orange and the high notes to dark red. to control the colours and notes the scale object is used. For the project "playing pictures" the scale is programmed to the followed number range: 49. (lowest sound) 78 (highest sound) scaled to 1(orange) to 255 (dark red).

Depending music data the scale can be changed to achieve different colour effects. For example for a very high music the range of the scale number could be: 60 to 100.

This allows us to use the patch for any instrument or sounds and makes it flexible.

Further we can set the scale to a number range so it changes in a certain colour area.

The colour swatch number range by its origin:

1. = orange Scaled to the number 49.

20. = dark yellow Scaled to the number 52.

40. = yellow Scaled to the number 55.

60. = light green Scaled to the number 57.

80. = green Scaled to the number 59.

110. = turquoise Scaled to the number 62.

150. = blue Scaled to the number 66.

180. = violet Scaled to the number 74.

200. = pink Scaled to the number 77.

255. = dark red Scaled to the number 80.

Data Input

The data input is simply a microphone. The sound is catches by the microphone, which then, is transformed into a number data. (Float numbers).

Saturation

To make the graphics respond even more interesting and changeable the saturation is added to the patch.

The saturation is controlled by the volume data. As louder the sound is, as more intensive appears the colour of the graphic. A low sound affects a low saturated colour.

The scale for the saturation is set to: 0. 0.3 0. 1.2 this data affects a quiet intensive colour by a medium sound played with a clarinet. The saturation can be easily changed with the scale object. The saturation swatch has the same amount of numbers as the swatch colour. (o. /255.)



No comments:

Post a Comment