Hi Jean-Marc Valin,<br>Thank you for your suggestion. I am shifting to using Vorbis for Audio. I was using speex because I was using speex for previous work and it was easy to continue on speex than shifting to vorbis, not only that but speex is a waveform coder and I get quite good waveform matching when I reconstruct back the waveform using Speex even for music upto 44.1KHz. <br>My motive is to get a lossless coder out of this(I am aware of FLAC). I want to compress and decompress the .wav file and then get the residual signal which I want to entropy encode using some program i have. I just want to use Vorbis(I was using speex till now) to get the smallest possible residual signal. <br>The question is this that whether Vorbis will get me the waveform matching and the residual signal small enough?<br>So please tell me how to go about it.<br>I have downloaded libvorbis-1.1.2 and trying to compile it. Please tell me how should I use it to compress and decompress files for above
use.<br><br>Thanks,<br>Regards,<br>Devilal<br><br><b><i>Jean-Marc Valin <jean-marc.valin@usherbrooke.ca></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> > I was just trying to use speex for sampling frequency >48KHz. In the<br>> original Speex-1.0.5 its restricted only upto 48KHz. I tired to modify<br>> it by changing the boundary conditions( the error conditions, i.e. if<br>> sampling freq >48KHz, it gives error) in /src/speexenc.c and then it<br>> atleast doesnt give the error, there is flow in decoding or encoding(i<br>> think).<br>> I suspect there are other constraints in the encoder and decoder to<br>> modify other than this to make it work properly.<br>> At this point, I am not getting the proper decoded(reconstructed)<br>> bitstream. <br>> Can you please suggest me the places where I should make changes to<br>> incorporate this
requirement.<br><br>OK, I'm not sure what exactly you're trying to achieve, but I can't see<br>any sane reason to use Speex at > 48 kHz sampling. I already think 44.1<br>kHz is a bad idea. If you want high-fidelity, use Vorbis, not Speex. If<br>you want decent quality speech, use Speex at 16 kHz or something like<br>that.<br><br> Jean-Marc<br><br></blockquote><br><p>
                <hr size=1>Blab-away for as little as 1¢/min. Make <a href="http://us.rd.yahoo.com/mail_us/taglines/postman2/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone Calls</a> using Yahoo! Messenger with Voice.