Adam De Broeck

Description

 This partner project for an AI class acted as a means to test out the combination of n-gram based music generation and an HTN planning algorithm.

The music portion of this project used existing patterns of sections in a song in order to re-build a new track and "riff on it". Adding in additional techniques like vertical orchestration and horizontal re-sequencing allows for a unique method of interacting with the HTN planner to automatically guide the player to specific goals.

Controls

- Agent Control Button / Space — Toggle Human / HTN Control
- Reset Puzzle Button — Reset Demo
- Show Guide — Toggle Additional Information
- Left Click — Set New Path

- The music will change location in the speakers based on the current goal's target location (pan left/right). For example, if the next required floor plate to stand on is purple, the direction of the audio will come from the direction of the purple plate.

- Music increases in intensity and adds in additional instruments based on how far the player has progressed in the puzzle (vertical orchestration). The change in patterns being generated (horizontal resequencing) is directed by the ngram generator along with new note melodies.

- The distance to the current goal determines how "active" a melody is. The closer to the goal the more notes are played. Reaching the far end of the exit will change the music to use a major key for the song instead.

Presentation

Gallery

File Downloads

Demo – PCG_Music_Project.zip

Presentation – PCG_Music_presentation.mp4

Final Documentation – CS380_final_paper.pdf