A simple Music Visualizer/Equalizer View for Android
CuteVisualizer is an Android Audio Visualizer Libaray
It's open-source and free to use. Give it a try.!
- It's an auto visualizer
- It doesn't have anything to do with the music it's playing.
- CuteVisualizer First Release
More changes in Release
Tab.
- Minimum SDK 21
- Target SDK 31
- AndroidX Library
- Gradle 7.0.4
- Java 11
Click to View High Quality
Try Demo App to see how it actually works
Add this in your root build.gradle
file (not your module build.gradle
file):
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Add this in your root settings.gradle
file
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
repositories {
google()
mavenCentral()
maven { url "https://jitpack.io" }
}
}
Add this to your module's build.gradle
file (make sure the version matches the JitPack badge above):
dependencies {
...
implementation 'com.github.ahmmedrejowan:CuteVisualizer:1.0'
}
<com.rejowan.cutevisualizer.CuteVisualizer
android:id="@+id/equalizerView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
custom:animDuration="3000"
custom:foregroundColor="@color/colorPrimary" />
Duration of Animation for Each Cycle
custom:animDuration="3000"
Change Colors for Bar (Only works with the colors from xml/colors.xml files color)
custom:foregroundColor="@color/colorPrimary"
CuteVisualizer cuteVisualizer = findViewById(R.id.equalizerView);
cuteVisualizer.animateBars();
cuteVisualizer.stopBars();
cuteVisualizer.isAnimating();
- You can call
stopBars();
after initialization to stop them showing full size.
Please fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, bug fixes, are welcomed and appreciated but will be thoroughly reviewed .
Let me know which features you want in the future in Request Feature
tab.
If this project helps you a little bit, then give a to Star ⭐ the Repo.
Created with Love by K M Rejowan Ahmmed (@ahmmedrejowan)
Reach me @
Copyright 2021 K M Rejowan Ahmmed (ahmmedrejowan)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.