Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 2.28 KB

README.md

File metadata and controls

59 lines (39 loc) · 2.28 KB

🎹 Krypton

Krypton is an audio player library primarily meant for Discord Bots. Lavaplayer was a large driving force for this project.

📦 Features

  • 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.

☕ Java Interop

Krypton will likely never be able to interop with Java due to our extensive use of suspending 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.

📦 Format Support

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.

🚀 Any examples?

You'll have to stay tuned for the open-source release ;)


viztea • Licensed under Apache 2.0