-
Notifications
You must be signed in to change notification settings - Fork 8
Streamed Music (Rewritten Internal Audio) #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WHAT IS HAPPENING IT JUST LITERALLY BROKE WHEN I MOVE IT HEREE!!! |
Known Issues:
|
I actually might have to redo the implementation of streaming because this alone is fucking my head, its an old code |
Technically its done, but just need to somehow make it to clone the decoder so the AudioAnalyzer can read from it too |
- 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.
Actually for vorbis in audioanalyzer, ill just make a detection if a current source is in the request of startPos and endPos, that way its way faster |
Reworked Internal Audio (FlxSound, NativeAudioSource, SoundChannel) to work with Streaming Vorbis Files (for now?)
Reworked AudioAnalyzer to work with all type of audios (hopefully) and work with Streamed Audio. (NOTE: Using it on Streamed Audio is pretty expensive as it constantly seeking each calls.)
Redo AudioSwitchFix to work in time instead of when switching states.
Improved the off-sync vocals detection
Implemented LoopTime, EndTime, Offset into Ini's Music Assets
For Modders that are using AudioAnalyzer if this pull request did get pushed, change any codes of audioanalyzer that only checks of a sound current time to just only use FlxSound.amplitude