Displaying 2 results from an estimated 2 matches for "speexrecord".
Did you mean:
speexrecorder
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...specifically for a Cocoa/Objective-C application, and unfortunately, it does not yet
seem to yield data that Google ASR is willing to accept (we get "Bad Data" errors back if
we send this data to them). I am permitted by my group to share with you the following
body of code:
CODE BELOW:
SpeexRecorder::SpeexRecorder()
{
mFileCount = 0;
mRecordPacket = 0;
mRecordData = NULL;
mAudioStreamer = NULL;
int sampling_rate = 16000;
memset(&bits_, 0, sizeof(bits_));
speex_bits_init(&bits_);
encoder_state_ = speex_encoder_init(&speex_wb_mode);
speex_encoder...
2012 Feb 25
0
Speex-with-header-byte and Google ASR
...specifically for a Cocoa/Objective-C application, and unfortunately, it does not yet
seem to yield data that Google ASR is willing to accept (we get "Bad Data" errors back if
we send this data to them). I am permitted by my group to share with you the following
body of code:
CODE BELOW:
SpeexRecorder::SpeexRecorder()
{
mFileCount = 0;
mRecordPacket = 0;
mRecordData = NULL;
mAudioStreamer = NULL;
int sampling_rate = 16000;
memset(&bits_, 0, sizeof(bits_));
speex_bits_init(&bits_);
encoder_state_ = speex_encoder_init(&speex_wb_mode);
speex_encoder_ctl(enco...