Additinall Documentation?

Nov 3, 2010 at 9:17 AM

is there any additional documentation about NSpeex.

I am currently facing problems with decoding data, which received other network.

sampleIndex  i get from encoding function.

 

          short[] decodedFrame = new short[sampleIndex]; 
          SpxDecoder.Decode(encodedData, 0, encodedData.Length, decodedFrame, 0, false);

 

Getting Error "IndexOutOfRangeException".

Thanks in advance.

 

 

 

Nov 12, 2010 at 5:34 PM
Edited Nov 12, 2010 at 5:34 PM
konalegi wrote:

is there any additional documentation about NSpeex.

I am currently facing problems with decoding data, which received other network.

sampleIndex  i get from encoding function.

 

          short[] decodedFrame = new short[sampleIndex]; 
          SpxDecoder.Decode(encodedData, 0, encodedData.Length, decodedFrame, 0, false);

 

Getting Error "IndexOutOfRangeException".

Thanks in advance.

I have the same question.

Help  me.

Coordinator
Nov 12, 2010 at 6:58 PM
Edited Nov 12, 2010 at 7:00 PM

Hm, what is the exact value of the sampleIndex variable.

The decodedFrame buffer must be at least the size of the samples per frame (this can actually be retrieved from the SpeexEncoder/Decoder). If the buffer is too small then there will be a problem fitting the decoded data into that buffer.

Additionally, to clear things up could you please post a complete stack trace of the exception.

Nov 13, 2010 at 1:47 AM
Edited Nov 14, 2010 at 11:56 AM

I have solved, thank you

In cspeex have solution

Good luck

Coordinator
Nov 16, 2010 at 10:44 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.