Post Go back to editing

Audio Input

Category: Hardware

Hello,

I am working on filtering out Active noise by using ANC. For that instead of second microphone which is used for anti-noise, I want to use prerecorded noise or noise pattern as input as currently we do not have second microphone in the system. Is there any way to import prerecorded noise or noise pattern in sigma studios and use it as one of the inputs? 

If not, is it possible to build the noise signal pattern within sigma studios by using some source block as I can see we can produce sine wave signal. But the noise signal in our system has unique noise pattern, it is not continuous sine wave or anything. Please suggest me how I can create anti-noise signal without using second microphone.

Thanks,

Simran



moved and tagged
[edited by: GenevaCooper at 1:48 PM (GMT -4) on 27 Jun 2023]
  • Hello Simran,

    You did not mention which DSP processor you are using. 

    I will show where to find these blocks in the ADAU1452 Tree-Toolbox.

    We have a white noise generator that you can use to add noise. Just run it through a volume control and then you can sum it with other signals if you want. 

    Then we also have a Pinking Filter to filter the white noise into a pink noise. You also could use other filters from the library to contour the noise to your needs. 

    Here is a screenshot of where these came from.

    Dave T 

  • I am using ADAU1787 EVM Board. I understood about the white noise but is there a way to manipulate the white noise pattern. Because this noise pattern is not constant, it varies continuously. 

    How we can generate the noise pattern identical to the noise pattern we have in our system?

    Thanks,

    Simran

  • Hi Dave,

    You have answered several of my questions over the years, so hoping you're still at it and can help out with this one. Ive gotten very few hits on this topic, so I apologize in advance if I have used the wrong forum for this.

    I have lots of experience with 1452, and have implemented the pinking filter in Sigma Studio many times. However, I am now in SHARC world and would like a way to obtain a half-order response so I can generate pink noise noise within SHARC. Can you direct me to some resources on this topic? I cannot seem to find any canned resources for white or pink noise within the SAM BareMetal Framework. Not sure where else to look given the scant hits on this topic.

    Also, I have the analog transfer function for the half order filter, and it simulates a 3dB response very nicely in a spreadsheet (after some algebraic manipulation to obtain the magnitude function):

    However, not sure if I can apply a bilinear transform to generate a z-domain diff equation from which I can derive coefficients for a first-order pole/zero function.

    Are there resources within the SHARC domain that are available to be able to do this? If so, I cannot seem to find them. Any help in guiding me to the right resources would be greatly appreciated.

    cheers,

    chuck