Home

2024

Worklog

LETSGO Game

Calculating tension in music

Calculating tension in music

Date
October 31, 2024
Hours
0.75
Tags
UnrealCodeDesignLETSGO

Had the idea to sum the tension values of each note, and divide that against the cumulative possible total. Showed ~30% tension in common chord progressions. That 30% can be used to define how much tension should be in the Motif.

However, I need to return a FPerBarSchedule, and I started thinking about if there was a better way to map Note + Octave than doing a FilterByPredicate().

So I created an enum of C0 → C6 and all inclusive notes. But then I got stuck thinking about how I would convert a GetMyNote(Octave, Note) into enum value EFlat3.

I got frustrated and ended early.