MS-ADPCM specify Block align
Will <[email protected]>
| Newsgroups | gmane.comp.audio.sox |
|---|---|
| Message-ID | <CAEv=b_Px3fUEggf+xB2v-MKRboQo9_0BohSeBm+YhCV0AY98-w@mail.gmail.com> |
I'm using sox to convert audio files to a specific wav format required by a game, but am not finding success. The only difference I can see is the block size - the original game audio uses blocks of 256 bytes, whilst sox produces files using 2048 bytes. My uneducated guess here is that the game is using Microsoft's library for decoding: https://msdn.microsoft.com/en-us/library/windows/desktop/ee415711%28v=vs.85%29.aspx This specifies a maximum allowed SamplesPerBlock of 512 - with a block size of 2048 bytes, the file has 2036 samples per block. Is there a way to specify block size when converting to ADPCM? I tried several -C numbers but it doesn't seem to be used for ADPCM. ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford _______________________________________________ Sox-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sox-users