Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me with speech compression using CELP code in Matlab

Status
Not open for further replies.

murad

Newbie level 4
Joined
Jun 8, 2004
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
49
matlab error using levinson too many output

hi there
im new here i just want to say hi to u all.
im working on speech compresion using CELP code(code excited linear predictive coding). by MATLAB,
so plz if any one knows about this subject i will be thankful
 

matlab error levinson too many output

Hi murad,

You know that in the matlab6 lpc function was introduced ?
It uses classical Levinson-Durbin Recursion to estimate the prediction coeficients.

You can check the function to se how it works ... This algorithm is described in many books . If you need paper just let me know!

Regards
dora
 

Re: speech compresion code

Speech Coding Algorithms Foundation and Evolution of Standardized Coders
 

Re: speech compresion code

Dear friend,
this is my speech coder :D , 800 bits/s , off course not a good quality, but realizable.
this is mainly a modified version of LPC10E codec, I have downloaded it from some where in the internet, but I do not remember where.
then, I changed some parts, and I converted the 2400bps codec too a 800bps codec.
may be useful. run lpc10e, it will guide you through the rest.
thanks.
 

Re: speech compresion code

Dear Friends
Basically codecs must meet some standards.
You need a codec? Ah, to minize space/traffic maybe.
Well, for traffic of audio/video/etc you should really
use RTP: A Transport Protocol for Real-Time Applications
All started long ago, so better start in 1996 by reading
RFC 1889
New info on RFC 3550 and RFC 3551

Now about codecs, you should better conform to the AMR convention
otherwise your app will not be worth the trouble.
I understand that the main issue is VoIP/Storage so AMR compression
modes can be found in RFC 3267.

Now, all source codes you need to encode/decode you find in the 3gpp site.

Best regards

PadsPCB
 

Re: speech compresion code

Hi kunal go ftp site of 3gpp there u will find gsm amr nb source code for free which is based on celp and latest one also and help u learning a lot.............
 

speech compresion code

thanks but what abt standards? all codecs must follow standards na
 

speech compresion code

can somebody give me the circuit for voice codec..
the coder circuit and the decoder circuit
plzz..i need everbody's help
thank you
 

Re: speech compresion code

mami_hacky
was is that??
can you send me the papers for it pls????
im studying on speech coding and also on watermarking
 

Re: speech compresion code

Hi miami hacky, with regards to your 800bps LPC coder, what is the principle or theory that you used to reduce the bit rate from 2400bps to 800bps? Did you modify it based on any literature?
 

Re: speech compresion code

hay bobn,

once the compression scheme is decided....then the standarization process will take place....sa i coded some audio with very good compresion ration then ...to use it we need to put an ABSTRACTION layer...that layer will control the codec and made it compatible to different communication medium.

for example, if u want MP3 codec for streamming..thenn u will have to use it with the RTP stack, now u need to configure ur codec to meet the constraints which are need in RTP.
same will be applicable for other aplication say playbck systems, satellite broadcasting etc
regards
chandresh
 

speech compresion code

i am new here and currently working on the same project for lsp compression.
The problem now is which compressionway I should use.
 

Re: speech compresion code

lot of compresion suited for any type...audio, video..or something.....

pls specify
 

Re: speech compresion code

ajay9331 said:

hmm.....i think this is not the site to post that code...
you can just post ur code, not by attachment.....its beter that way...
Code:
1.Constructor Problem with NULL

NULL address can be access to output a data so in the specified program it won't crash.

class test
{
       int a;
public:
       void print()
       {
               cout<<"hi from empty"<<endl;
       }
};

void main( )
{

       test *a=NULL;
       a->print();
}

But If we use the same program for Input a data such as
class test
{
       int a;
public:
       void getdata()
       {
               cout<<"Enter a data"<<endl;
               cin>>a;                 //Application Will Crash Here Since it is trying to access 0x000000 (NULL)Address
       }
};

void main( )
{

       test *a=NULL;
       a->getdata();   //Application Will Crash Here Since it is trying to access 0x000000 (NULL)Address

       test *b=new test(); //This is OK
       b->getdata();//This is OK
this is his code...
 

Re: speech compresion code

hi this is pranjal agarwal. i m currently working on speech compression by polynomial aproximation but could not find any relavent material redarding it if any body know please help
 

speech compresion code

hi satellite, the link given by you is removed. please arrange some other line
 

Re: speech compresion code

Hi Friends,
I m doing thesis on speech compression by ADPCM. I've need help. If anybody have this types of code(Matlab Code) please help me.
Sender
Jalal
 

speech compresion code

i need problem in speech recognition..how to train using neural network...and how to match..please anyone
 

speech compresion code

Hi all,
am doing my project on VoIP application...so at first i need to design an audio codec...i really donno nething abt it...juz trying to read and understand.... i got the full matlab code for G.729A codec which uses ACELP algorithm..it has got hell lot of "m-files".... i cant understand anything..now i wanna know the flow of it...and how to club all these files....

can anyone help me in understanding ACELP algorithm step by step...help needed very urgently.... pleaseeeeeee

thank you.....
 

speech compresion code

Hi Mami_hacky....

the code which gave for "lpc10e"...i went through it....but when i run the lpc10e.m ..am getting an error like this....

??? Error using ==> encode
Too many output arguments.

Error in ==> TRANS at 76
[ ipitv, irms, irc ] = encode( voice, pitch, rms, rc );

Error in ==> LPCEXEC at 119
[ voice, pitch, rms, rc ] = trans( voice, pitch, rms, rc );

Error in ==> INIT at 606
lpcexec

Error in ==> LPC10E at 76
init


do i need to change anything in the code....or is it the same?....its very urgent...will be waiting for ur reply....thank u.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top