/TapePiano

Primary LanguagePython

TapePiano

This the archived source code of the controlling software for the the art project Distance of Sound by Shen Shaomin.

It has been publicly exhibited and scheduled for more exhibitions in the future, including Art Shenzhen 2023 at Hall 6, Shenzhen Convention & Exhibition Center in September 2023. It has been publicly covered in multiple media, including Art Shenzhen as one of the public art projects and SZTV News

Architecture

The art project is a modern re-creation of a deprecated piano for which we attached a brand new mechanic box that contains 88 motor-driven measuring tapes and a complete array of controlling units including a Raspberry Pi, custom-made PCBs for I/O mapping, magnetic sensors on the key notes, motor driving units, power supplies, etc.

With the code archived in this repo, it would be able to detect and register all key strikes, and properly map strikes to the corresponding motor-driven tapes, and drive the tapes to the correct positions. It also supports individual calibrating for each tape to offset the variations in the sensitivity of each magnetic sensor, motor driving unit, and the motor itself.

Key Components Used

  • Raspberry Pi
  • L290N
  • Reed Switches

Pictures

2e7a021c3c729ed21e8aebc752ce00b 91758de8f6b7c3c00a45a66d360fdd0 7c96d30a25132c5dd5f5c37ae3b0a68 367f51ef411df973dab55cdfa26f954 aee9f7d52f968d2f6bc9fcc282924cd 82b0669ecaf5aa51a42f52967bddb33 aa076145261cb3d9b47bd14301fcfbd ba06f5a409e59d0935ea4b96bf68079 22b01775bf4923f0c8a1210e68570a0 d878ac95f2a96f7d4757b9667f55597 9d0d21386082fd3b39db6809b36c14b cde9a91e501178a50abf16ebfb3333f 23c8d8c4b505ef8f0fe853189c9cd52

Videos

https://youtu.be/Js4PpYcqvtc https://youtu.be/KsCReLSWoyQ