By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,433 Members | 776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,433 IT Pros & Developers. It's quick & easy.

Read audio sample data

P: 78
Hi guys.

I need your help to solve this problem. You see, i need to get the samples from an audio stream, to do FFT analysis. I need to read those amplitudes and pass them to an analyzer so i can check which frequencies are present in the sound.

I'm having trouble accessing the sample values. I tried to create a small program which records sound and prints the values to the screen, but it keeps printing 130 and 131. I print out the bytes which i get from, where each byte is supposed to represent a sample, since i record 8 bit 8000 samples per sec of audio.

So is there any correct way to do this?

Nov 29 '07 #1
Share this Question
Share on Google+
1 Reply

P: 78
I think i've solved the problem.

I'll keep in touch if i run into more problems. :)
Nov 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.