Commit Graph
34 Commits
Author SHA1 Message Date
Ralty 1b403b2ab2 oh, theres ThreadUtil 2025-11-29 11:24:39 +07:00
Ralty 846f2deedb some fixes 2025-11-22 12:57:24 +07:00
Ralty 5d8a9c71a2 Update Audio Backend from Vs Camellia v2.75.1 (info at desc)
Before anyone asks why vs cam, the code is public, plus i helped most of the audio backend rewrite in the mod too. :P

- Static sounds can now also seamlessly loop with AL_SOFT_loop_points extension
- Panning stereo sounds is now possible with AL_EXT_STEREO_ANGLES extension (although this was already implemented before)
- Improved streaming sounds, should fix most of the lagspike issues
- Streaming sounds should no longer regenrate if it's in the nearest timestamp (not for reversing though)
! You still can't access FlxSound.latency because of the new procedures that's not available in lime

If there's any crashes with this pls report an issue asap.
2025-11-16 15:22:58 +07:00
Ralty 7c8dd987dd Fix __readStream out of bound 2025-08-07 20:00:12 +07:00
Ralty b801ea30c6 Add volume param, forgot the important of all 2025-08-04 04:41:24 +07:00
Ralty 1a336e6343 FIx out of bound in __readData 2025-08-03 15:22:21 +07:00
Ralty c5918aaa07 getFrequenciesFromSamples, Merging Samples 2025-08-03 14:10:53 +07:00
Ralty ae9b8a7b92 Change default params, optional windowing fft 2025-08-03 01:16:40 +07:00
Ralty 0f236b846b Remove 4 point fft again completely, its broken 2025-08-02 21:13:02 +07:00
Ralty 81188b2fd0 Fix FFT again... 2025-08-02 20:53:21 +07:00
Ralty 7a4d5f9ff4 Finalize AudioAnalyzer 2025-08-02 18:36:58 +07:00
Ralty 1018d3c214 im an idiot 2025-08-02 06:12:27 +07:00
Ralty a00e8af568 just to be safe 2025-08-02 06:12:04 +07:00
Ralty 0aa30ef781 FUCK 2025-08-02 03:18:34 +07:00
Ralty 5c249fa13b Optimized __readDecoder 2025-08-02 03:09:08 +07:00
Ralty 9bf7bcefe4 global getLevels 2025-08-01 18:36:16 +07:00
Ralty e0a26fdbd2 Documentation for AudioAnalyzer 2025-08-01 15:45:39 +07:00
Ralty f3f517d0a8 Disable 4 factoring, it looks ass with it 2025-08-01 15:25:26 +07:00
Ralty a9495eed5e Uhhuhhh 2025-08-01 15:15:03 +07:00
Ralty aabfb0f3cd it works? 2025-08-01 11:58:21 +07:00
Ralty 1f5e048945 First attempt on reimplementing FFT 2025-07-31 19:32:21 +07:00
Ralty 2724c8b236 Cleanup AudioAnalyzer 2025-07-30 20:48:42 +07:00
Ralty 92ee5a280a fix SoundChannel peaks & give AudioAnalyzer desc 2025-07-27 18:49:23 +07:00
Ralty c6c7cdd32b Fix & Change a bit of AudioAnalyzer base functions 2025-07-27 18:29:24 +07:00
Ralty bffb147cc2 Polish AudioAnalyzer & fix 8-bit detection 2025-07-15 01:23:52 +07:00
Ralty a708c204e7 Little fix on AudioAnalyzer 2025-07-13 23:58:14 +07:00
Ralty 17ffdcd6ef Fix AudioAnalyzer 2025-07-13 23:41:41 +07:00
Ralty a3ae8a70d4 Allow AudioAnalyzer to have seperate outputs 2025-07-13 22:03:11 +07:00
Ralty 2ead99cdf4 Fix Mismatching Audio Streamed Buffer Size 2025-07-13 21:10:42 +07:00
Ralty e669eb32af Stable Reworked Audio
- Reworked Internal Audio to work with Streaming Vorbis Files (for now?)
- FlxSound.amplitude, FlxSound.amplitudeLeft, FlxSound.amplitudeRight, SoundChannel.leftPeak, SoundChannel.rightPeak now works. (Streamed Audio on this seems to be half-broken)
- Reworked AudioAnalyzer to work with all type of audios (hopefully) and work with Streamed Audio.
- Redo AudioSwitchFix to work in time instead of when switching states.

gosh, and all that i hope it doesnt break anything.
2025-07-13 19:56:26 +07:00
Ne_Eo 531f8b7882 HTML5 stuff 2025-03-16 03:52:18 +01:00
Ne_Eo 5a8af43017 Fixed links due to rename of Organization
Remove Haxe 4.3.0 warning
2024-12-09 22:42:57 +01:00
NeeEoo 4a34bb19d7 Cleanup 2024-03-05 17:54:34 +01:00
lunarcleint f990cd3d14 /*waveforms*/ 2024-02-13 15:32:55 -07:00