version 1.0.0 🌏 ( English, 한국어 )
'Euphony-Listener' receives and recognizes data through sound waves from 'Speaker'.
The frequency occurs when the speaker sends data. The Listen button is pressed, 'Listener' recognizes the data and you can check the results.
It only works on android.
Acoustic Data Telecommunication Library. This is for Android version.
Euphony provides a handiness library designed to communicate with other devices(android and web) using mic and recorder.
Official Facebook Page : https://www.facebook.com/euphonyproject
Official Library Site : https://dev.jbear.co/euphony
build.gradle in app module
dependencies {
implementation 'euphony.lib:euphony:0.7.1.6'
}
AndroidManifest.xml
<uses-permission android:name="android.permission.RECORD_AUDIO" />
$ git clone https://github.com/euphony-io/euphony-listener.git
Find the path of the cloned project and open it.
Press the 'Trust Project' button.
JDK location error may occur when opening the file for the first time.
Click 'Change JDK location' to specify Gradle JDK.
When you reopen the project, the build starts.
By default, there is no device.
It is automatically recognized when devices with developer mode are connected.
Operate 'euphony-listener' app on the connected device.
Speaker demo is available at here. Enter short text and press the 'broadcast' button.
When the 'LISTEN' button is pressed, recognition begins.
EuRxManager mRxManager = new EuRxManager();
mRxManager.setAcousticSensor(new AcousticSensor() {
@Override
public void notify(String letters) {
//when data is received
}
});
mRxManager.listen(); //Listening Start
// if you want to finish listening, call the finish();
// mRxManager.finish();
Changes and improvements are more than welcome! Feel Free to fork and open a pull request. Please make your changes in a specific branch and request to pull into master.
Euphony is licensed under the Apache 2.0 license. (https://github.com/euphony-io/euphony-listener/blob/master/LICENSE)