I am trying to understand what is explained in this webpage, in the section entitled "Generating noise with different power spectra laws". After reading that section, I thought I could do it in Mathematica, since the author provides the code in C.
Unfortunately I do not know that language, so I do not have something done in Mathematica. I would like to ask your help to make translation from C to Mathematica by calling it somehow. If someone could help me finish it would be fantastic. Thank you in advance for your help.