Horizon

 收藏    我在用   0 人在用

Horizon - Simple visual equaliser for Android

 GitHub     官网     下载     同步

85    1897    289    over 1 year前

Horizon - Simple visual equaliser for Android

This project aims to provide pretty cool equaliser for any Android audio project. Made in Yalantis

Read more about Horizon

<img src="blog_article_header.png" alt="example" style="width:720;height:400">

Usage

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

<a href="https://play.google.com/store/apps/details?id=com.yalantis.horizon&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-AC-global-none-all-co-pr-py-PartBadges-Oct1515-1"><img alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/images/apps/en-play-badge.png" width="185" height="60"/></a>

  1. Include the library as local library project.

    compile 'com.yalantis:eqwaves:1.0'

  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

  • 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 2016, 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.

 
No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up