GithubHelp home page GithubHelp logo

tkaudio's Introduction

TKAudio

介绍

功能:

  1. 录制wav格式语音,并将其转换为amr。amr语音体积更小,便于传输,并且iOS和Android都能很好的支持播放;

  2. 长按录制按钮,有个简单的圆形动效。其中,圆形的大小与说话音量大小有关,声音越大,圆的半径越大;

  3. 可以自定义录制时长的大小;

效果如下:

使用

  1. AudioTool拖入工程中
  2. 修改Xcode配置:Build Settings > Enable Bitcode = NO
  3. Build Phases > Link Binary With Libraries > 导入AVFoundation.framework

tkaudio's People

Contributors

xiu619544553 avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

tkaudio's Issues

播放格式问题

看代码播放使用的是wav文件,我替换成amr文件,无法播放,iOS是不支持amr文件的播放吗?

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.