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 8913707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:31:45+00:00 2026-06-15T04:31:45+00:00

Requirement Android open a .wav file in sd card, play it , add some

  • 0

Requirement

Android open a .wav file in sd card, play it , add some effect (like echo, pitch shift etc), save the file with effect. Simple 🙁

What I know

  1. I can open and play file using Soundpool or MediaPlayer.
  2. I can give some effect while playing using both. ie for Media Player
    I can set Environmental Reverb effect. Using SoundPool I can set
    playing rate, which is kind of like pitch shift. I am successful in
    implementing these right now.
  3. But either of this classes doesn’t have any method to save the
    played file. So I can only play, I cannot save the music with
    effect.

What I want to know

  1. Is there any other classes of interest, other than MediaPlayer or
    SoundPool. Never mind about saving, you just mention the class, I will do the
    research about saving file with them.
  2. Any 3rd party libraries where I can add effects and save? Happy if
    it is open source and free. But mention them even if it is
    proprietary.
  3. Any other areas where I can look into. Does OpenAL support voice
    filtering along with voice positioning? Will it work with Android?

Ready to do the dirty work. You please lend me the path..

EDIT:

Did some more searching, and come across AudioTrack. But it also won’t support saving to a file. So no luck there also..

EDIT

Ok, what if I do it myself? Get raw bytes from a wav file, and work on that. I recorded a wav file using AudioRecord, got a wav file. Is there any resource describing low level audio processing (I mean at the bytes level).

EDIT

Well bounty time is up, and I am giving bounty to the only answer that I got. After 7 days, what I understood is

  1. We can’t save what we play using MediaPlayer, AudioTrack etc.
  2. There is no audio processing libraries available to use.
  3. You can get raw wav files, and do the audio processing yourself. The
    answer gave a good wrapper class for reading/writing wav files. A
    good java code to read and change pitch of wav files is here.
  • 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-15T04:31:46+00:00Added an answer on June 15, 2026 at 4:31 am

    The WavFile class http://www.labbookpages.co.uk/audio/javaWavFiles.html claims to read and write wav files and allow per-sample manipulation through arrays of sample values. It’s certainly reasonably small, 23kbytes total source code.

    I did struggle for a while to build an android app with the Wavfile Class included. This turned out to be because both WavFile and ReadExample (from the above link) were intended as standalone java programs, so include a method main(String [] args){}. Eclipse sees this and thinks the Class is a standalone runnable program, and, when I click the run button, tries to execute just the one Class with the java in the development machine, instead of launching the whole app to my phone. When I take care to run the whole app with the little drop-down menu on the run button, I don’t have any trouble, and the WavFile Class and examples drop straight in, give zero warnings in the IDE, and work as advertised running on my phone.

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

Sidebar

Related Questions

I am having a requirement like to add a custom setting to android native
I have a application requirement in Android. In my application I want to add
I have a requirement where I need to play an audio file in receiver
I'm working with tabs in android, according to my requirement I need to open
I have a requirement function onBlur like javascript in android. When user exit from
I am new to android. I have a requirement now. I need to add
for some specific requirement I am required to change Android Default Home application with
I have a requirement to play YouTube video content from within an Android application
In my android application, I have following requirement. Activity A --> Activity B(Go to
Criteria class(http://developer.android.com/reference/android/location/Criteria.html) has power requirement criteria. But clearly not explained how exactly it works.

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.