Commit Graph

184 Commits

Author SHA1 Message Date
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 b0d7a60e53 [BGM] forgot to move this earlier 2024-07-27 22:50:29 +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 877f1e491b Make worldmap event changes fade in instead of pop in 2024-07-26 23:04:04 +09:30
Luke Hubmayer-Werner bb3c850c95 [BGM] Make the debug menus play appropriate music :) 2024-07-26 22:54:05 +09:30
Luke Hubmayer-Werner 79fee675ac Handle android back button/gesture. 2024-07-26 22:11:04 +09:30
Luke Hubmayer-Werner 546463dda3 Handle android file permissions. 2024-07-26 21:54:00 +09:30
Luke Hubmayer-Werner ee2a207c30 Reenable threaded loading 2024-07-26 21:28:03 +09:30
Luke Hubmayer-Werner 8df54eda28 [BGM] Move ADSR curve LUTs to instruments texture for GLES2 compat 2024-07-26 19:30:38 +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 9abf1b49c8 [BGM] Refactor audio_renderer to a more global position on the scene tree
Preparation for playing BGM outside of the debug menu
2024-07-19 23:06:41 +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 efca0b8e8c don't delete cache for currently playing bgm 2024-07-18 14:48:24 +09:30
Luke Hubmayer-Werner 3ebcf6883f SFX disassembler 2024-07-17 23:20:26 +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 961c1344eb [BGM] Try cubic instead of sinc interpolation
Ported the godot implementation
2024-07-16 21:59:51 +09:30
Luke Hubmayer-Werner 72dcc11945 [BGM] slap highp everywhere to ward off destructive gpu driver "optimisations" 2024-07-16 20:26:18 +09:30
Luke Hubmayer-Werner 0b2a120b1d JAOT Audio rendering 2024-07-16 03:43:14 +09:30
Luke Hubmayer-Werner 57d88e876a Refactor BGM handling 2024-07-15 17:33:42 +09:30
Luke Hubmayer-Werner be7874ba27 BGM: Add note ties (previously assumed they were also rests) 2024-07-15 16:35:43 +09:30
Luke Hubmayer-Werner a50514f7ec Flip panning 2024-07-15 15:25:31 +09:30
Luke Hubmayer-Werner 473d62c590 Improve some debug menu layouts 2024-07-15 02:31:36 +09:30
Luke Hubmayer-Werner df2cfd8cff [BGM Shader] Fix shader uniform names 2024-07-15 01:36:14 +09:30
Luke Hubmayer-Werner 8b006976b4 [BGM Shader] Add a safety check for tweaking framebuffer sizes 2024-07-15 01:02:29 +09:30
Luke Hubmayer-Werner 313872f115 [BGM Shader] Batching improvements
Make it easier to change framebuffer size
2024-07-15 00:45:10 +09:30
Luke Hubmayer-Werner 87739d57f4 [BGM Shader] Enable batching 2024-07-14 23:34:23 +09:30
Luke Hubmayer-Werner 3a66a26ff8 Add the chocolate bird logo to the project itself 2024-07-14 18:47:59 +09:30
Luke Hubmayer-Werner af066eabaf BGM render shader 2024-07-13 23:55:47 +09:30
Luke Hubmayer-Werner 6b72875f08 Second-guessing tuning divisors 2024-07-13 23:54:56 +09:30
Luke Hubmayer-Werner 80cbfa7ab8 Some plumbing for upcoming fake compute shaders 2024-07-10 00:35:29 +09:30
Luke Hubmayer-Werner b07ed09513 Default loop extension to on 2024-07-10 00:34:28 +09:30
Luke Hubmayer-Werner 9dfa0b1ec7 Make hot reloading ROMs actually work on the web build with battle_sprites 2024-07-08 16:55:53 +09:30
Luke Hubmayer-Werner 80d65d2a76 Add shortcut buttons to battle_sprites debug scene
Also attempt to hot reload it on new ROMs
2024-07-08 16:11:22 +09:30
Luke Hubmayer-Werner 9ad16eaece [Web] Allow dropping files onto the window to load them. 2024-07-08 15:35:38 +09:30
Luke Hubmayer-Werner a7fc07c726 Allow dropping files onto the window to load them. 2024-07-08 14:51:23 +09:30
Luke Hubmayer-Werner 038ab69a54 Revisiting WorldMap pathing
Cleaning up some older debugging stuff
2024-07-06 01:23:40 +09:30
Luke Hubmayer-Werner ea3f3441f6 Clean up vestigial SoundLoader lines 2024-07-05 20:59:54 +09:30
Luke Hubmayer-Werner adb720668f Remove dict of map event replacement regions 2024-07-05 20:05:55 +09:30
Luke Hubmayer-Werner 74ab47f1e8 Preserve map region replacement order 2024-07-05 19:21:54 +09:30
Luke Hubmayer-Werner f1fb01501c Add loop extension hack for audio samples 2024-07-05 17:19:03 +09:30