简介:A Music Player for android that renders beautiful DNA(Visualization) of the currently playing music.
更多:作者   提 Bug   

Get it on Google Play
A Music Player for android that makes use of the Visualzer Class for rendering a beautiful DNA (Visualization) of the currently playing music.


The Music Player draws inspiration from paullewis's music-dna. The Player uses the FFT Data supplied by the Visualizer class of Android , calculates the Amplitude at that particular moment and plots the DNA.

The Player

MusicDNA combines the usefullness of a traditional Music Player app with the beautiful visualizations. The Player allows users to play both local music as well as Stream Music directly from SoundCloud. The Player also packs a Powerful Equalizer with BassBoost and Reverb effects

Build Instructions

After cloning the repo, create a file under \app\src\main\java\com\sdsmdg\harjot\MusicDNA Put the following code in it

package com.sdsmdg.harjot.MusicDNA;

public class Config {
    public static final String CLIENT_ID = "YOUR_SOUNDCLOUD_CLIENT_ID";
    public static final String API_URL = "";

Replace YOUR_SOUNDCLOUD_CLIENT_ID with a client id received from SoundCloud.
You may grab one here :
After that just import the project into Android Studio.

The Player - In Action

Video Demo :
The video's length was cut short due to ADB screenrecord's limit of 3:00 min.
Credits for combining audio and video Piyush Mehrotra


MusicDNA is under MIT 2016 License.

Android 开发经验分享
Android 开发经验分享