similar to: OPUS on cortex M4 (Nicolas Ehrenberg)

Displaying 20 results from an estimated 1000 matches similar to: "OPUS on cortex M4 (Nicolas Ehrenberg)"

2018 Jun 29
1
OPUS on cortex M4
Hi everybody I wrote a couple of months ago about implementing the opus codec on a DK52 from Nordic (nrf52832 MCU, Cortex M4). In the meantime I got a bit further and would again like to ask some questions. My settings: I included all the opus files into my project (opus-1.2.1) Defined: FIXED POINT, VAR_ARRAYS, DISABLE FLOAT API, OPUS_BUILD, CELT_MODE_ONLY I am able to allocate enough memory
2018 Jul 02
0
OPUS on cortex M4
"Ehrenberg Nicolas" wrote: > Thanks for the reply. > For my application I unfortunately need a better signal reconstruction. It's > not necessarily a problem that the constant DC voltage is removed, but the > audio signal will need to be more exact because it's also studied visually. > To be more exact, I need to record and transmit audio data recorded from >
2013 Aug 12
1
Silence causing encoder slowdown on 32 bit architecture
Hi all, I noticed some odd behavior with the Opus encoder, and I was wondering if this is a known issue. First, note that this problem occurs when the Opus encoder is created with OPUS_APPLICATION_VOIP, there is no issue if the encoder is created with OPUS_APPLICATION_AUDIO. If compiled for a 32 bit architecture (i386), the encoder experiences significant slowdowns when regular audio is followed
2013 Aug 12
0
Silence causing encoder slowdown on 32 bit architecture
Thanks for acting on this so quickly. Yes, the latest commit fixed the problem. I figured it would be a small patch but wasn't sure where to make the change. Thanks again, - DB > ----- Original Message ----- > From: Jean-Marc Valin > Sent: 08/12/13 11:50 AM > To: D. B. > Subject: Re: [opus] Silence causing encoder slowdown on 32 bit architecture > > Indeed, the fix
2017 Oct 18
4
Global stack on Cortex-M4
Hi all ! I just learned about the Opus codec and would like to try it out on my NRF52 (Cortex-M4) target.   I've been struggling a bit with the "trival_example.c" setup but repeatedly run into "hard fault" crashes when stepping through the code. Firstly; for a "bare bone" configuration, does the following compiler directives make sense ? UDEFS =
2018 Feb 23
3
[EXTERNAL] Re: Developing OPUS on TI CC3220
Thanks Jean-Marc, I was able to get both encode and decode working the CC3220 device! But for bi-directional communication, I need decode and encode to occur in less time than the frame size I’m sending (20 ms). Currently decode takes 16~22 ms and encode is ~13 ms. What is the best way to try to reduce this time? Also, unsure why encode is taking less time than decode... I've also
2016 May 04
1
opus_encode
Hi all, i am trying convert pcm (16bit pcm) stereo file to mono pcm file using opus_encode and opus_decode, i am able do this but i have doubt about TOC byte after opus encode. below is how encoder and decoder structures are used to do encode and decode file opus_encoder_create(8000, 2, OPUS_APPLICATION_AUDIO, &err); opus_decoder_create(8000, 1, &err); after opus encode bits looks like
2013 Jun 15
2
running at 44.1K but with standard frame sizes
Hi Jean-Marc, On Jun 15, 2013, at 12:20 PMEDT, Jean-Marc Valin wrote: > > >> So I still wonder, if you set up a custom mode, but then had all the >> settings the same as a normal mode, would the codec perform worse, or >> the same? > > You'll have to try normal vs custom modes and choose. The only thing I'm > telling you is don't run a 48 kHz
2016 Nov 10
1
Error running opus encoder/decoder under PIC32
I'm new using OPUS and I've implemented the OPUS lib under PIC32MZ, using the MIPS configuration. It compiles correctly and it seems that all the procedures invoked returns no error. However, when I excite the encoder with a pure 1 kHz tone, the encoding/decoding procedure returns al the samples to silence (the buffer is filled with 0x8001 or 0x7fff). The configuration is 48000 sps, 64kHz
2017 Oct 18
0
Global stack on Cortex-M4
On 10/18/2017 01:40 PM, Eric wrote: > Secondly; With the "overide" directives above no dynamic memory > allocation is supposed to happen. However, the following call chain > (obviously)  cause a crash: > > opus_encode(..)-> > opus_encode_native(..)->ALLOC_STACK->opus_alloc_scratch(..)->opus_alloc(..) NONTHREADSAFE_PSEUDOSTACK requires a working allocator.
2013 Oct 06
1
Encoder off by one
If you encode with int iByteSizeEncoded = opus_encode(m_enc, m_ShortsInput, (1920/sizeof(short)), m_EncodedBytes, (960*6)); ... the byte size is 120. I thought that an odd value like 359 has to be a fault on my side. I thought it would be a multiple of something. So 359 is really correct??? Thank you for clearing this up. Am 06.10.2013 16:50, schrieb Jean-Marc Valin: > Why
2012 Oct 25
2
WAVE PCM to OPUS and back
Hello, I have an p2p voice chat application using WAVE PCM (winmm). Now i am trying to add opus encoding to it to send it over the TCP/IP and then decoding it back to play - but without success (without opus it works ok) Here is an example of my code. I get message from input device then encode with opus then decode it back to output wave header and play. Doing it i hear only noise in my
2015 Feb 24
2
Questions regarding OPUS_APPLICATION_AUDIO vs OPUS_BANDWIDTH_NARROWBAND
I have an audio device whose 'driver' gives me Opus encoded frames using OPUS_APPLICATION_AUDIO and max bandwidth set to OPUS_BANDWIDTH_NARROWBAND. How does Opus encoder decide the center point of the 4K bandpass filter? Is it done frame by frame? -- Tony -------------- next part -------------- An HTML attachment was scrubbed... URL:
2015 Feb 24
0
Questions regarding OPUS_APPLICATION_AUDIO vs OPUS_BANDWIDTH_NARROWBAND
Can you explain what you mean by "center point"? Jean-Marc On 24/02/15 11:30 AM, Tony wrote: > I have an audio device whose 'driver' gives me Opus encoded frames > using OPUS_APPLICATION_AUDIO and max bandwidth set to > OPUS_BANDWIDTH_NARROWBAND. How does Opus encoder decide the center > point of the 4K bandpass filter? Is it done frame by frame? > > --
2011 Oct 31
1
Can CELT / libopus on a ARM cortex M3 or M4 (fast enough ?)
Hello everyone, For a private project I would like to make a new Internet Intercom device (for my kids and me). At the moment I use a separate DSP with Ogg/Vorbis (VS1053) but I like a challenge ;-) Is a eg. ST32F10x (cortex m3) or a new ST32F40x (cortex m4) powerful enough to do encoding and decoding ? Any existing projects to learn from? Thanks for your time, Edwin van den Oetelaar
2014 Oct 15
0
Errors when compiling for ARM Cortex-M4
Hi, I had the following errors when compiling the library for Cortex-m4 (-mcpu=cortex-m4) using the GNU compiler for ARM (gcc-arm-none-eabi-4_8). CPPAS celt/arm/celt_pitch_xcorr_arm-gnu.locelt/arm/celt_pitch_xcorr_arm-gnu.S: Assembler messages:celt/arm/celt_pitch_xcorr_arm-gnu.S:299: Error: thumb conditional instruction should be in IT block -- `ldrgt
2014 Nov 04
0
Opus performance on Cortex-M4
Hi Andy, On 03/11/14 07:36 PM, Andy Isaacson wrote: > In some quick testing on Cortex-A8 (a very different core, but at least > ISA compatible and hopefully fairly similar to M4 for things like cycle > counts and code size) I saw promising results -- about 30 MHz of A8 CPU > was sufficient to encode an audio stream using the 1.1.1-beta fixed > point codec at 48 kHz mono,
2015 Dec 31
0
Benchmarking Data for Opus Encoder and Decocder on Cortex M4
Hello All, I recently completed the porting of Opus Encoder on a Cortex M4 embedded controller. The decoder is yet to be done. Based on the chat discussion I would be putting CPU performance numbers for Encoder: Speech, 16KHz, 16-bit mono channel for the following combinations Complexity: 0,1,3,5,9 and Frame Size of 20 and 40ms for Output bit rate of 4Kbps and 8Kbps Any suggestions/critical
2016 Jan 18
2
OPUS on Cortex-M4
Hi, I would like to use OPUS codec to compress and decompress an audio stream for full-duplex intercom application; I would like to use a microcontroller equipped with Cortex-M4 core without NEON running at 72MHz. Does the OPUS codec works fine on that architecture? Do you have some benchmark data? Thank you in advance. Best regards. Daniele -------------- next part -------------- An HTML
2017 Oct 19
0
Global stack on Cortex-M4
Hi all: I'm successfully run OPUS in cortexM4 arm architectures using a cross compiler gcc-arm-none-eabi . I recommend to uses the following precompile flags before to compile you code: arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-dl16 -std=c99 -fasm -DARM_MATH_CM4 -DOPUS_ARM_INLINE_ASM -DOPUS_ARM_ASM .... and in your configuration file of OPUS you could use the