Code Monkey home page Code Monkey logo

audiotool's People

Contributors

lincollincol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

audiotool's Issues

Open source

You have open source code for two libraries 'com.github.lincollincol:AudioTool:1.2.1' and
implementation 'com.arthenica:mobile-ffmpeg-full:4.3.1.LTS' ?

How to use it in realtime audio Data?

I was working on realtime audioProcessing changing pitch, speed and adding effects. I checked various libraries like ffmpeg but all of them work on a save file, instead of realtime byteArray or ShortArray. I checked examples in readme. Can this be used directly on the ByteArray audioData?

Thank you

Change the tempo and pitch using ExoPlayer PlayBackParamters

Thank you so much for your awesome lib, I'm using ExoPlayer to change the audio PlayBackParamters :

  public void setSpeed(float speed) {
        PlaybackParameters param = new PlaybackParameters(speed, (float) getCurrentPitch());
        player.setPlaybackParameters(param);
    }


    public void setPitch(float pitch) {
        PlaybackParameters param = new PlaybackParameters((float) getCurrentTempo(), pitch);
        player.setPlaybackParameters(param);
    }

Now I'm trying to save the modified audio into the storage using your library, but I'm facing an issue the output tempo and pitch is completely different from the exoplayer :

e.g. PITCH : 0.86883157 | TEMPO : 0.8699582800000001

In exoplayer those parameters should make the audio slower, when I use your lib as follows :

                try {
                        AudioTool.getInstance(this)
                                .withAudio(copiedPath)
                                .changeAudioPitch(44100, pitch, tempo, null).saveCurrentTo(outputPath);

                    } catch (IOException e) {
                        e.printStackTrace();
                    }

The output playback audio becomes faster instead of slower, I will be very thankful if you help me out with this issue

Kindly provide access to com.arthenica:mobile-ffmpeg

Hello,

Thanks for this wonderful library which i am using in one of my apps and it works perfectly.

Currently, i would love to do some other tasks with ffmpeg and i see that your library already imports this library. com.arthenica:mobile-ffmpeg.

How do i have access to com.arthenica:mobile-ffmpeg as i ndont want to import it again to prevent my apkk size from becoming too big.

i tried this, import com.arthenica.mobileffmpeg.FFmpeg, it doesnt work

Add reverb effects

Hello, I am using your library and it is literally amazing. My workload has reduced 10x times.

When I am trying to apply reverb at any value, the output is very faint and the log is as follows:

Lavc58.65.102 libmp3lame
2021-06-08 17:35:41.128 23842-13241/com.mehoot.audiotesting I/mobile-ffmpeg: size= 41kB time=00:00:02.59 bitrate= 130.3kbits/s speed=31.9x
2021-06-08 17:35:41.128 23842-13241/com.mehoot.audiotesting I/mobile-ffmpeg: video:0kB audio:41kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
2021-06-08 17:35:41.128 23842-13241/com.mehoot.audiotesting I/mobile-ffmpeg: 0.869648%

What is the recommended way of applying reverb to using this library?

Please help!

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.