This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch audio dumping
#15
(07-18-2010, 06:43 AM)gid15 Wrote: According to the WAV file specification, the "fact" chunk gives the sample length:
http://www-mmsp.ece.mcgill.ca/Documents/.../WAVE.html

length 4: Chunk ID: "fact"
length 4: Chunk size (minimum 4, it seems the PSP is using 8)
length 4: Number of Samples

This value seems to be different for files having the same length. But this chunk is not always located at the same place in the header. So the approach would be to search for the "fact" chunk and take the 32-bit "Number of Samples" following it.
Examples based on hyakki's post:
Atrac-0000C7CC-000420FF.at3 ("Number of Samples" 32-bit value at 3C)
Atrac-001DC5E4-006CD401.at3 ("Number of Samples" 32-bit value at 50)

Does this method work on CC?
nice idea.
Testing on CC:
Code:
###########################################_DUPS_#########################################
Atrac-17759x-1536617947x-1435890748.at3 ---> Atrac-17759.at3   CRC32: 683924957
Atrac-17759x1937771214x1380160688.at3 ---> Atrac-17759.at3   CRC32: 2570913708

Atrac-31634x-1584297101x541116802.at3 ---> Atrac-31634.at3   CRC32: 1543312282
Atrac-31634x-2020536832x1378449617.at3 ---> Atrac-31634.at3   CRC32: 870595897

Atrac-416427x-490584339x315634795.at3 ---> Atrac-416427.at3   CRC32: 4114682445
Atrac-416427x1428059941x1368478490.at3 ---> Atrac-416427.at3   CRC32: 2775905477

Atrac-74529x-2135713462x13224292.at3 ---> Atrac-74529.at3   CRC32: 1635851086
Atrac-74529x903750956x-2141885254.at3 ---> Atrac-74529.at3   CRC32: 1754929989
good result for ~1300 files.
Reply


Messages In This Thread
Batch audio dumping - by Agent69 - 06-17-2010, 05:54 AM
RE: Batch audio dumping - by corvenik - 06-18-2010, 11:33 AM
RE: Batch audio dumping - by Agent69 - 06-18-2010, 06:55 PM
RE: Batch audio dumping - by corvenik - 06-19-2010, 01:22 PM
RE: Batch audio dumping - by Agent69 - 06-20-2010, 03:02 AM
RE: Batch audio dumping - by corvenik - 06-20-2010, 09:22 AM
RE: Batch audio dumping - by Agent69 - 06-20-2010, 09:29 PM
RE: Batch audio dumping - by gid15 - 07-17-2010, 03:07 PM
RE: Batch audio dumping - by hyakki - 07-17-2010, 07:50 PM
RE: Batch audio dumping - by Agent69 - 07-17-2010, 07:05 PM
RE: Batch audio dumping - by gid15 - 07-17-2010, 09:12 PM
RE: Batch audio dumping - by hyakki - 07-17-2010, 10:02 PM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 05:47 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 06:43 AM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 07:11 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 07:21 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 08:20 AM
RE: Batch audio dumping - by gid15 - 07-18-2010, 10:06 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 11:45 AM
RE: Batch audio dumping - by Agent69 - 07-18-2010, 03:16 PM
RE: Batch audio dumping - by Orphis - 07-18-2010, 10:34 AM
RE: Batch audio dumping - by hyakki - 07-18-2010, 09:49 PM
RE: Batch audio dumping - by DRKSCE - 09-11-2010, 10:09 PM
RE: Batch audio dumping - by nsinger998 - 02-22-2011, 03:11 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)