Krypton is an audio player library primarily meant for Discord Bots. Lavaplayer was a large driving force for this project.
- Audio Stuff
- Filters
- WAV, MP3, FLAC, MKV, and MP4 formats
- AAC, MP3, FLAC, and OPUS codecs
- Precise track seeking
- Krypton-specific stuff
- Asynchronous & Idiomatic Kotlin API
- Kotlin Multiplatform, see #1
- and more with time.
Krypton will likely never be able to interop with Java due to our extensive use of suspend
ing functions.
I am not against a thin future-based wrapper like Lavalink.kt's compatiblity layer but this will not be a priority. If you need java-interop then just use lavaplayer.
Lavaplayer supports quite a few container formats but it only attempts to implement the bare minimum to enable playback.
This will often lead to issues where an exotic configuration format is likely to raise an error, though it is usually a simple fix after studying the spec and running the file through ffprobe a couple times.
Krypton will support the same formats as Lavaplayer (hopefully more with time) but will focus on implementing the majority, if not the entire spec, as a standalone library apart of saisei.
You'll have to stay tuned for the open-source release ;)
viztea β’ Licensed under Apache 2.0