Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7802517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:17:21+00:00 2026-06-02T01:17:21+00:00

I have been scouring the internet for over a week now looking for a

  • 0

I have been scouring the internet for over a week now looking for a good way to manipulate audio files in the Android SDK. My goal is to apply special effects to the audio. May someone point me to a resource that can help me with this? I had to turn to StackOverflow because it is the only reliable place I know of for answers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:17:22+00:00Added an answer on June 2, 2026 at 1:17 am

    I’m assuming you mean that you want to digitally manipulate the audio files, i.e.at the byte level via some DSP technique?

    If you want to manipulate in real-time (i.e. from the microhone) then take a look at android.media.AudioRecord.AudioRecord. For example:

    audioRecord = new AudioRecord(
        MediaRecorder.AudioSource.MIC,
        8000,
        AudioFormat.CHANNEL_IN_STEREO,
        AudioFormat.ENCODING_PCM_16BIT,
        AudioTrack.getMinBufferSize(
            8000,
            AudioFormat.CHANNEL_IN_STEREO,
            AudioFormat.ENCODING_PCM_16BIT)*20);
    
    audioRecord.startRecording();
    byte[] readBuffer = new byte[640];
    int nbytes = audioRecord.read(readBuffer.getData(),0,readBuffer.length);
    

    This will give you access to the raw audio data (in the example above Linear PCM 16 bit stereo).

    If you want to read existing stored files (e.g. from the sdcard) and manipulate the audio, then take a look at java.io.FileInputStream. Of course if the existing file is in a format other than Linear PCM (e.g. MP3) then you’ll probably want to decode it to Linear PCM before applying any DSP-type manipulation. Cick here for an example of reading a file into a byte array. Click here for a link to an example of reading in an MP3 file and obtaining decoded raw PCM data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been scouring the internet for a way to do this with no
I have been scouring the Internet looking for a Java package/class that will allow
I have been working with android for a little while now and feel pretty
I have been scouring the internet trying to figure this one out. Any ideas
I have been scouring the internet to find out how much memory a java
I've been scouring the internet for days, but have been unable to find a
Now I have been scouring the web for what seems to be a mystery
I have been scouring through the Internet trying to find a simple <li> rotator
I have been scouring the web for a code sample that shows how to
Have been looking on some tutorials for drawing canvas using SurfaceView, but the only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.