Giter Club home page Giter Club logo

wanghaiting7 / gsyrecordwave Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wht007/gsyrecordwave

0.0 0.0 0.0 3.04 MB

MP3音频录制,支持类似IOS原生的单边或者双边波形显示,低版本音频权限兼容,本地或者在线音频播放的波形显示,录制波形和播放波形会根据声音频率变色的功能,边播边缓存功能,简书入口http://www.jianshu.com/p/2448e2903b07

License: Apache License 2.0

Java 100.00%

gsyrecordwave's Introduction

MP3音频录制,支持类似IOS原生的单边或者双边波形显示,低版本音频权限兼容,本地或者在线音频播放。可以单纯使用录制功能,也可以单纯使用图形,播放也支持波形显示,录制波形和播放波形会根据声音频率变色的功能,边播边缓存功能。


  • 录制音频为MP3保存本地。
  • 音频权限提示。
  • 显示音频的波形,支持单边与双边,自动根据声音大小和控件高度调整波形高度。
  • 支持获取声音大小。
  • 本地/网络音频播放,音频时长与播放时长支持。
  • 播放MP3显示波形数据。
  • 根据录制和播放的波形根据特征变颜色。
  • 自定义线大小、方向和绘制偏移。

Build Status

在你的项目project下的build.gradle添加

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

在module下的build.gradle添加依赖

dependencies {
     implementation 'com.github.CarGuo:GSYRecordWave:2.0.2'
}

 

公众号

效果显示

动态图效果

 

QQ群,有兴趣的可以进来,群里视频项目的人居多,平时多吹水吐槽:174815284 。


2.0.0 (2019-05-26)

支持androidx

1.1.8 (2018-03-01)

  • 修复在某些机器上可能出现的buf销毁问题

1.1.7 (2018-02-27)

  • update seekOffset to long

1.1.6 (2018-01-19)

  • 优化频繁操作的闪动

1.1.5 (2018-01-17)

  • 低版本支持

1.1.4 (2017-09-19)

  • 增加速度、方向、开始偏移、自定义paint接口

使用方法请参考demo

gsyrecordwave's People

Contributors

carguo avatar carguosmall avatar bolexliu avatar southsala avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.