Skip to content

krypton-lib/krypton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎹 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

About

🎹 audio player library for discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published