Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Raw PCM scanning ?

Get help on any and all audio formats, or chip in and help others!
Post Reply
Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Raw PCM scanning ?

Post by Demander »

Hi everybody ;)

I was wondering if there is any method how to search raw pcm in files,I made few algos but they are not so successfull in analyzing pcm as I expected.

Is there any characteristics for raw pcm ? How raw pcm stream begins ?
when I was analyzing a raw pcm,I found out that data are pretty random,but there is few hints,in many cases pcm chunk doesnt reach signed word limit... so I was searching with this condition,its successfull in searching files more than 2 sec but maybe there is better method how to find raw pcm in files.

Any code snippet will be really helpfull,in any language ;)

Thank you for your answers :?
Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Re: Raw PCM scanning ?

Post by Demander »

Really nobody know this ?
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: Raw PCM scanning ?

Post by GameZelda »

I think that there is no safe way except formats... every combination of audio values is valid, so it's impossible to do it with a 100% precision.

Also, a lot of games don't use PCM... in X360, there's XMA, and in PS2, there's XA ADPCM/VAG.

You can also try with some format detector tool...
Demander
beginner
Posts: 31
Joined: Tue Jun 05, 2007 9:59 pm

Re: Raw PCM scanning ?

Post by Demander »

Thank you for anwer ;) anyway I'll be using my method and maybe I'll improove my algo.
Is there any way how to detect ADPCM ? I found out that jaeder naub is able to detect ADPCM...
Post Reply