Skip to content

Lokarzz/perfectTune

Repository files navigation

Perfect Tune Library

Android Library generate simple audio tune of different frequency with no sweat. generating audio tune is not that easy. This library will help you.

Installation

Add maven { url "https://jitpack.io" } in your root build.gradle

allprojects {
    repositories {
        jcenter()
        maven { url "https://jitpack.io" }
    }
}

Then add the library by including it in one of your dependencies

dependencies {
    implementation 'com.github.Lokarzz:perfectTune:1.0.5'
}

Usage

Instantiate the PerfectTune object

PerfectTune perfectTune = new PerfectTune();

set your desired frequency

perfectTune.setTuneFreq(freq in hz);

set the amplitude (default 10000)

perfectTune.setAmplitude(amp);

Start/Stop the tune by

//start the tune
perfectTune.playTune();
//stops the tune
perfectTune.stopTune();

Have fun in creating tunes :)

About

A library in android that will help you create tunes with no sweat

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages