This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Viewing spectrum of an audio signal using software code

Other Parts Discussed in Thread: CC2652RB

Hi,

    At line number 434 in pdmstream.c file.

SA_envelopeDetector is doing the software decimation and converted PCM samples will be saved in pBuffer array.

Play the audio tone through the speakers in front of the ICS-41351 sensor on Penny device.

Is there any library or code implement in software side to validate audio signal of 1KHz?

  • Hello,

    We're not really sure what you're asking about.  We often use free-ware Audio programs like Audacity to analyze captured digital audio data.

  • Hello collin wells,

    To be clear on query what we are looking for,

    1. We have an ICS41351 acoustic sensor which gives PDM data and also PDMstream.c example on CC2652 rb device which does the software decimation.

    2. We have also referred the below PDF to check how the sensor can be validated manually by giving an audio signal of 1KHz and checking the same on audacity to confirm on 1KHz signal form PDMstream.c example.

    sprac51.pdf

    Whatever explains in the document above is manual validation of signal through audacity by capturing PCM samples. But we are looking for some software code or library which will validates the 1 KHz signal in software itself if we continuously input the audio signal of 1KHz?

    We want to just eliminate the manual process of sensor validation. Is it possible to validate the frequency spectrum or reception of a correct audio signal from code itself?

    Regards,

    Mahammad khan

  • Hi,

    I think you may have to use an FFT library.

    regards,

  • Hi collin walls,

    I am using cc2652RB controller/Device for acoustic sensor.

     We are locking a library which can be validate we are getting correct signal or not.

    If it is available please share exact path.

    Regards,

    Mahammad khan

  • Hi,

    I have requested a team mate to look into this.

    Thanks,