All Projects → Jay-Goo → RecordWaveView

Jay-Goo / RecordWaveView

Licence: Apache-2.0 license
a beatiful wave animation for recording ,support android Mp3 record

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to RecordWaveView

Wave Simulator
A graphical 3D simulation of the wave and heat equations
Stars: ✭ 5 (-91.94%)
Mutual labels:  wave
Multiwaveheader
Wave,水波,Android 炫酷的多重水波纹 MultiWaveHeader
Stars: ✭ 1,643 (+2550%)
Mutual labels:  wave
dart vlc
🎞 Flutter audio / video playback, broadcast & recording library for Windows & Linux.
Stars: ✭ 439 (+608.06%)
Mutual labels:  record
Aplay
A Better(Maybe) iOS Audio Stream、Cache、Play Framework
Stars: ✭ 44 (-29.03%)
Mutual labels:  wave
React Native Waveview
WaveView for React-Native
Stars: ✭ 88 (+41.94%)
Mutual labels:  wave
Lkawavecircleprogressbar
一款带有双波浪动画的圆形进度指示器
Stars: ✭ 175 (+182.26%)
Mutual labels:  wave
Yscanimation
Stars: ✭ 626 (+909.68%)
Mutual labels:  wave
Blog
h2O's Blog
Stars: ✭ 18 (-70.97%)
Mutual labels:  record
Scituner
SciTuner is a guitar tuner written in Swift3
Stars: ✭ 118 (+90.32%)
Mutual labels:  wave
Animsidebar
A SiderBar base on Android that has a beautiful anim
Stars: ✭ 220 (+254.84%)
Mutual labels:  wave
Paper Ripple
Material Design Ripple effect in pure JS & CSS.
Stars: ✭ 55 (-11.29%)
Mutual labels:  wave
Buoyancysystem
A system for buoyancy and boat physics in Unreal Engine 4.
Stars: ✭ 87 (+40.32%)
Mutual labels:  wave
Wavefile
A Ruby gem for reading and writing sound files in Wave format (*.wav)
Stars: ✭ 193 (+211.29%)
Mutual labels:  wave
Uuwaveview
[iOS]带有波形效果的UI控件,可自定义波形线条的数量、颜色、振幅、传播速度等各种参数。
Stars: ✭ 18 (-70.97%)
Mutual labels:  wave
softest
Recording Browser Interactions And Generating Test Scripts.
Stars: ✭ 225 (+262.9%)
Mutual labels:  record
Gsyrecordwave
MP3音频录制,支持类似IOS原生的单边或者双边波形显示,低版本音频权限兼容,本地或者在线音频播放的波形显示,录制波形和播放波形会根据声音频率变色的功能,边播边缓存功能,简书入口http://www.jianshu.com/p/2448e2903b07
Stars: ✭ 810 (+1206.45%)
Mutual labels:  wave
Hexo Theme Mellow
based on material design
Stars: ✭ 154 (+148.39%)
Mutual labels:  wave
canvas-record
A one trick pony package to record and download a video from a canvas animation.
Stars: ✭ 64 (+3.23%)
Mutual labels:  record
DDSoundWave
根据语音绘制波浪动画
Stars: ✭ 16 (-74.19%)
Mutual labels:  wave
Swellrt
SwellRT main project. Server, JavaScript and Java clients
Stars: ✭ 205 (+230.65%)
Mutual labels:  wave

RecordWaveView

一款漂亮的波浪录音动画,附带封装好的MP3录音控件

喜欢请Star,谢谢!


效果图(实际效果更好)

image


Usage

项目依赖

 allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
	
	dependencies {
	        compile 'com.github.Jay-Goo:RecordWaveView:v1.0.0'
	}

RecordWaveView

波浪动画

//开始动画
mRecordWaveView.startAnim();
//结束动画
mRecordWaveView.stopAnim();

@Override
protected void onResume() {
	super.onResume();
    mRecordWaveView.onResume();
}

@Override
protected void onPause() {
    super.onPause();
    mRecordWaveView.onPause();
}

Mp3WaveRecorder

封装波浪动画的MP3Recorder

//开始动画
mMp3WaveRecorder.start();

//结束动画
mMp3WaveRecorder.stop();

//清除录音缓存,你可以在onDestroy()中做
mMp3WaveRecorder.clearCache();

//录音状态监听
mMp3WaveRecorder.setOnRecordListener(new Mp3WaveRecorder.OnRecordListener() {
            @Override
            public void onStart() {
            //开始录音
            }

            @Override
            public void onStop(File file) {
            //结束录音,返回录音文件
            }
        });
@Override
protected void onResume() {
	super.onResume();
    mMp3WaveRecorder.onResume();
}

@Override
protected void onPause() {
    super.onPause();
    mMp3WaveRecorder.onPause();
}

Attributes

attr format description
backgroundColor color View背景颜色
firstPathColor color 上曲线颜色
secondPathColor color 下曲线颜色
centerPathColor color 中间曲线颜色
moveSpeed float 曲线移动速度,数值越小,速度越快,默认500F,向右移,负数则为向左移
ballSpeed float 小球移动速度,数值越小,速度越快,默认150F
simplingSize integer 采样点数量,越大越精细,默认64
amplitude dimension 振幅,默认为宽度的1/8
showBalls boolean 是否显示小球,默认显示

更多用法

1、默认启动动画

mRecordWaveView.onResume(boolean isAutoStartAnim);

2、Mp3WaveRecorder默认封装了点击事件,如果你不想使用,可以setEnable(false)屏蔽该事件即可。

3、关于MP3Recorder,请传送至AndroidMP3Recorder了解更多

致谢

Bugly—以Tencent OS录音机波形动画为实例

DrkCore—以Tencent OS录音机波形为例

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].