Commit Graph

132 Commits

Author SHA1 Message Date
minjaesong
07c70a42f3 reloading the engine will copy track states from the old instance, obsoleting audioMixerRenewHooks 2024-01-16 14:00:58 +09:00
minjaesong
2bd1b61a35 audio engine: resize buffer without restarting the game 2024-01-16 03:31:22 +09:00
minjaesong
755ced9ea4 sound engine is no longer a singleton 2024-01-16 03:00:30 +09:00
minjaesong
a973d33e02 randomised music disc sprite 2024-01-14 22:16:19 +09:00
minjaesong
7aa376dc69 fix: condition for do resampling 2024-01-14 19:45:25 +09:00
minjaesong
e89e32eeea option for speaker/headphone selection for appropriate panning 2024-01-14 19:37:41 +09:00
minjaesong
871396cd92 jukebox: ui item number fix, not accepting disc already there 2024-01-14 11:33:56 +09:00
minjaesong
5c6cc36437 jukebox: lamp for play mech chamber 2024-01-12 23:03:29 +09:00
minjaesong
aff3b3655b better softclp 2024-01-12 21:36:12 +09:00
minjaesong
988c9dbff7 jukebox: speaker sim using convolver 2024-01-12 19:55:36 +09:00
minjaesong
40365fd828 even more panning 2024-01-12 17:28:03 +09:00
minjaesong
236d4e4e53 more binopanning 2024-01-12 16:58:48 +09:00
minjaesong
3d71b5c619 binopan adjustments, get actor head size from the sprite 2024-01-12 16:32:03 +09:00
minjaesong
a2f61a2be7 audio mixer reset() with audio artefact masking 2024-01-12 01:05:52 +09:00
minjaesong
b415f30ae5 dynamic source tracking vol and lowpass and shits 2024-01-11 20:09:36 +09:00
minjaesong
28edba9bb3 hopefully 'correct' binopan 2024-01-11 17:46:30 +09:00
minjaesong
5973327ed6 optimising dynamic source processing by NOT multithreading it 2024-01-11 15:19:14 +09:00
minjaesong
62e45d3281 improved audio source threading 2024-01-11 15:07:23 +09:00
minjaesong
df813712ff fix: panning dynamic source sending nan values 2024-01-11 14:42:16 +09:00
minjaesong
ecd8f08419 wtf is going on 2024-01-11 13:31:17 +09:00
minjaesong
fd30223df8 jukebox wip 2024-01-11 02:23:20 +09:00
minjaesong
6e32647e6d binopan: stereo src 2024-01-10 23:22:05 +09:00
minjaesong
724a92bc18 removing unused libs 2024-01-10 03:59:10 +09:00
minjaesong
c4c76a41fb adding kotlin-test to dependencies 2024-01-09 22:28:49 +09:00
minjaesong
4f87b8bf9d musicplayer: working stop and next button, button pos on transition 2023-12-29 04:47:32 +09:00
minjaesong
fe762e9396 transition anim for gapless play 2023-12-28 21:37:17 +09:00
minjaesong
a4cb3f4d29 working gapless playback but musicplayer anim is not 2023-12-28 19:06:29 +09:00
minjaesong
3e7434a9c6 more musicplayer things 2023-12-28 15:59:33 +09:00
minjaesong
44ff8efd63 hann window for spectroscope 2023-12-27 02:57:56 +09:00
minjaesong
7371253398 more musicplayer things 2023-12-24 03:54:48 +09:00
minjaesong
c4836a3fe2 music player widget as a separate module 2023-12-24 03:13:35 +09:00
minjaesong
b5312da2f0 flat-top fft window for spectrogram 2023-12-23 00:16:27 +09:00
minjaesong
397b4f7717 snapshot numbering now use ISO week-numbering year to remove possible conflicts 2023-12-22 02:03:46 +09:00
minjaesong
3a814955d0 spectrogram on the scope 2023-12-21 20:51:00 +09:00
minjaesong
fefdf44e3e convolver crossfeed; filter debug code moved to the classes 2023-12-21 17:00:23 +09:00
minjaesong
b0ae92c64b optimised convolve op 2023-12-20 23:07:52 +09:00
minjaesong
2cab9723c9 the correct way to convolve a stereo audio 2023-12-20 20:51:32 +09:00
minjaesong
d0eb5428e8 turns out it still clicks but at least it's quieter now 2023-12-14 12:06:14 +09:00
minjaesong
3233e57680 lanczos lut 2023-12-14 02:43:29 +09:00
minjaesong
be35d1b4e0 fix: periodic ticking on the resampler 2023-12-14 01:10:27 +09:00
minjaesong
b79232cd9b resampler periodic clicking is now quieter at least :/ 2023-12-12 22:51:37 +09:00
minjaesong
95225b56b4 using fractions for numerical precision 2023-12-12 15:21:47 +09:00
minjaesong
ceb2b0693b hopefully more optimised resampling 2023-12-12 03:49:04 +09:00
minjaesong
39737616e8 using lut for resample buffer size 2023-12-11 18:13:35 +09:00
minjaesong
82e89452d6 fix: MP3 would not play if buffer size < 1152 2023-12-11 16:50:58 +09:00
minjaesong
96c9aed25a BUFFER_SIZE is now strictly samples count 2023-12-11 14:03:34 +09:00
minjaesong
949376b26a music track resampling 2023-12-11 03:35:03 +09:00
minjaesong
cc7f7b11d8 minor fix 2023-12-10 22:57:11 +09:00
minjaesong
55789a3671 input audio resampling 2023-12-10 22:12:42 +09:00
minjaesong
fb7a2a3c49 yet another convolver optimisation 2023-12-05 02:48:56 +09:00