<aside> 🎶 This is part of a ongoing series called Building A Music Engine

It documents the process of me smashing my head against the keyboard to build a game called LETSGO

It’s gotten long enough to break into several sections:

So now we have compiling accessors for a Quartz Clock, we can use it in blueprints.

Resources for this:

https://dev.epicgames.com/community/learning/courses/XAw/unreal-engine-quartz-music-system/378n/unreal-engine-creating-the-core-quartz-system

Start the Clock

I have a BP_ClockMain blueprint to act as a shared clock for instruments.

2023-12-16 08_50_12-BP_ClockMain.png

2023-12-16 08_52_50-BP_ClockMain.png

Next we use the Pointers Are Hard accessors we built to store this main clock in game state. We also set the beats per minute and start the clock.

174 BPM is fast. It happens to be the standard BPM for drum and bass music.

Drum Blueprint

With our MainClock created and started, we can now play things in time.