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

The Archive Base Latest Questions

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

Can I convert a wav file to a simple c double or int array

  • 0

Can I convert a wav file to a simple c double or int array and convert back to a new wav file? I want to use some c filter in the wav file. I red that with lame it is possible. But I don’t know how. Can someone link some documentation or code snippet, how I can use it?

wav file -> array -> some operation -> wav file

Thank you for the 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-15T04:34:38+00:00Added an answer on June 15, 2026 at 4:34 am

    This has nothing to do with Lame. Lame is a tool for encoding MP3 files.

    There are many libraries for reading and writing WAV files. You can even write your own, but that’s inconvenient because WAV files have so many different sample formats: 8-bit, 16-bit, 24-bit, floating point, ADPCM, µlaw, etc.

    You can use libsndfile to read WAV files.

    Fields in WAV files do not have fixed offsets

    The reason this is bold + large is because a lot of people think that the data in a WAV file always starts at 44 bytes. This is simply not true. A WAV file is a RIFF file, and can contain an arbitrary number of chunks of data, one or more of which contains sample data. You’d be forgiven for being unable to handle esoteric WAV files, but if you make assumptions about the locations of data in the file you can end up with garbage.

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

Sidebar

Related Questions

How can you convert a Wav file into a PNG waveform image file using
I want to convert a .wav file to .wma (or .mp3) on Windows Phone
Is there a way I can convert an mp3 file into a wav/aiff in
I can convert wav file to pcm ffmpeg -i file.wav -f s16le -acodec pcm_s16le
How can I convert a wav file to an flv , resampling to a
You can convert a negative number to positive like this: int myInt = System.Math.Abs(-5);
Seeing as you can convert any document to a byte array and save it
Simple case of trying to prove I can convert NSString to NSDate . Create
How to get the contents of the wav file into array so as to
I'm using System.Diagnostics.Process class to convert wav file to mp3 file in a separated

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.