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.
- build.gradle in app module
dependencies {
implementation 'co.euphony.lib:euphony:0.8.1.2'
}
- AndroidManifest.xml
<uses-permission android:name="android.permission.RECORD_AUDIO" />
For more detailed prerequisite, please refer to the link below.
Transmitter
EuTxManager mTxManager = new EuTxManager();
mTxManager.setCode("Hello, Euphony"); // To generate acoustic data "Hello, Euphony"
mTxManager.play(-1); // generate sound infinite.
Receiver
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();
Below links are detail guides.
Web version is also available now. but only transmitter version.
- Web version : This is written in Javascript.
- Euphony Listener : Euphony Demo to recognize sound data.
- Euphony Speaker : Euphony Demo to generate sound data.
- Sound Helper : Euphony Demo for patients and assistants in case of an emergency.
- Soundless Check-in : Euphony Demo to check in through sound wave.
- Here Is My Card : Euphony Demo for sharing business cards.
- Looking For Job : Euphony Demo to send and receive resumes.
- Listen My Order : Euphony Demo for communicate restaurant menu information.
- Wave-In : COVID-19 Check-in solution using a safe number based on MVVM model.
- Wave-In (for store) : COVID-19 Check-in solution for store using a safe number based on MVVM model.
- Account Touch : Euphony Demo for sharing account.
- Wave Show Card : Wave Show Card helps visually impaired people listen to the show card.
- Order-With : Euphony Demo for taking / making order in restaurant in distance easily.
- Waple : Euphony Demo for quick Wi-Fi password sharing.
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
.
- Apache 2.0 : Euphony is licensed under the Apache 2.0 license.