Skip to content

Euphony; Acoustic Data Telecommunication Library For Android (Supporting Kotlin & Java)

License

Notifications You must be signed in to change notification settings

DahyeonWoo/euphony

 
 

Repository files navigation


mavenCentral Coverage Status License

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.

Prerequisite

  1. build.gradle in app module
dependencies {
    implementation 'co.euphony.lib:euphony:0.8.1.2'
}
  1. AndroidManifest.xml
<uses-permission android:name="android.permission.RECORD_AUDIO" />

For more detailed prerequisite, please refer to the link below.

Euphony is very easy to use

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.

Architecture

euphony architecture

Web version

Web version is also available now. but only transmitter version.

Sample Projects

Contributing

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.

License

  • Apache 2.0 : Euphony is licensed under the Apache 2.0 license.

About

Euphony; Acoustic Data Telecommunication Library For Android (Supporting Kotlin & Java)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 66.6%
  • Java 21.3%
  • C 6.2%
  • Kotlin 4.4%
  • CMake 1.5%