Skip to content

XueningXu/Horizon

 
 

Repository files navigation

Horizon - Simple visual equaliser for Android

This project aims to provide pretty cool equaliser for any Android audio project. Made in [Yalantis] (https://yalantis.com/?utm_source=github)

Check this [project on dribbble] (https://dribbble.com/shots/2452050-Record-Audio-Sample)

example

Usage

For a working implementation, please have a look at the Sample Project - sample

Get it on Google Play

  1. Include the library as local library project.

    compile 'com.yalantis:eqwaves:1.0.1'

  2. Initialize Horizon object with params regarding to your sound

    mHorizon = new Horizon(glSurfaceView, getResources().getColor(R.color.background),
                    RECORDER_SAMPLE_RATE, RECORDER_CHANNELS, RECORDER_ENCODING_BIT);
    ```
  3. To update Horizon call updateView method with chunk of sound data to proceed

    byte[] buffer = new byte[bufferSize];
    //here we put some sound data to the buffer
    mHorizon.updateView(buffer);
    ```

Compatibility

  • Library - Android ICS 4.0+
  • Sample - Android ICS 4.0+

Changelog

Version: 1.0.1

  • Version update

Version: 1.0

  • Initial Build

Let us know!

We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the library.

License

Copyright 2017, Yalantis

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.

Releases

No releases published

Packages

No packages published

Languages

  • Java 95.5%
  • GLSL 4.5%