Link to home
Start Free TrialLog in
Avatar of DylanCranberry
DylanCranberry

asked on

How is raw sound data stored?

I am using SPBRecord to create my own voice-activated recorder.  In order to do this i need to find some way to access the meter level (ie the volume level of the data - an integer from 0 to 255) from the raw data recorded into the buffer ( i think is sample points in the form integer -128 to 127).  How exactly is the sample data stored and how can i retrieve the volume level from this data?
Avatar of DylanCranberry
DylanCranberry

ASKER

Adjusted points to 150
I guess what i really want to know is how do i read and manipulate individual samples.  Is there some code somewhere i can use to do this?
Adjusted points to 175
audio is generally stored as byte arrays since these are the easiest to compress, manipulate, and store.  The exact encoding and decoding between recording and listening I don't know, the applications decipher the byte arrays.  You might be able to access it using Resedit or something liek that, but watch out cause you could screw something up royally with resedit.  good luck, hope this helps
ASKER CERTIFIED SOLUTION
Avatar of matthias072397
matthias072397

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial