Skip to content

Commit

Permalink
update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
shaoshuai904 committed Jun 21, 2022
1 parent b85a077 commit 34394c3
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
[![API](https://img.shields.io/badge/API-14%2B-green.svg?style=flat)](https://android-arsenal.com/api?level=14)
[![Version](https://jitpack.io/v/shaoshuai904/RecordWav.svg)](https://jitpack.io/#shaoshuai904/RecordWav)

[下载demo.apk](/screens/app_v1.1.0_15.apk?raw=true)
[download demo.apk](/screens/app_v1.1.0_15.apk?raw=true)

`录制``播放``解析` 于一体的wav文件的工具类。
A tool for `recording`, `playing` and `parsing` WAV files.

功能包括
Features include

- 录制
- 录制`wav`/`pcm`文件。(开始、暂停、继续、完成)
- 两种模式:`普通模式` (全录制),`跳过静默区域模式` (只录有声部分)
- 播放`wav`文件。(自定义播放、系统播放)
- 解析本地`wav`文件的信息
- Recording
- Record `wav`/`pcm` files. (start, pause, continue, finish)
- Two modes: `normal mode` (full recording) and `skip silent area mode` (recording only the audio part)
- Play the `wav` file. (custom playback, system playback)
- Parsing local `wav` file information

![show_recorder](/screens/show_02.png)

### 快速使用
### Quick use

**Step 1.** Add it in your root build.gradle at the end of repositories:

Expand All @@ -41,12 +41,12 @@
}
```

### 示例代码
### Sample code

构造参数:[ 文件保存路径 + 参数配置 + 各类监听回调(音频数据块拉取监听/沉默监听) ]
方法:startRecording pauseRecording resumeRecording stopRecording
Constructor: [file saving path + parameter configuration + various listening callbacks (audio data block pull listening / silent listening)]
Method:startRecording pauseRecording resumeRecording stopRecording

获取普通录音机(java)
Get ordinary recorder(java)

```java
Recorder recorder;
Expand Down Expand Up @@ -74,7 +74,7 @@
recorder.stopRecording(); // stop
```

获取降噪录音机,跳过沉默区,只录"有声音"的部分(kotlin)
Obtain the noise reduction recorder, skip the silence area, and record only the "sound" part(kotlin)

```java
MsRecorder.wav(
Expand All @@ -83,7 +83,7 @@
PullTransport.Noise().setOnAudioChunkPulledListener { audioChunk ->
Log.d("maple_log", "maxValue : ${audioChunk.maxAmplitude()} ")
}.setOnSilenceListener { silenceTime, discardTime ->
Log.e("降噪模式", "沉默时间:$silenceTime ,丢弃时间:$discardTime")
Log.e("NoiseMode", "Silence time:$silenceTime ,Discard time:$discardTime")
}
)
```
Expand Down
Binary file added app/src/main/res/drawable-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ android.injected.testOnly=false
android.enableJetifier=true
android.useAndroidX=true
# version config
VERSION_CODE=15
VERSION_NAME=1.1.0
VERSION_CODE=16
VERSION_NAME=1.2.0

0 comments on commit 34394c3

Please sign in to comment.