Home

2024

Worklog

LETSGO Game

Finish porting Clock to code; random cleanup

Date
July 26, 2024
Hours
0.25
Tags
UnrealCodeC++LETSGO

I had forgot to give ClockName a default value, resulting in a memory access crash. Super simple fix, which means I completed the task incredibly quickly.

Cleaned up a warning generated by AudioCuePlayer, moved StartClock to Phases folder.

Really that’s all procrastinating on the next obvious goal- rebuild BP_Drums to be in code, phased, etc.

But it’s slightly non-trivial. Take this for example:

Gideon Waxman 15 Common Drum Beats and Patterns (With Sheet Music)Gideon Waxman 15 Common Drum Beats and Patterns (With Sheet Music)

It is entirely reasonable to envision Phases where we set/select drum patterns. That requires a concept of patterns.

Now the nice thing is this is pretty easy to achieve in theory:

  • kick hits at 2, 4
  • snare on 3
  • closed hat every beat

But there’s a couple things I need to do:

  • Define a data structure that encapsulates those individual instruments (Maybe revamp note-container?)
  • Port in closed hat and snare, instrument as code.
  • PhaseController for start/stop drumming pattern

Not crazy difficult, but enough to spin up a drums branch in LETSGO to start working on it.

It also had me re-researching loading random VST’s in Unreal.

But once-again came to the conclusion I’d make more progress actually learning MetaSound and building synths from scratch in Unreal.