All Projects → bullheadandplato → Androidequalizer

bullheadandplato / Androidequalizer

Licence: apache-2.0
Android Equalizer View that can also manage the audio track frequencies

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Androidequalizer

Sbplayerclient
支持全格式的mac版视频播放器
Stars: ✭ 110 (-10.57%)
Mutual labels:  music
Sonos Web
Web interface for Sonos audio systems
Stars: ✭ 114 (-7.32%)
Mutual labels:  music
Wavelink
A powerful Lavalink library for Discord.py.
Stars: ✭ 117 (-4.88%)
Mutual labels:  music
Lyrics.ovh
Source of lyrics.ovh and API to search for lyrics of a song
Stars: ✭ 112 (-8.94%)
Mutual labels:  music
Granular
HTML5 Granular Synthesiser
Stars: ✭ 113 (-8.13%)
Mutual labels:  music
Ytmdl
A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
Stars: ✭ 2,070 (+1582.93%)
Mutual labels:  music
Sebastian
symbolic music analysis and composition library in Python
Stars: ✭ 109 (-11.38%)
Mutual labels:  music
Generative.fm
A platform for playing generative music in the browser.
Stars: ✭ 1,534 (+1147.15%)
Mutual labels:  music
Mmusiccast
Chromecast emulator that works on any platform. Stream videos from youtube to raspberry pi or any computer with the chromecast protocol.
Stars: ✭ 113 (-8.13%)
Mutual labels:  music
Beatplayer
Music Player
Stars: ✭ 117 (-4.88%)
Mutual labels:  music
Maplebgm Db
Definitive MapleStory music database
Stars: ✭ 112 (-8.94%)
Mutual labels:  music
Zenmusic
Slack / Sonos / Spotify / Node.js - Control Sonos through #Slack
Stars: ✭ 113 (-8.13%)
Mutual labels:  music
Edsp
A cross-platform DSP library written in C++ 11/14. This library harnesses the power of C++ templates to implement a complete set of DSP algorithms.
Stars: ✭ 116 (-5.69%)
Mutual labels:  music
Simple Sdl2 Audio
A simple SDL2 audio library without SDL_Mixer for playing music and multiple sounds natively in SDL2
Stars: ✭ 111 (-9.76%)
Mutual labels:  music
Web Drum Sequencer
A drum machine and sequencer built with the Web Audio API, React, and Redux.
Stars: ✭ 117 (-4.88%)
Mutual labels:  music
Spotspot
A Spotify mini-player for macOS
Stars: ✭ 110 (-10.57%)
Mutual labels:  music
Soundtrack
Self-hosted collaborative music playing application.
Stars: ✭ 114 (-7.32%)
Mutual labels:  music
Qqmusicspider
基于Scrapy的QQ音乐爬虫(QQ Music Spider),爬取歌曲信息、歌词、精彩评论等,并且分享了QQ音乐中排名前6400名的内地和港台歌手的49万+的音乐语料
Stars: ✭ 120 (-2.44%)
Mutual labels:  music
1keys
A 1 Kilobyte JavaScript Piano
Stars: ✭ 118 (-4.07%)
Mutual labels:  music
Beets
music library manager and MusicBrainz tagger
Stars: ✭ 10,522 (+8454.47%)
Mutual labels:  music

AndroidEqualizer

Android Equalizer View that can also manage the audio track frequencies

Add Equalizer in your Android app

How To Use

STEP 1

Add it to your build.gradle with:

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

and:

dependencies {
      implementation 'com.github.bullheadandplato:AndroidEqualizer:2.2'
}

if not using AndroidX. it will not have DialogEqualizerFragment or any other improvements

dependencies {
     implementation 'com.github.bullheadandplato:AndroidEqualizer:1.0'
}

STEP 2

For Equalizer in dialog

 DialogEqualizerFragment fragment = DialogEqualizerFragment.newBuilder()
                    .setAudioSessionId(sessionId)
                    .themeColor(ContextCompat.getColor(this, R.color.primaryColor))
                    .textColor(ContextCompat.getColor(this, R.color.textColor))
                    .accentAlpha(ContextCompat.getColor(this, R.color.playingCardColor))
                    .darkColor(ContextCompat.getColor(this, R.color.primaryDarkColor))
                    .setAccentColor(ContextCompat.getColor(this, R.color.secondaryColor))
                    .build();
            fragment.show(getSupportFragmentManager(), "eq");

For Equalizer in your view

Create a frame in your layout file.

<FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        android:id="@+id/eqFrame"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
        

In your Activity class

 int sessionId = mediaPlayer.getAudioSessionId();
        mediaPlayer.setLooping(true);
        EqualizerFragment equalizerFragment = EqualizerFragment.newBuilder()
                .setAccentColor(Color.parseColor("#4caf50"))
                .setAudioSessionId(sessionId)
                .build();
        getSupportFragmentManager().beginTransaction()
                .replace(R.id.eqFrame, equalizerFragment)
                .commit();

This work is mostly borrowed from https://github.com/harjot-oberai/MusicDNA

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].