Questions tagged [nspeex]

.NET and Silverlight library for the Speex codec.

.NET and Silverlight library for the Speex codec from http://nspeex.codeplex.com/. The original source can be found under http://speex.org/.

8 questions
8
votes
1 answer

Windows Phone Encoding and Decoding audio using NSpeex. Having issue with decoding?

I am trying to encode a recorded audio using Nspeex and then transfer it over internet and decode on the other end. I am doing all this in Windows Phone 7/8. To encode and decode I am using following code. But while decoding I am not getting the…
Balraj Singh
  • 3,381
  • 6
  • 47
  • 82
7
votes
1 answer

Silverlight Speex playing at fast rate

I'm using Speex to encode the raw data but after I decode the data the audio plays at a faster rate because it makes you sound like a chipmunk. I'm using NSpeex and Silverlight 4. 8kHz Sampling Encoding Function: JSpeexEnc encoder = new…
Zach L
  • 1,277
  • 4
  • 18
  • 37
3
votes
0 answers

How to play ogg file with NSpeex?

I'm working on a c# project with particular needs of playing ogg file with NSpeex Library. How to make NSpeex to read ogg file from file path? and how to make it play and seek? I think NAudio is needed, but I still can't figure out how... Forgive…
Strong84
  • 1,869
  • 2
  • 19
  • 24
2
votes
0 answers

Capture audio from microphone, encode and save to wav file

I've already seen this Silverlight sample (from Andrej) on audio stream capturing from a microphone and then with possibility to save it to the wav file. It works ok. But can anybody help me how to modify this sample and build-in NSpeex encoding…
Matjaz Bravc
  • 189
  • 1
  • 12
1
vote
0 answers

Encoding in WP7 with NSpeex works, decoding the stream on a JavaEE server with JSpeex does not

As topic states, I have no problem in encoding audio in Windows Phone 7 with NSpeex(v1.1.1, uses Speex v1.2rc1). I have verified this by first encoding a stream, and then right after decoding it back again, add wav headers and send it back to server…
hsiltala
  • 11
  • 3
0
votes
1 answer

An automated way to rid a project of a Contract dependency

I am trying to build a NSpeex solution for Windows Phone application. The problem is that a codeplex NSpeex page provides a Silverlight version of the library, but it throws a run-time exceptions, since the code contracts are used in the library,…
Maxim V. Pavlov
  • 10,303
  • 17
  • 74
  • 174
0
votes
1 answer

Converting spx audio file to mp3

I have to convert spx audio file (in ogg format) to mp3 file. I've tried a couple of thing and so far nothing is working. I've tried using the LameMP3FileWriter from the Naudio.Lame library. private void WriteOggStreamToMp3File(Stream oggStream,…
Kinetic
  • 2,640
  • 17
  • 35
0
votes
1 answer

“Invalid mode encountered: 9” when decoding with NSpeex

Here is my code: public byte[] Decode(byte[] encodedData) { short[] decodedFrame = new short[160]; // should be the same number of samples as on the capturing side int decoderBytes = decoder.Decode(encodedData, 0, encodedData.Length,…
Strong84
  • 1,869
  • 2
  • 19
  • 24