Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 1.86 KB

README.md

File metadata and controls

71 lines (52 loc) · 1.86 KB

MusicWave

With MusicWave represent your Sound in a gradient colored Visualization

Usage

Add Permission in Manifest file.

 <uses-permission android:name="android.permission.RECORD_AUDIO"/>

xml

    <ak.sh.ay.musicwave.MusicWave
         android:id="@+id/musicWave"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         app:colorGradient="true"
         app:endColor="@color/colorEnd"
         app:startColor="@color/colorStart"
         app:waveThickness="1" />

For single color wave

         app:colorGradient="false"
         app:waveColor="@color/colorAccent"

Refer Sample App for detailed description of usage

Add it in your root build.gradle at the end of repositories:

allprojects {
 repositories {
  ...
  maven { url 'https://jitpack.io' }
 }
}

Add the dependency

dependencies {
 implementation 'com.github.LouisP79:MusicWave:Tag'
}

Snapshots of the development version are available in Sonatype's snapshots repository.

License

Licensed under the Apache License, Version 2.0, click here for the full license.

Author & support

This project was created by Akshay Sharma.

If you appreciate my work, consider buying me a cup of ☕ to keep me recharged 🤘 by PayPal

I love using my work and I'm available for contract work. Freelancing helps to maintain and keep my open source projects up to date!

forthebadge