Open andy840119 opened 5 years ago
Emux default is using NAudio, but osu-Framework is using ManagedBass.
Make a object like TrackBass
and inherit Track
And wrapped into DrawableTrack
Tried manty times, Bass.StreamPutData()
doesn't work(format issue)
.
Maybe use Procedure
instead ?
Work until know how ManagedBass.GetSampleData() works. Or wait until this ruleset Implemented? . Maybe need to spend some time to clone this project.
You may want to use a custom BASS stream with a custom data procedure to pull audio data from a ring buffer which is buffered directy by the IAudioChannelOutput
, as BASS PUSH
stream don't seem to accept PCM data.
Yes It seems like support exist format like .mp3 🤔🤔🤔 Have no idea now
https://github.com/Game4all/gamebosu/tree/master/osu.Game.Rulesets.Gamebosu/Audio [ToInternal]May try this way and make a simple fix?
Code is working but sound output is distorted / broken (and can't seem to recall why it happens, probably something that has to do with the sample rate).
Research how audio support in osu-framework 🤔 🤔 🤔