Giter VIP home page Giter VIP logo

wavechannel's Introduction

                              WaveChannel(声波信道、声波通信)
项目描述:
  1.利用声波进行短距离通信,项目同时包含发送端和接收端。
  2.除FFT、RS codec和CRC codec相关接口外,为本项目独立开发。
  3.代码主要是c,代码管理用的是google的GYP,可以在linux和VS2015上运行。安卓和IOS需额外部署环境
  4.编译:代码编译除标准库外没有其他依赖,但是GYP工具需要在环境中准备好,由于代码没有依赖,也可以用别的方式编译。
  5.复杂度:接收端目前应用在ARM9 32bit单核500MHzCPU上,使用率是30%左右,内存除音频源占用的外,估计在2-4K左右。发送端不是持续运算,
所以暂时不考虑发送端的时间复杂度和空间复杂度。
  6.传输速度:166.67bps。
  7.成功率:在无噪声情况下30cm距离内成功率估计在80%。(实际与mic与speaker相对位置等都有关)。
  8.硬件要求:目前发送端支持16000以上的采样率,接收端采样率只支持16000Hz,采样精度16bit,要求speaker和mic都不能破音。
  9.传输声音频率范围:1375~7250Hz。
  (注:项目之前名称是wavetrans,从代码命名可以看出来,为了避免和另一个也叫WaveTrans的工程重名改为WaveChannel)
  
  提供一个GYP工具下载地址(不保证一直有效):https://download.csdn.net/download/yb4141/9453028
  编译方法:
  WINDOWS VS2015:
    1.安装python。
    2.准备GYP工具在任意目录下,如:D:\\GYP。
    3.git clone https://github.com/luguocfw/WaveChannel.git
      cd WaveChannel
      build_windows.bat D:\\GYP\gyp
    生成wave_trans.sln文件,双击打开编译就行。
 LINUX:
    1.安装python。
    2.准备GYP工具在任意目录下,如:/opt/GYP。
    3.git clone https://github.com/luguocfw/WaveChannel.git
      cd WaveChannel
      ./build_linux.sh /opt/GYP/gyp
      此时生成Makefile文件。
      make 
  其他平台的编译可以通过其他途径实现,目前该代码已在安卓和IOS上编译通过。
    
  

wavechannel's People

Contributors

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