Swing Variations (Java jazz)
Вставка
- Опубліковано 7 вер 2024
- I wrote a simple program in Java, creating a 24-bar piece from rhythmic figures and rests before and after them. Each figure resembles an inverted swing ride pattern. I decided not to make it overcomplicated, omitting some bizarre variations. The idea was to play with different types of a swing feel.
In total I came up with 16 different figures, 4 types of rests after the figure (16th, 8th, quarter note rest and half note rest) and one specific parameter deciding whether the figure will be moved one rest forward (the duration of this “pre-rest” equals the duration of the smallest note in the figure, but not less than a 16th rest). Each combination of a figure and two rests is placed in a separate bar.
The figures and rests are shown here:
pasteboard.co/...
The program doesn’t see the figures and rests by themselves. It only works with their corresponding numbers (1-16 for the figures, 1-4 for the “post-rests” and 1-2 for whether there should be a “pre-rest”).
In theory it’s all random. But the very first “take” showed some evidence of my laptop being a true composer. It definitely preferred figure 6, which is a dotted eighth note combination, using it 6 times out of 24! The bars containing this figure are not identical due to the different rests, but I still consider it a leitmotif, given the placements. Also, figure 3 (a quarter note and 2 eighth notes) is used 3 times, with the same placements and rests creating bars of 9/8, two of them one after another! Figure 7 is also used 3 times.
Th sheet with 3 recurring themes:
pasteboard.co/...
It’s also worth mentioning that the program tried to avoid putting too many complicated figures like 5’s and 7’s, instead making complicated time signatures with simple note groupings. So the piece turned to be no too hard to play by a human being.
your internal metronome is crazy dude!!
When you gonna use this excercise in real music?
I suppose this music is quite real