Giter VIP home page Giter VIP logo

binarynumtexttodtmf's Introduction

BinaryNumTextToDTMF

将用数字表示二进制的文本内容转为DTMF音频文件(.wav)

使用说明

首先确保在windows环境下安装并配置了ffmpeg的环境变量之类的
因为本质上读取文件然后生成一个给ffmpeg读取的文件
需要直接下载整个项目,因为需要里面的音频文件
不要改Btext.txt的名字
特别水但是反正能用,随便写的

用法

生成DTMF

  1. 下载整个项目
  2. 使用什么都好反正转成用数字表示二进制数据的文本文件
  3. 用记事本打开Btext.txt, 填入数字文本,用空格作为分隔符,不要有除了0, 1, 以外的任何字符
  4. 运行程序,正常的话会显示Seems nothing is bad, you can shutdown this window., 然后可以关掉了
  5. 在项目根目录打开终端,输入这个:ffmpeg -f concat -safe 0 -i concat.txt -codec copy out.wav

DTMF解析

  1. 把创建出来的out.wav放到这个网页里解析成原内容
    https://xiangyuecn.github.io/Recorder/assets/%E5%B7%A5%E5%85%B7-%E4%BB%A3%E7%A0%81%E8%BF%90%E8%A1%8C%E5%92%8C%E9%9D%99%E6%80%81%E5%88%86%E5%8F%91Runtime.html?jsname=teach.dtmf.decode_and_encode
  2. 复制内容然后粘贴到temp.txt用记事本把#替换成 ,或者随你用什么方法

binarynumtexttodtmf's People

Contributors

soul-charge avatar

Stargazers

 avatar

Watchers

 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.