<commit_before># LavaPlayer - Audio player library for Discord

LavaPlayer is an audio player library written in Java which can load audio tracks from various sources and convert them into a stream of Opus frames. It is designed for use with Discord bots, but it can be used anywhere where Opus format output is required.

#### Maven package

* Repository: jcenter
* Artifact: **com.sedmelluq:lavaplayer:1.2.51**

Using in Gradle:
```groovy
repositories {
  jcenter()
}

dependencies {
  compile 'com.sedmelluq:lavaplayer:1.2.51'
}
```

Using in Maven:
```xml
<repositories>
  <repository>
    <id>central</id>
    <name>bintray</name>
    <url>http://jcenter.bintray.com</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.sedmelluq</groupId>
    <artifactId>lavaplayer</artifactId>
    <version>1.2.51</version>
  </dependency>
</dependencies>
```


## Supported formats

The set of sources where LavaPlayer can load tracks from is easily extensible, but the ones currently included by default are:

* YouTube
* SoundCloud
* Bandcamp
* Vimeo
* Twitch streams
* Local files
* HTTP URLs

The file formats that LavaPlayer can currently handle are (relevant for file/url sources):

* MP3
* FLAC
* WAV
* Matroska/WebM (AAC, Opus or Vorbis codecs)<commit_msg>Use Bintray badge instead of having to update README every update (#71)<commit_after># LavaPlayer - Audio player library for Discord [![Bintray](https://api.bintray.com/packages/sedmelluq/com.sedmelluq/lavaplayer/images/download.svg)](https://bintray.com/sedmelluq/com.sedmelluq/lavaplayer)

LavaPlayer is an audio player library written in Java which can load audio tracks from various sources and convert them into a stream of Opus frames. It is designed for use with Discord bots, but it can be used anywhere where Opus format output is required.

#### Maven package

* Repository: jcenter
* Artifact: **com.sedmelluq:lavaplayer:x.y.z**

Using in Gradle:
```gradle
repositories {
  jcenter()
}

dependencies {
  compile 'com.sedmelluq:lavaplayer:x.y.z'
}
```

Using in Maven:
```xml
<repositories>
  <repository>
    <id>central</id>
    <name>bintray</name>
    <url>http://jcenter.bintray.com</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.sedmelluq</groupId>
    <artifactId>lavaplayer</artifactId>
    <version>x.y.z</version>
  </dependency>
</dependencies>
```


## Supported formats

The set of sources where LavaPlayer can load tracks from is easily extensible, but the ones currently included by default are:

* YouTube
* SoundCloud
* Bandcamp
* Vimeo
* Twitch streams
* Local files
* HTTP URLs

The file formats that LavaPlayer can currently handle are (relevant for file/url sources):

* MP3
* FLAC
* WAV
* Matroska/WebM (AAC, Opus or Vorbis codecs)
{'fraction_non_alphanumeric': 0.10713006091006808, 'fraction_numerical': 0.00573271228950197, 'mean_word_length': 4.474509803921569, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '32722', 'n_tokens_mistral': 961, 'n_tokens_neox': 907, 'n_words': 293}