I'm writing an article about that with endless time if we run random frequencies we would get a sensible audio, as seen below I made for random images (video) and included this code in the article to explain my point, also would you please teach me how to produce for example a basic sound beep that goes from a high pitch to a low pitch or the opposite?
What I have tried:
private void Timer1_Tick(object sender, EventArgs e)
{
for (int x = 0; x < 400; x++)
for (int y = 0; y < 400; y++)
{
g.DrawRectangle(new Pen(Color.FromArgb(255,
RN.Next(256),
RN.Next(256),
RN.Next(256))),
x,y,
1,1);
}
}
I don't think beep will do the job of sensible audio like human speech.
In a 1 ms timer tick:
using System.Runtime.InteropServices;
[DllImport("kernel32.dll")]
public static extern bool Beep(int freq, int duration);
Beep.Play(RN.Next(MAX_HZ),1);
Does it do the job? if yes, as I don't know about sound, what is the range frequency in Hz I should run.