[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Protux-devel] ugly click on wav output
From: |
Martin Herren |
Subject: |
Re: [Protux-devel] ugly click on wav output |
Date: |
Thu, 12 Feb 2004 18:16:20 +0100 |
On Sun, 8 Feb 2004 16:57:13 +0100
Martin Herren <address@hidden> wrote:
> i noticed there is again an ugly click at the begining of wav files,
> regardless if they were generated by rendering a song to wav in Protux, or if
> they were converted by praf...
> Additional problem, which could be related: when converting a wav file to wav
> or praf using praf, the output file is always 2 blocks bigger than the
> original...
> For both problems i think it should be something related to the wav
> headers... but didn't have time to investigate it more.
ok, it seems as i found the error. When reading a wav file, i used
read_header(), and then started with read_fragments(), wrongly assuming reading
will begin at the right position, in fact it begins 8 bytes too soon ("data"
keyword + audiosize (4 bytes))... this explains why the files grow in size, and
why i had this ugly click.
So before reading a file, skip_header() must be called, regardless if
read_header() had been called or not. Alternatively, rewind_audio() can be used.
So i can continue to split a few concerts to wav-tracks in order to make CDs...
and continuing working on praf !
/Martin
pgpnJddAf5JQy.pgp
Description: PGP signature
- [Protux-devel] ugly click on wav output, Martin Herren, 2004/02/08
- Re: [Protux-devel] ugly click on wav output, Martin Herren, 2004/02/08
- Re: [Protux-devel] ugly click on wav output,
Martin Herren <=
- Re: [Protux-devel] ugly click on wav output, Luciano Giordana, 2004/02/12
- MustuxAudioFileFormat Was: [Protux-devel] ugly click on wav output, Martin Herren, 2004/02/14
- Re: MustuxAudioFileFormat Was: [Protux-devel] ugly click on wav output, Martin Herren, 2004/02/23
- Re: MustuxAudioFileFormat Was: [Protux-devel] ugly click on wav output, Luciano Giordana, 2004/02/23
- Re: MustuxAudioFileFormat Was: [Protux-devel] ugly click on wav output, Luciano Giordana, 2004/02/23
- [Protux-devel] Still alive ;-), Remon Sijrier, 2004/02/25
- Re: [Protux-devel] Still alive ;-), Luciano Giordana, 2004/02/25
- Re: [Protux-devel] Still alive ;-), Remon Sijrier, 2004/02/25
- [Protux-devel] CVS compilable?, Remon Sijrier, 2004/02/27
- Re: [Protux-devel] CVS compilable?, Luciano Giordana, 2004/02/27