Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Ocean Noise Generator

  1. Jun 14, 2014 #1
  2. jcsd
  3. Jun 15, 2014 #2


    User Avatar

    Staff: Mentor

    I haven't listened to your sounds, but if you took an ordinary white/pink noise source, and cyclically raised then lowered its volume, it will resemble the ebb and flow of surf sounds. That cyclic volume change could be controlled by a something resembling a low-frequency sinewave, perhaps with a bit of randomness added so the sound isn't perfectly repetitive.

    Just as easily you could pass the noise through a filter, but modify the filter characteristic so it cyclically allows higher pitch noise through, to give the impression of a whitecap approaching closer.

    Is that what you are asking?
  4. Jun 15, 2014 #3
    ok i am trying this

    GetNextValue() * Math.Sin(Math.PI * rnd1.Next(4) * n2 / 44100D);
    GETNextValue() returns the next pink number
    um.. is sound better but not like
    the site.
    is there anything else I can do ?
  5. Jun 15, 2014 #4
    I used to play around with noise / sound generation and even made a few bucks for designing a realistic jet engine noise. Generally, this proved good for many wind-like whistle sounds.
    I suspect that bacon frying / water falling noises start with random impulses going through the same sort of treatment.
    The ocean noises and lightning are beyond me.

    Best Luck,

    - Mike
  6. Jun 16, 2014 #5


    User Avatar

    Staff: Mentor

    I can only reiterate. When a sound or noise approaches you, (a) the volume of that sound gets louder, and at the same time (b) the higher frequencies in that noise become much more noticeable (i.e., even louder still). I surmise that propagation of sound through air experiences increasing attenuation with increasing frequency. Perhaps you could experiment with those effects just one at a time, to judge the realism of each, before implementing both. Drive the two effects from the one signal so they occur in synchrony. A sinewave won't be the best waveform for this, of course, but it is the nearest at hand; you can tailor this waveform to your critical ear in the final stage.

    Good luck with it!
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Ocean Noise Generator
  1. White noise generator (Replies: 5)

  2. Noise Generating Cheap (Replies: 7)