Digital wind chime
An analog wind chime consists of small pipes (for example made out of wood or metal) that are moved by the wind. When they collide sounds are produced. I created a digital wind chime with the program Max MSP and an Arduino. The arduino is equipped with a light sensor and is connected to the computer that runs max msp. The arduino does not sense wind, but light. Therefore, the wind has to be translated into light. That happens for example when the sun is shining and light falls through the leaves of a bush or tree. The digital wind chime has to be placed under said tree/bush. It can be started with a button in the max msp program.
The digital wind chime consists of two parts: one fundamental tone that is played by the drunk object of max msp and is running all the time. The second part is depending on the data, that the arduino gathers through the light sensor. Different shades create different tones in max msp.
The arduino can be put into a box, so the wind chime resembles a music box rather than an electric setup.
LATEST UPDATE: 15.7.2021
Arudino setup:
Video
Progress:
04.07.2021
Archive
22.4.2021:
getting to know max msp
i tried to run two counters at the same time to create two different melodies playing simultaneously but it didn't work
29.4.2021: sound and video analysis
i followed the tutorials and added the object "print" to both patches
interesting project:
https://www.youtube.com/watch?v=6GIP5VDdQ18
(light sensor of an arduino connected to max msp)
6.5.2021
Arduino light sensor + LED pin
Problems / Questions:
When i try to connect the scale to the slider the led pin and the built in led starts blinking fast and i can't control the led pin with the light sensor
I guess something is either not connected or converted in Max correctly Maybe outputting directly from arduino serial monitor (you find it under tools in arduino software) could give a hint. Or perhaps Max console/message could give an idea
What is the meaning of the select numbers "13, 10, 50, 51"?
"13" stands for the beginning of the line and "10" stands for the new line. Usually, they are both used at the same time to define the beginning and the new line: more here https://www.arduino.cc/reference/tr/language/functions/communication/serial/println/
And the three numbers in between (50, 51 and should be one more) stand for ascii code to define a real integer number