Post Go back to editing

2-way crossover CCES project set up

Thread Summary

The user is implementing a 2-way crossover on the ADZS-SC589-MINI using CCES and encountered issues with regular playback and reduced volume. The support engineer suggested checking the `audio_processing/audio_elements` folder for examples and a delay effect tutorial for integrating custom processing. The user resolved the reduced volume issue and will verify filter coefficients and buffer application.
AI Generated Content
Category: Software
Software Version: CCES v3.0.3

Hi, I‘m working with the ADZS-SC589-MINI at the moment but I‘m relatively new to all of this. I learned C/C++ at university but I’m no expert by any means. For now I would like to implement a simple 2-way crossover using CCES. As far as I understood you write all the relevant code for this in the callback_audio_processing.cpp file, then build and debug, which is what I did. However all I got was regular playback on both channels with very reduced volume.
I understand that you can’t review all my code here until it works but I would just like to ask if there are any fundamental things I need to change or set up before using the SC589 board for this application? To me it sounded easy to do in theory but I might’ve underestimated the complexity. And that’s what I want to find out before finding other easier solutions.

  • Hi AntonLo,

    You can refer to the audio_processing/audio_elements folder in the project for examples of how audio elements and filters are implemented. This will give you a good starting point for structuring your code.

    Additionally, for reference on how to integrate custom processing into the audio callback, you can check out this delay effect tutorial - Tutorial: Implementing a Basic Delay Effect [Analog Devices Wiki]

    This tutorial demonstrates the workflow for adding DSP effects in the callback_audio_processing.cpp file, which is similar to what you will do for your crossover filters.

    If you still experience reduced volume or unchanged output, make sure:

    • Your filter coefficients are correct and normalized.
    • You are applying the filters to the correct audio buffers before sending them to the output channels

    Let us know if this helps, or if you need any further assistance from our side. We would be happy to help.

    Regards,

    Aradhita

  • Hi, thank you for your answer. I will make sure to try all of that and see if it works :) 
    I could already solve the reduced volume problem. 

    Regards, 

    Anton