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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:38:51+00:00 2026-05-26T15:38:51+00:00

I have an API that gives me PCM wave data: http://msdn.microsoft.com/en-us/library/ff966424.aspx The byte[] buffer

  • 0

I have an API that gives me PCM wave data:

http://msdn.microsoft.com/en-us/library/ff966424.aspx

The byte[] buffer format used as a parameter for the SoundEffect
constructor, Microphone.GetData method, and
DynamicSoundEffectInstance.SubmitBuffer method is PCM wave data.
Additionally, the PCM format is interleaved and in little-endian.

The audio format has the following constraints:

  • The audio channels can be mono (1) or stereo (2).
  • The PCM wave file
    must have 16-bits per sample.
  • The sample rate must be between 8,000 Hz
    and 48,000 Hz.
  • The interleaving for stereo data is left channel to
    right channel.

I would like to do a visualisation based on this data.

I want to split the sound pitch levels into 3rds, and get the volume/level of each.

So, if i speak in a low voice, i’ll get a high value, then 2 low values, if i speak normally i’d get a low value, a high value and a low value and if i speak in a high voice i get 2 low values, and a high value.

How can i achieve this? I’ve never tried anything dealing with sound, so i’m at level 1, and don’t know where to start.

  • 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-05-26T15:38:52+00:00Added an answer on May 26, 2026 at 3:38 pm

    A full answer would probably be too complex to give here but you need to take the time-domain, PCM sample data and derive the frequency-domain representation from it so that you can then assess the level of the signal in the different frequency ranges. The technique for doing this is known as the Fast Fourier Transfer (FFT). Implementing this yourself requires a significant amount of knowledge of DSP, so perhaps your best approach would be to source a library that offers an FFT implementation out-of-the-box that you can use.

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

Sidebar

Related Questions

I have an API (from third party java library) that looks like: public List<?>
I have 2 examples of a function that retrieves json-data and gives an alert.
i have a working example which uses this url http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=jQuery16201154390876987067_1314382298849&tags=cat&tagmode=any&format=json&_=1314382298856 which gives me this
I have an API that is dependent on certain state information between requests. As
I have an API that can be implemented by various vendors. I can send
So Google Analytics does not have an API that we can use to get
So, I have an API that I need to implement in to an existing
I'm developing a REST api. To simplify my question, I have an API that
I have a web API that returns python dictionaries or lists as a response
I have to work with an API that uses a lot of by-reference parameters.

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.