Luke Hubmayer-Werner
8990a6637e
[BGM] Fix slide behaviour
...
Previously it just lerped from the value at the start of the event to the one at the end of the event.
This did not account for slides that ended in the middle of the event.
Note that slides beginning in the middle of the event are impossible in this sequence format.
2024-07-28 22:43:44 +09:30
Luke Hubmayer-Werner
f8e3def5d8
[BGM] Fix pitch slide reset logic
...
Seems like it actually modifies the tie note value, so it should reset whenever the tied note changes
2024-07-28 21:22:33 +09:30
Luke Hubmayer-Werner
e5530e1dd1
[BGM] Rudimentary Pitch Slide
...
Need to dig deeper on the reset conditions, these are wrong for many songs.
Also slides in general need to have the actual end sample for slides that finish mid-note-event.
2024-07-28 20:40:48 +09:30
Luke Hubmayer-Werner
c6c4a39d9c
[BGM] Render volume and pan slides
2024-07-28 15:31:36 +09:30
Luke Hubmayer-Werner
5fed1672c9
[BGM] Fix off-by-one in curve interpolator
2024-07-28 15:05:28 +09:30
Luke Hubmayer-Werner
ac03db778b
[BGM] Disable non-default ADSR opcodes until we work out what is going on there
2024-07-27 22:50:53 +09:30
Luke Hubmayer-Werner
c2bd6a8abd
[BGM] correct default ADSRs
2024-07-27 17:19:44 +09:30
Luke Hubmayer-Werner
d58ee06bae
[BGM] Increase max note events from 2048 to 4096
2024-07-27 16:08:17 +09:30
Luke Hubmayer-Werner
0385004534
[BGM] Fix up decay and release handling
2024-07-27 15:53:44 +09:30
Luke Hubmayer-Werner
603c84cbc1
[BGM] Refactor playback and rendering to a Manager singleton
2024-07-26 19:29:58 +09:30
Luke Hubmayer-Werner
26f83ef224
[BGM] Fix default volume and TrackCurve edge cases
...
Also clean up some other stuff
2024-07-19 21:44:38 +09:30
Luke Hubmayer-Werner
24eab16356
[BGM] Unbreak full loops
2024-07-18 14:59:57 +09:30
Luke Hubmayer-Werner
59de8aa820
[BGM] Fix incorrect SFX data, change tie handling to accomodate weird edge cases
2024-07-17 22:03:27 +09:30
Luke Hubmayer-Werner
38a822362a
[BGM] Envelopes
2024-07-17 18:50:42 +09:30
Luke Hubmayer-Werner
5babc200f2
[BGM] Update placeholder ADSR names to reflect actual function
2024-07-17 14:10:16 +09:30
Luke Hubmayer-Werner
57d88e876a
Refactor BGM handling
2024-07-15 17:33:42 +09:30