Contrapuntal Composer

At one point when I was both a Music major at Cleveland Institute of Music and a Computer Science major at Case Western Reserve University, I had two term projects due at the same time. For Music Theory I had to write a fugue. For Introduction to Prolog Programming I had to write some system that explored the possibilities of logic and artificial intelligence within the Prolog environment. I wish I could say that it was genius of me to decide that my Prolog Programming term project could perhaps write my Music Theory term project. Really it was just laziness. In any case, here is my term project for the Prolog Programming course, Contrapuntal Composer.

Fugue from J.S. Bach's "The Art of Fugue" A considerably better composition than anything written by Contrapuntal Composer
Fugue from J.S. Bach’s “The Art of Fugue:” A considerably better composition than anything written by Contrapuntal Composer
Fugue from J.S. Bach's "The Art of Fugue" A considerably better composition than anything written by Contrapuntal Composer
Fugue from J.S. Bach’s “The Art of Fugue:” A considerably better composition than anything written by Contrapuntal Composer

Contrapuntal Composer writes music for three simultaneous voices. Depending on initial parameters, it can write a fugue, a rondo, or any other contrapuntal form. As input, Contrapuntal Composer accepts a key, the number of measures the composition should be, the sections, their lengths, names, rhythmic complexities, a list of harmonies, and a list of keys. It outputs a list of notes for each voice. Contrapuntal Composer obeys the rules of good voice leading within each voice and between the voices.

I suppose there might have been ethical questions if Contrapuntal Composer did indeed write my fugue for Music Theory. As it turned out, I didn’t quite finish Contrapuntal Composer in time, so I ended up writing a nasty fugue, nothing like anything Bach would have written even at his darkest, saddest moment.

Contrapuntal Composer’s compositions are hardly better, actually probably worse. And as the heuristics are weak, it takes Contrapuntal Composer days to write just a few measures. But what’s time to a computer?

Similar Posts

  • TechArtICT: Whispering Woodlands

    Whispering Woodlands was an outdoor installation created by TechArtICT. It was installed at Exploration Place in Wichita, Kansas from November 2023 through January 2024. The work featured 24 independently controlled sets of speakers and LEDs, all synchronized to create an immersive sound and lightscape. Using eclectic audio ranging from thunder and rain to spaceships and…

  • Touch #1

    In 2012 I created my first interactive touch wall: Touch #1. The work built on my experience creating the visuals for Still Life and was largely inspired by seeing autistic children experiencing pure joy while interacting in an immersive environment. Touch #1 received a great response and was later installed at Exploration Place and at…

  • Ballet Wichita: Innovations

    As part of the Ballet Wichita’s Innovations performance April 2024 I teamed up with Wichita State University’s Shocker Studios to track a dancer live, reinterpreting their motions on a stage-sized display behind them. Wichita State University’s Fairmount String Trio accompanied the dance, performing Dohnányi’s Serenade. To track the dancer we used 3 Vive 3.0 trackers…

  • Be The Shortstop!

    Be The Shortstop! is a permanent public indoor installation at The Baseball Museum in Riverfront Stadium, Wichita KS. Players hit a large button on a kiosk to start the game. After a few seconds the game starts as they race to hit the correct button on a large wall. A crowd cheers on speakers as…

  • TV Mountain

    TV Mountain is an art piece which was initially installed as part of TechArtICT’s Dreamgrass installation at Exploration Place Fall 2022. It consisted of 12 TVs at various angles and orientations, together forming a jumbotron. As part of Dreamgrass, it subjected faceless child-like objects to a litany of 80s commercials. The working remote enjoyed a…

  • Have a Seat!

    Have a Seat! is a playful interactive installation in which a video of a traveler of both time and space urges viewers to sit on a couch. When three people sit close together on the couch a special broadcast or snippet of The Muppet Show plays. Strangers coming to view the work find themselves uncomfortably…