Horizon

Additional

Language
Java
Version
N/A
Created
Mar 22, 2016
Updated
Oct 9, 2017
Owner
Yalantis
Contributors
Cool04ek
warko-san
severianremi
3
Activity
Badge
Generate
Download
Source code
APK file

Promotion

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)

[Read more about Horizon] ( https://yalantis.com/blog/horizon-open-source-library-for-sound-visualization/)

Usage

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

  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 github@yalantis.com 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.