Introduction
[Sonic] (https://github.com/linyehui/sonic) is a cross-platform acoustic transport library (IOS & Android), technically similar to [Chirp] (http://chirp.io/) and [er] (http://www.xququ.com/index_cn.html ), however, there is still a big gap between the sonic recognition rate and the recognition rate.
The Code of sonic generation and recognition comes from [wavetrans] (https://github.com/CloudSide/WaveTrans). linyehui simplifies the source code, encapsulates the code of sonic codec separately, and implements cross-platform transplantation, thus we get this more concise sound wave transmission Library: [sonic] (https://github.com/linyehui/sonic ).
Acoustic Wave recognition rate and Problems
The current Code mainly relies on the physical noise reduction of mobile phones (similar to dual-mic noise reduction). The acoustic recognition rate in noisy environments is relatively poor;
If you need to productize this technology, this code can only take you to get started.
Development Environment
OS X 10.9.5
Xcode 6.0.1)
Adt-bundle-mac-x86_64-20131030
Android-ndk-r9d
Directory description
| --- Sonic
| -- Android # Android demo
| -- IOS # IOS demo
| -- SDK # cross-platform C ++ code
Tip
IOS and Android demos are very simple. They can send sound waves and recognize each other on the two devices, but there are still many known and unknown bugs in interaction :(
I hope this code will help you a little.
Source: open-source cross-platform acoustic data transmission Library: sonic
Open-source cross-platform acoustic data transmission Library: sonic