Skip to content

A Complete Audio Recode/Overhaul (More Audio Formats, etc.)#57

Draft
Raltyro wants to merge 14 commits intoFunkinCrew:master-prerebasefrom
Cam-VSRG:audio-rework
Draft

A Complete Audio Recode/Overhaul (More Audio Formats, etc.)#57
Raltyro wants to merge 14 commits intoFunkinCrew:master-prerebasefrom
Cam-VSRG:audio-rework

Conversation

@Raltyro
Copy link
Copy Markdown

@Raltyro Raltyro commented Apr 3, 2026

A re-open of #40, and a redo of #39
(Can't re-open the pull request because github is being github)

Potentially closing these issues below:

Requires this Pull Request to be merged:

Check Out Other Pull Requests:

List of what it changes (May be an innacurate, will recheck on this when i feel like it's done):

  • Adds Audio Switching Functions, muted and gain properties in AudioManager.
  • Change AudioSource.currentTime, and AudioSource.offset from Int to Float
  • Adds AudioSource.loopTime, AudioSource.length for better seamless looping (FlxSound have to implement this too.), AudioSource.latency, AudioSource.playing, AudioSource.pan, AudioSource.peaks, AudioSource.prepare, AudioSource.playSources (static), AudioSource.pauseSources (static), AudioSource.stopSources (static) (Documentation are in the source file).
  • Adds an comprehensive class for to decode audio data for streaming AudioDecoder.
  • More Audio Formats (flac, mp3, compressed wav) using dr_libs, and opus using libopus, and opusfile.
  • Recoded the whole backend for AudioSource, atleast for mostly native and html5, flash is almost untouched.
  • Recoded NativeAudioSource to stream asynchronously, stereo panning, and support seamless looping.
  • Modify Howler Library to expose js AudioBuffer and to make AudioBuffer, ArrayBuffer(View) compatible with loading into without hacks, and loop controls.

@Raltyro Raltyro force-pushed the audio-rework branch 6 times, most recently from 0bb01ac to 9e1a083 Compare April 5, 2026 11:43
Raltyro added a commit to Cam-VSRG/lime that referenced this pull request Apr 5, 2026
Look at below for more information about this commit
- FunkinCrew#57
Raltyro added a commit to Cam-VSRG/lime that referenced this pull request Apr 5, 2026
Look at below for more information about this commit
- FunkinCrew#57
Raltyro added a commit to Cam-VSRG/lime that referenced this pull request Apr 5, 2026
Look at below for more information about this commit
- FunkinCrew#57
Raltyro added a commit to Cam-VSRG/lime that referenced this pull request Apr 5, 2026
Look at below for more information about this commit
- FunkinCrew#57
Raltyro added a commit to Cam-VSRG/lime that referenced this pull request Apr 5, 2026
Look at below for more information about this commit
- FunkinCrew#57
@Raltyro Raltyro marked this pull request as draft April 6, 2026 00:12
@T5mpler
Copy link
Copy Markdown

T5mpler commented Apr 6, 2026

ralt my goat, definitely an interesting PR i wanna keep track of this

@Raltyro
Copy link
Copy Markdown
Author

Raltyro commented Apr 6, 2026

Unfortunately, it's going to take longer than i expected, The Mobile Team requested me at discord to seperate some of these changes to pull requests for more in-depth explanation to what it had changed

Raltyro added a commit to CodenameCrew/cne-lime that referenced this pull request Apr 7, 2026
commit 22b5eee
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 22:12:44 2026 +0700

    Temporary commit

commit c7a3ff9
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 20:41:21 2026 +0700

    Add a band-aid bad audio fix for older openfl

commit c0d7479
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 20:40:31 2026 +0700

    Add `lime_funkin`/`lime-funkin` define

commit 4b00242
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 20:28:36 2026 +0700

    Lime 8.4.0-dev compatibility

commit 2432265
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 18:42:30 2026 +0700

    Temporary Final Commit of Audio Overhaul

    Look at below for more information about this commit
    - FunkinCrew#57

commit fadeb61
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 17:07:23 2026 +0700

    Clean-up `AudioManager`, implement `resume`, `shutdown`, `suspend` for Web

commit 977ee9a
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 17:17:27 2026 +0700

    Move OpenAL Configurations to Internal instead of AudioManager

commit 70c13ec
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 16:59:41 2026 +0700

    Add `ALC`, `AL` enums and functions that will be used later

commit a75a913
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 16:23:00 2026 +0700

    Remove Unused `HTML5AudioContext`, Use `Howler.ctx`

commit 5e610df
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 16:05:48 2026 +0700

    Update howlerjs

commit a1fca52
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 15:37:38 2026 +0700

    Add missing `no_typedarray_inline` codes

commit 2d97934
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 15:32:08 2026 +0700

    Properly include `LIME_OGG` with `LIME_VORBIS`

commit f60b099
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Sun Apr 5 15:10:10 2026 +0700

    Corrected OpenAL Soft version and commit hash

commit 25cdd74
Author: Ralty <78720179+Raltyro@users.noreply.github.com>
Date:   Fri Apr 3 19:43:47 2026 +0700

    Use SDL3 as an audio backend if compiled with SDL3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants