2 Oct 2004 23:37
Re: Prelease of SoX 12.17.6
Chris Bagwell <chris <at> cnpbagwell.com>
2004-10-02 21:37:40 GMT
2004-10-02 21:37:40 GMT
I think I can reproduce this as well... Just want to make sure we are seeing the same thing. By "garbled" does it kinda sound like pieces of the audio are being dropped? If I run with "resample" effect, the audio file sounds like its being sped up... With "polyphase", it sounds like its both sped up and dropping portions of audio. Hmmm, off to debug this. Chris On Sat, Oct 02, 2004 at 04:40:59PM -0400, Levi Bard wrote: > Found an issue with the polyphase effect. I'm using it to upsample > raw audio from 44.1 to 48 KHz, and the output is now...garbled. > Unable to reproduce with 12.17.5. > > Using: > sox -t raw -r 44100 -c 2 -s -w input.fifo -t wav -r 48000 -c 2 -s -w > output.wav polyphase > > Running debian/sid on amd64. I can post small samples if you like. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________(Continue reading)
Anyways, I have modified my local copy to skip past an ID3v2 of upto
INPUT_BUFFER_SIZE (100k).
Still could user someone to fix that code. Also, is it just me or
is the current code throwing away a possibly good frame of audio
data on files that don't have an ID3v2 at the beginning of the
audio file?
Chris
On Tue, Oct 05, 2004 at 10:34:59PM -1000, Jimen Ching wrote:
> Chris,
>
> I have an mp3 that has a large ID3v2 and scanning one ST_BUFSIZ didn't
> find a valid frame. The patch below will scan two ST_BUFSIZ length.
>
> Perhaps a better approach would be to exclude these tag sizes from the
> comparison?
>
> --jc
>
> Index: mp3.c
> ===================================================================
> RCS file: /cvsroot/sox/sox/src/mp3.c,v
> retrieving revision 1.7
> diff -u -r1.7 mp3.c
> --- mp3.c 30 Sep 2004 02:26:14 -0000 1.7
RSS Feed