Here is a basic project used for a sound installation called "The Sound Compass". It can be adapted to any project where you need to time four solenoids. In this special case, a MIDI file was used as a score and translated into an Arduino sketch.
The schematics hereunder, made with Fritzing, shows how the components are connected. I used 24V solenoids mostly because that’s what was available at the store. In this version you need to power the Arduino separately, but a smarter solution can be found.
This scheme is basically derived from this instructable.
You can easily use solenoids with a lower voltage. In that case you can choose an adequate power supply.
The code was generated (and then modified) by programming a custom software that would create MIDI files with one MIDI note each time a recording went above a certain volume threshold. Then the duration of these notes was adjusted to few ms by using a MIDI editor. The resulting MIDI file was sent through this MIDI-to-arduno processor, after having named the MIDI tracks as needed.
It doesn’t make sense to share the whole code (more than 11.000 lines), so you find the first 100 lines in the code section hereunder.
This very basic project lets you control four solenoids; in my case it was produce for a sound art installation called "The Sound Compass":
The listener sits at the middle of four pipes, which are hit by motors producing percussive patterns. Four recordings were taken with a microphone pointing at each one of the cardinal points, at different times of the day; the pipes’ length is tuned to the corresponding “keynote” of the soundscape. The rhythm is also derived from an analysis of the sound attacks in the recordings.
Made at the I-Park residency for the Site-Responsive Art Biennale, I-Park Foundation, East Haddam CT (USA) – May/June 2017
This sound art installation appears on www.alessandroperini.com
For further permissions: https://alessandroperini.com/contact/.
Comments
Please log in or sign up to comment.