search for: opus_decode_float

Displaying 9 results from an estimated 9 matches for "opus_decode_float".

2016 Jan 09
2
Issue with decoding 8-bit PCM data
opus_decode() produces 16-bit signed linear PCM, and opus_decode_float() produces 32-bit floating point PCM that is useful when you want a higher bit depth. If you need 8-bit linear PCM then a simple solution would be to use only the top 8 bits of each 16-bit sample from opus_decode(). Note that the WAV format uses unsigned rather than signed integers for 8-bit line...
2015 Nov 16
2
Stereo voice not being retained
Hello, I've been using Opus on an STM32 M4 platform for speech coding in mono mode. I thought I'd try stereo for grins to see if I can handle the CPU load, and I'm getting a return code of -1 from opus_decode_float (using CBR and 40ms frames). I decided to try the opusenc and opusdec tools to just see how the command line apps would behave. I am getting decoded audio, but I am losing the stereo separation. My test file has speech obtained with a Tascam Recorder, and I spoke directly into each mic individua...
2016 Jan 11
2
Issue with decoding 8-bit PCM data
...anks. Let me try the proposed configuration first to make sure that > linear 8-bit PCM is retrieved. > > Regards > Amit > > On Sat, Jan 9, 2016 at 12:28 PM, Mark Harris <mark.hsj at gmail.com> wrote: > >> opus_decode() produces 16-bit signed linear PCM, and >> opus_decode_float() produces 32-bit floating point PCM that is useful >> when you want a higher bit depth. >> >> If you need 8-bit linear PCM then a simple solution would be to use >> only the top 8 bits of each 16-bit sample from opus_decode(). Note >> that the WAV format uses unsigne...
2016 Jun 17
2
Opus Raw Pakcets
Hi, I have application, where I am reciving the RTP packets, which has OPUS payload. >From the RTP packets I got following information: (12 byes Header) tells about the version, payload time, time stamp, srsc, etc. The rest of the packet is OPUS payload (raw format), The TOC byte from OPUS payload tells its 20ms frame, even the time stamp different of 960 means 20 msec frame. Questions: 1)
2015 Nov 25
0
Stereo voice not being retained
...enode.net/ On 16/11/2015 17:37, Honeyager, Kevin S. wrote: > > Hello, > > > > I?ve been using Opus on an STM32 M4 platform for speech coding in mono > mode. I thought I?d try stereo for grins to see if I can handle the > CPU load, and I?m getting a return code of -1 from opus_decode_float > (using CBR and 40ms frames). > > > > I decided to try the opusenc and opusdec tools to just see how the > command line apps would behave. I am getting decoded audio, but I am > losing the stereo separation. My test file has speech obtained with a > Tascam Recorder, and...
2016 Jan 09
0
Issue with decoding 8-bit PCM data
Hello Mark, Thanks. Let me try the proposed configuration first to make sure that linear 8-bit PCM is retrieved. Regards Amit On Sat, Jan 9, 2016 at 12:28 PM, Mark Harris <mark.hsj at gmail.com> wrote: > opus_decode() produces 16-bit signed linear PCM, and > opus_decode_float() produces 32-bit floating point PCM that is useful > when you want a higher bit depth. > > If you need 8-bit linear PCM then a simple solution would be to use > only the top 8 bits of each 16-bit sample from opus_decode(). Note > that the WAV format uses unsigned rather than signed...
2016 Jan 14
0
Issue with decoding 8-bit PCM data
...uration first to make sure that >> linear 8-bit PCM is retrieved. >> >> Regards >> Amit >> >> On Sat, Jan 9, 2016 at 12:28 PM, Mark Harris <mark.hsj at gmail.com> wrote: >> >>> opus_decode() produces 16-bit signed linear PCM, and >>> opus_decode_float() produces 32-bit floating point PCM that is useful >>> when you want a higher bit depth. >>> >>> If you need 8-bit linear PCM then a simple solution would be to use >>> only the top 8 bits of each 16-bit sample from opus_decode(). Note >>> that the WAV...
2016 Jun 17
0
Opus Raw Pakcets
...ml/rfc6716#section-3.1 > 4) I have RAW opus packets now, I want to convert it to representable > files, integer, float any method?? or any help (decoder)?? You need to call `opus_decoder_create` to set up a decoder instance, and then pass each successive payload buffer to `opus_decode` or `opus_decode_float`. Hope that helps, -r
2016 Jan 07
3
Issue with decoding 8-bit PCM data
Hello Ralph, > Likewise opus_encode() takes 16 bit samples, so you need to extend each > sample from an 8 bit source before encoding. Two questions 1. In opusenc.c which API does the extending the 8-bit to 16-bit? 2. If that is the case then how will 24 bit PCM sample work? Regards Amit On Thu, Jan 7, 2016 at 12:21 PM, Ralph Giles <giles at thaumas.net> wrote: > On 07/01/16