You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CMSIS-DSP/SDFTools/sdf/nodes/cpp/RingBuffer
Christophe Favergeon ab33fa64d7 CMSIS-DSP: Synchronous Data Flow
Set of Python scripts used to describe synchronous data flow networks
and generate a static scheduling.

It is working with CMSIS-DSP and a few standard nodes provided as C++ or Python classes.
It can be easily extended.

It is also working with the Python wrapper for CMSIS-DSP.

Detailed documentation in the SDFTools/README.md
4 years ago
..
RingBuffer CMSIS-DSP: Synchronous Data Flow 4 years ago
README.md CMSIS-DSP: Synchronous Data Flow 4 years ago

README.md

RingBuffer

It is a way to connect the SDF graph to an audio source or sink.

The node part is implemented in the AudioSource and AudioSink parts.

The main implementation is in RingBuffer.

To port it to new environments:

  • A file RingPrivate.h must be written. It is included by RingBuffer.cpp to customize some part of the implementation
  • A file managing the audio interrupts must be written an interact with the Ring buffers
  • The file RingConfig.h must be provided to size the buffers
  • Most of the time the Ring buffer will have only 2 buffers and will be a ping-pong buffer.