Commit Graph

44 Commits

Author SHA1 Message Date
TakaRikka e3ee1bd2e3 Merge pull request #296 from TwilitRealm/26-04-07-tracy
Add Tracy stuff
2026-04-09 16:05:46 -07:00
madeline 7d86edde95 IIR filter 2026-04-09 14:44:55 -07:00
PJB3005 a2d008ab09 Add Tracy stuff 2026-04-09 18:47:34 +02:00
madeline 744e29f401 optimize dsp by 27X 2026-04-09 08:25:06 -07:00
MelonSpeedruns 39fae82047 Fixes audio volume at boot if changed (#270)
* Fixes audio volume at boot if changed

* Update Settings refactor for settings we want to update in the future

* remove unused include

---------

Co-authored-by: MelonSpeedruns <melonspeedruns@stratobox.net>
2026-04-07 19:56:23 +02:00
madeline 6462b97413 make the reverb sound slightly more accurate 2026-04-04 23:04:08 -07:00
madeline a9a71331d6 fix .clangd on vscode 2026-04-04 22:22:18 -07:00
madeline 52fed2b693 dump audio and bigger room size 2026-04-04 17:14:09 -07:00
madeline ed7263ee11 better reverb 2026-04-04 15:59:18 -07:00
madeline a0c361c6c9 reverb proof of concept 2026-04-04 01:38:28 -07:00
madeline 7180e9bd6f do resampling manually 2026-04-03 21:51:04 -07:00
Pieter-Jan Briers 007d787cfd Merge branch 'main' into 26-03-28-movie-player 2026-04-01 15:15:08 +02:00
PJB3005 5b18c7bbf3 Fix bad DSP assert
Fixes #150
Fixes #133
2026-03-29 18:22:12 +02:00
PJB3005 7d73e93198 Comment 2026-03-29 01:54:49 +01:00
PJB3005 c28150be40 Works a lot better now 2026-03-29 00:19:56 +01:00
PJB3005 76131c071f Make the movie player work somewhat.
THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo.

Needs changes to thp.h which should be removed from Aurora, will do that later.

Also audio not implemented yet.
2026-03-28 18:29:58 +01:00
PJB3005 6073a0c3f0 Implement master volume & volume interpolation
Does not fix clicking :(

Fixes https://github.com/TakaRikka/dusk/issues/132
Fixes https://github.com/TakaRikka/dusk/issues/128
2026-03-27 14:54:03 +01:00
PJB3005 625a94dcff Replace ugly cast in dusk::audio::DspRender 2026-03-27 13:35:33 +01:00
PJB3005 2e441c9156 Skip oscillator channels properly I think 2026-03-27 12:42:37 +01:00
Lurs 1faded3faf fix stuck note e.g. in Hyrule field 2026-03-27 12:23:41 +01:00
PJB3005 f28585d18c Fix block-unaligned loop decoding 2026-03-20 19:38:49 +01:00
PJB3005 fb1323a583 Stop compiling some DSP-related files.
Replace it all with stubs.
2026-03-20 18:05:17 +01:00
PJB3005 82511a95af CLion? More like CLiedToMe 2026-03-20 17:54:37 +01:00
PJB3005 ebebb1af34 Audio system cleanup and comments 2026-03-20 17:51:42 +01:00
PJB3005 b8b64304e4 Attempt to allow sample rates to be changed dynamically
Doesn't fix the walking bomb things :(
2026-03-19 20:28:15 +01:00
PJB3005 911a12aaea How did this compile ??? 2026-03-19 20:27:46 +01:00
PJB3005 5d5969f415 Load bearing include 2026-03-19 20:07:39 +01:00
PJB3005 a1631942b6 Move the audio dumping code to a define 2026-03-19 20:06:28 +01:00
PJB3005 5419d357d8 Skip work in ReadChannelSamples if no new samples needed 2026-03-19 20:06:02 +01:00
PJB3005 6df246eb06 PCM16 support
Wanted this to test something, not sure if it's used in-game
2026-03-19 20:05:47 +01:00
PJB3005 3d396d66b6 Stereo audio! 2026-03-19 17:47:11 +01:00
PJB3005 530d69c9be Audio processing in f32 2026-03-17 00:03:35 +01:00
PJB3005 c1c97e63d9 Clear history samples when resetting channel 2026-03-17 00:03:15 +01:00
PJB3005 ca130d881d Only mark channel as finished when resample buffer is empty
Does not fix the audio corruption but necessary either way
2026-03-16 14:27:27 +01:00
PJB3005 5d355baae8 Output as F32
This completely fucks up audio. Pending debugging to figure out why
2026-03-16 13:57:04 +01:00
PJB3005 859d99d657 Ignore oscillator channels
Idk if these show up yet but they did when the BMS stuff was broken
2026-03-15 20:36:04 +01:00
PJB3005 c88fa61213 Basic volume control, no panning yet 2026-03-15 20:35:30 +01:00
PJB3005 e308dfda9d Allow decoding less PCM samples than a full frame 2026-03-15 20:35:06 +01:00
PJB3005 71bd970d9a Implement DSP pause somewhat 2026-03-15 01:32:13 +01:00
PJB3005 8534691af7 Resample audio with SDL3 2026-03-14 15:50:39 +01:00
PJB3005 002a34f18b We have audio!! 2026-03-14 14:03:10 +01:00
PJB3005 e2fb0e3a70 ADPCM4 decode impl 2026-03-14 14:02:15 +01:00
PJB3005 0c993fd7ed Basic audio system start 2026-03-14 14:02:13 +01:00
PJB3005 227b785273 Implement JASCriticalSection with a regular mutex 2026-03-14 13:49:16 +01:00