Live data from Hacker News

Frequency-shaped background noise generators

mynoise.net

21–30 of 114 posts

Re: Frequency-shaped background noise generators

#21

Someone posted ambient warp-core sound from Star Trek on Reddit earlier today, maybe you could add this. http://www.reddit.com/r/startrek/comments/1nwzd6/ambient_war...

An old Linux command line trick to generate the engine sound:

> play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1

I used this as a background noise muting sound when I was a kid.

Re: Frequency-shaped background noise generators

#22

First of all -- awesome concept and execution, and great sound samples. Well-done. > Mobile Safari iOS 6 on iPad 2+, iPhone 4GS+ But... not working on my 4S/iOS6. :( Anyone got it working to play in the background, even when your phone's screen is off? I also wonder about battery life as HTML5 audio, vs if it were an app. The creators clearly want to support HTML-only, according to the FAQ, but this calls for an app…

Very interesting Web Audio API experiment,

To reply to you, forgetting that the interface is not really touch friendly, I was totally able to make it run in the background on a Nexus 4 with Chrome (the Web Audio API works in the background with Chrome), however I got some clicks (interruptions) in the sound probably due to the bad performance the Web Audio API gets in Android Chrome today.

I wish there was a way to contribute (Github?) to improve this app.

Re: Frequency-shaped background noise generators

#26

Earlier quoted context omitted.

Does it actually generate the sound server-side and send it over the network, or does it generate it client-side? (i.e. does it actually use much bandwidth?)

It loads 20 or so ogg audio files like this: http://mynoise.net/Data/OSMOSIS/7a.ogg Then I'm guessing the EQ controls the volume. So no it doesn't generate / stream anything to you server-side.

Right, the EQ controls the volume of each of the 10 (each one corresponds to a slider) sounds. (Every sound has been previously decomposed into its frequency components.) The Web Audio API is used for browsers that have it present, else HTML5 audio elements are used. The slider just adjusts the volume of the sound (exponentially of course!), leading to an equalizer effect with no filtering required. (Garnered from looking at the code.)

Interestingly, this could be done using one file (rather than ten) using a Web Audio API filter node. This would limit the site to only Web Audio API compatible browsers. Unfortunately, at this time, that's only newer versions of Chrome, Safari, and I believe FF nightly (slight API variations). However there is some mobile support through recent Chrome and Safari implementations.

Re: Frequency-shaped background noise generators

#27
post #21

Someone posted ambient warp-core sound from Star Trek on Reddit earlier today, maybe you could add this. http://www.reddit.com/r/startrek/comments/1nwzd6/ambient_war...

An old Linux command line trick to generate the engine sound: > play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1 I used this as a background noise muting sound when I was a kid.

This is great, thanks!

Re: Frequency-shaped background noise generators

#28

First of all -- awesome concept and execution, and great sound samples. Well-done. > Mobile Safari iOS 6 on iPad 2+, iPhone 4GS+ But... not working on my 4S/iOS6. :( Anyone got it working to play in the background, even when your phone's screen is off? I also wonder about battery life as HTML5 audio, vs if it were an app. The creators clearly want to support HTML-only, according to the FAQ, but this calls for an app…

I have been using an iPhone app called Ambiance for a long time, it even allows you to record your own sounds, works in the background, has a sleep and alarm modes etc.

The only down side is it tries to do too much, they have like a sound store and stuff, which is a cool feature but affects the simplicity.

http://ambianceapp.com/

Re: Frequency-shaped background noise generators

#29
post #21

Someone posted ambient warp-core sound from Star Trek on Reddit earlier today, maybe you could add this. http://www.reddit.com/r/startrek/comments/1nwzd6/ambient_war...

An old Linux command line trick to generate the engine sound: > play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1 I used this as a background noise muting sound when I was a kid.

Here is a softer variant:

    play -c2 -n synth whitenoise band -n 100 24 band -n 300 100 gain +20
Post reply on HN