Giter Club home page Giter Club logo

euphony-listener's Introduction

euphony-listener

โ€‹version 1.0.0 ๐ŸŒ ( English, ํ•œ๊ตญ์–ด )

Introduction

'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.

Euphony Library

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

Prerequisite

build.gradle in app module

dependencies {
    implementation 'euphony.lib:euphony:0.7.1.6'
}

AndroidManifest.xml

<uses-permission android:name="android.permission.RECORD_AUDIO" />

Quick Start

1. Repository clone

$ git clone https://github.com/euphony-io/euphony-listener.git

clone

2. Open in Android Studio

Find the path of the cloned project and open it.
open
Press the 'Trust Project' button.
trust

3. JDK settings

JDK location error may occur when opening the file for the first time.
set jdk-1
Click 'Change JDK location' to specify Gradle JDK.
set jdk-2
When you reopen the project, the build starts.
build

4. Connect the device

By default, there is no device.
no device
It is automatically recognized when devices with developer mode are connected.
yes device

5. Test

Operate 'euphony-listener' app on the connected device.
run
run-build

Speaker

Speaker demo is available at here. Enter short text and press the 'broadcast' button.
speaker

Listener

When the 'LISTEN' button is pressed, recognition begins.
device

Log

logcat

Euphony Listener is very easy to use

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();

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

Euphony is licensed under the Apache 2.0 license. (https://github.com/euphony-io/euphony-listener/blob/master/LICENSE)

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.