All Projects → shaoshuai904 → Recordwav

shaoshuai904 / Recordwav

Android手机录制wav/pcm文件,支持暂停,再录制。支持跳过静音区模式。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Recordwav

Miniaudio
Single file audio playback and capture library written in C.
Stars: ✭ 1,889 (+1931.18%)
Mutual labels:  recording, wav
Recorder
html5 js 录音 mp3 wav ogg webm amr 格式,支持pc和Android、ios部分浏览器、和Hybrid App(提供Android IOS App源码),微信也是支持的,提供H5版语音通话聊天示例 和DTMF编解码
Stars: ✭ 2,891 (+3008.6%)
Mutual labels:  recording, wav
uos
United Open-libraries of Sound. United procedures for open-source audio libraries. For FPC/Lazarus/fpGUI/MSEgui.
Stars: ✭ 112 (+20.43%)
Mutual labels:  wav, recording
Resume
Markdown -> PDF/HTML resumé generator
Stars: ✭ 1,105 (+1088.17%)
Mutual labels:  resume
Cv
A resume template written in Markdown,Yaml JSON auto generates github-pages website & PDF by Jekyll. 在线简历生成模板(超高兼容可导PDF)
Stars: ✭ 61 (-34.41%)
Mutual labels:  resume
Metalsmith Resume
A resume generator, built with @Metalsmith
Stars: ✭ 80 (-13.98%)
Mutual labels:  resume
Asciinema
Terminal session recorder 📹
Stars: ✭ 9,880 (+10523.66%)
Mutual labels:  recording
Chime
🎵 Python sound notifications made easy
Stars: ✭ 56 (-39.78%)
Mutual labels:  wav
Resume Nextjs
Next.js 로 누구나 쉽게 만드는 Static HTML 이력서
Stars: ✭ 84 (-9.68%)
Mutual labels:  resume
Resume Template
📄💼🎩 A simple Jekyll + GitHub Pages powered resume template.
Stars: ✭ 1,214 (+1205.38%)
Mutual labels:  resume
Odas web
A desktop visualization GUI for the ODAS library
Stars: ✭ 78 (-16.13%)
Mutual labels:  wav
Resume Builder
Resume Builder is a free open-source project that allows anyone to easily maintain and build any kind of resume.
Stars: ✭ 62 (-33.33%)
Mutual labels:  resume
Code Printer
print and show the animation of your code | 打印并展示你的代码特效
Stars: ✭ 82 (-11.83%)
Mutual labels:  resume
Php Interview
This is the information I prepared for the PHP interview.The notes include PHP, MySql, Linux, etc.
Stars: ✭ 1,110 (+1093.55%)
Mutual labels:  resume
Audio
Data manipulation and transformation for audio signal processing, powered by PyTorch
Stars: ✭ 1,262 (+1256.99%)
Mutual labels:  wav
Aoba
Create a lovely resume just with a config file.
Stars: ✭ 59 (-36.56%)
Mutual labels:  resume
Tex Resume
Not actively looking for work, but always interested in hearing about fun opportunities :-)
Stars: ✭ 83 (-10.75%)
Mutual labels:  resume
Resume
Create an online resume that can be accessed by a `curl` command.
Stars: ✭ 74 (-20.43%)
Mutual labels:  resume
Resume
A minimal pelican theme to host your resume
Stars: ✭ 74 (-20.43%)
Mutual labels:  resume
Deerlet
[Deprecated] A markdown online-editable-resume with pdf generator
Stars: ✭ 79 (-15.05%)
Mutual labels:  resume

RecordWav

API Version demo <-- 点击下载demo

录制播放解析 于一体的wav文件的工具类。

功能包括:

  • 录制
    • 录制wav/pcm文件。(开始、暂停、继续、完成)
    • 两种模式:普通模式 (全录制),跳过静默区域模式 (只录有声部分)
  • 播放wav文件。(自定义播放、系统播放)
  • 解析本地wav文件的信息

show_recorder

快速使用

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

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

Step 2. Add the dependency

    dependencies {
        implementation 'com.github.shaoshuai904:RecordWav:1.0.3'
    }

示例代码

构造参数:[ 文件保存路径 + 参数配置 + 各类监听回调(音频数据块拉取监听/沉默监听) ]
方法:startRecording  pauseRecording  resumeRecording  stopRecording

获取普通录音机(java)

    	Recorder recorder;
        recorder = MsRecorder.wav(
                new File(voicePath),
                new AudioRecordConfig(),
                new PullTransport.Default()
                        .setOnAudioChunkPulledListener(new PullTransport.OnAudioChunkPulledListener() {
                            @Override
                            public void onAudioChunkPulled(AudioChunk audioChunk) {
                                Log.e("数据监听", "amplitude: " + audioChunk.maxAmplitude());
                            }
                        })

        );

        recorder.startRecording(); // 开始
        recorder.pauseRecording(); // 暂停
        recorder.resumeRecording(); // 重新开始
        recorder.stopRecording(); // 结束

获取降噪录音机,跳过沉默区,只录"有声音"的部分(kotlin)

        MsRecorder.wav(
                File(getVoicePath()),
                AudioRecordConfig(),
                // AudioRecordConfig(MediaRecorder.AudioSource.MIC, AudioFormat.ENCODING_PCM_16BIT, AudioFormat.CHANNEL_IN_MONO, 44100),
                PullTransport.Noise()
                        // 数据监听
                        .setOnAudioChunkPulledListener { audioChunk ->
                            Log.e("数据监听", "最大值 : ${audioChunk.maxAmplitude()} ")
                        }
                        // 沉默监听
                        .setOnSilenceListener { silenceTime, discardTime ->
                            Log.e("降噪模式", "沉默时间:$silenceTime ,丢弃时间:$discardTime")
                        })
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].