Home

2024

Worklog

LETSGO Game

Refactor InstrumentSchedule Data

Date
August 23, 2024
Hours
1.5
Tags
UnrealCodeC++LETSGO

I had originally decided to build a separate InstrumentSchedule system with the separation of PerBarNotes and PerBarBeats. This was because Drums used a single sound.

This separation created branching code paths, which I didn’t like, and started to make things complicated logically. So I decided to rebuild InstrumentSchedule to have just the PerBarNotes.

Essentially this forces putting the SoundCue in the InstrumentSchedule.

WIth this working, I was able to start fixing the AudioPlatforms to now have an instrument to play a sound, filtering the total sounds by predicate.

If I get that working, multi-instrument support is essentially working. Which would be good.