akshay2211/MusicWave


With MusicWave represent your Sound in a gradient colored Visualization

Download


Step 1. Add the JitPack repository to your build file

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

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.akshay2211:MusicWave:'
	}
	dependencies {
		implementation("com.github.akshay2211:MusicWave:")
	}
	<dependency>
	    <groupId>com.github.akshay2211</groupId>
	    <artifactId>MusicWave</artifactId>
	    <version></version>
	</dependency>

                            
    libraryDependencies += "com.github.akshay2211" % "MusicWave" % ""
        
        

                            
    :dependencies [[com.github.akshay2211/MusicWave ""]]
        
        

Readme


Codacy Badge Android Arsenal API

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

Download

Download or grab via Gradle:

compile 'com.fxn769:musicwave:1.0'

or Maven:

<dependency>
  <groupId>com.fxn769</groupId>
  <artifactId>musicwave</artifactId>
  <version>1.0</version>
  <type>pom</type>
</dependency>

or ivy:

<dependency org='com.fxn769' name='musicwave' rev='1.0'>
  <artifact name='musicwave' ext='pom' ></artifact>
</dependency>

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 :coffee: to keep me recharged :metal: 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