Clap Music for two flip-disc displays

September 14, 2024
I present to you: by Steve Reich Applause Musicas done by a pair of flip-discs shown:
Read on for its origin…
Down the flip-disc rabbit hole
A few years ago, I became obsessed with flip-disc displays and art is made with them:
Because of this, my partner gave me a pair AlphaZeta boards: a 7×28 flip-dots display, and a 7×4 seven-segment flip-digit (“Vane”) display. We put them in our living room and programmed them to show the date, the current outside temperature, and the current weather (preceding upcoming rain), updated every half hour.
Our show has been running for almost three years at this point, with very little intervention (for example, a manual restart after a power outage). This makes me so happy! Two unexpected benefits:
- My internal temperature mapping (Fahrenheit) of the clothes I wear before going out? BETTER.
-
Passive awareness of the clock, as the shickshick The hourly / half hourly update is a nice reminder that I need to jump into that meeting / get off the bus / think about going to bed.
The source of that mysterious noise
One of my favorite things about electromechanical performances is how visceral they are — that little “chk!” when changing state. The two performances are different from each other: while one dot makes a slow snick, so updating several dots produces a whirring noise, one part of the other digit makes a sharper clack, and a fast update of the digits creates an aggressive clacking too.
Once we were successfully sending commands to the boards (a victory in its own right!), I started playing basic rhythms with them. I sent a video of a beat to a
musician/composer friendwhose immediate response was
They are correct: I DOING it should be done with clapping music. Immediately. 😀
clapping Flip the music
by Steve Reich
Applause Music
is a composition in which two performers (or sets of performers) repeatedly clap a 12-beat pattern. After eight or twelve repetitions, the second performer moves their position in the pattern back one beat. This process is repeated until the second performer returns to playing the original no-offset pattern. Shifting the offset causes a pleasing phasing effect for listeners.
Here is the clapped pattern:
and another very nice visualization of its performance:
The code for doing this with two flip-disc displays is fairly simple:
function _clapping_music(sink_dots, sink_digits; pause=0.15,
=Bool(1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0),
clap_pattern=12, num_shifts=length(clap_pattern) + 1,
num_repeats=28, num_digits_to_set=2)
num_dots_to_set= 0
i_pattern_shift for _ in 1:num_shifts
for _ in 1:num_repeats, i_pattern in eachindex(clap_pattern)
&&
clap_pattern(i_pattern) write_to_sink(sink_dots, rand(0x00:0x7F, num_dots_to_set))
mod1(i_pattern + i_pattern_shift, length(clap_pattern))) &&
clap_pattern(write_to_sink(sink_digits, rand(0x00:0x7F, num_digits_to_set))
sleep(pause)
end
+= 1
i_pattern_shift end
end
The included parameters are:
pause
: Adjust playback speed-
clap_pattern
,num_repeats
,num_shifts
: While the default composition is Reich’s, the same method can be used to play any other pattern with any other shift method. I thought it would be fun to play! (Also, sometimes one wants to demo the piece without playing the whole thing…) -
num_dots_to_set
,num_digit_segments_to_set
: The relative difference in number between a disc flipping on each of the two boards is noticeable enough that, if the same number of discs are flipped per “clap” on each board, the digits board drowns in dotted board. So I cut down the number of flip-digit parts being moved until the boards “clapped” at roughly the same volume. Because of the randomness of the discs that break, this is the maximum number of discs that break per clap (ie, all “on” all “off”), but in practice the variation is mild enough that it’s fine to listen, and I ‘ t need to monitor and adjust the previous situation.
The resulting show is pretty cool:
This is a shortened version, where I repeat each bar only twice instead of all 12 times; the full unedited show is at the top of this post.
Playing with different clap patterns is also fun:
# Variant A
= Bool(1, 0, 0, 1, 1, 1)
clap_pattern =0.12
pause=2
num_repeats=14
num_dots_to_set=4 num_digits_to_set
# Variant B
= Bool(1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0)
clap_pattern =0.15
pause=2
num_repeats=28
num_dots_to_set=14 num_digits_to_set
I really enjoyed that, because the two boards have different disc flip timbres, the overall effect is two different performers-like there are two human performers with a little different wings. While the piece could easily be done on a flip-disc board, or on two different boards of the same type, the presentation is now pleasing.
What’s next?
Still need to be determined! If you have fun ideas to try—or more electromechanical displays for me to play with!—help. 🙂 A friend recently suggested adding the set of chromatic rainbow desk bells on display near the display, which are pretty cool; I am still thinking about how to implement his idea. If you want me to match that….
The full code for this display—including set up instructions—is available on GitHub. Thanks to AF for filming the examples here, and to Cosmo for putting up with us being annoying while he tries to sleep.
- Created: 2024-09-14
- Last updated: 2024-09-14
- Type: Writing project
- Tags: electromechanical-display, raspberry-pi, music, programming, hardware, software, julia
https://www.hannahilea.com/blog/clapping-music-for-flip-disc-displays/assets/thumbnail.png
2025-01-24 16:21:00