C++
From NoiseWiki
Jump to navigationJump to search"Hello Noise" code example
#include <iostream>
#include <stdlib>
using namespace std;
int main ()
{
int hertz;
cout << "Hello Noise! \n";
randomize();
while(1){
hertz=random(22030)+20;
sound(hertz); // this may need debugging.
}
return 0;
}