Git Product home page Git Product logo

sonic's Introduction

Sonic

简介

Sonic 是一个跨平台的声波传输库(iOS & Android),技术上类似于chirp蛐蛐儿,但声波识别率上和他们还有很大的差距。

声波生成和识别的代码源自WaveTrans,linyehui 对源代码进行了精简,将声波编解码部分的代码进行了独立封装,并做了跨平台移植,从而得到了这个更简练的声波传输库:Sonic

关于声波识别率和存在的问题

目前的代码,降噪主要依赖于手机本身的物理降噪(类似双MIC降噪等),嘈杂环境下的声波识别率比较差; 如果你需要产品化这项技术,那么这份代码只能带你入门。

开发环境

OS X 10.9.5
Xcode 6.0.1 (准备开源的时候才做了Xcode6兼容,模拟器下iPhone 6还有问题)
adt-bundle-mac-x86_64-20131030
android-ndk-r9d
2016/01/07 更新

1、修复了iOS版本在Xcode 7.2下的编译问题,主要是64位编译器和32位编译器的兼容性问题,iOS 9.2 下可以运行了
2、生成语音没有问题了,模拟器和真机都可以正常运行
3、声音识别还有问题,目前还没找到原因,估计也和64位编译相关,有时间再继续排查下代码

目录说明

|---sonic
|   |--android           # Android Demo
|   |--ios               # iOS Demo
|   |--sdk               # 跨平台的C++代码

温馨提示

iOS 和 Android Demo非常简陋,可以在两部设备上相互发送声波并识别,但交互上还有很多已知和未知的Bug :(

希望这份代码能给你带来些许帮助。

Any questions, please feel free to send me an email:

echo qwertyuwitotepasdwqifgs | tr qeryuoasdfgipwt lnyhudgmaco.@ie

sonic's People

Contributors

linyehui avatar

Watchers

Seaman Hou avatar James Cloos avatar  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.