Live data from Hacker News

MyNoise – Background Noise Generators

mynoise.net

61–70 of 104 posts

Re: MyNoise – Background Noise Generators

#61

For nearly eight years now, this coming through earbuds has been the only way I can sleep at night. Grateful customer of the iOS app.

On iOS you could also use the native built in background noise functionality which is good.

Go to Settings > Accessibility > Audio/Visual > Background Sounds, then turn on Background Sounds.

Rain , Stream and Ocean are my favourite while needing to focus

Re: MyNoise – Background Noise Generators

#62

If you're just looking for white/pink/brown noise, you could alternatively generate it using ffmpeg. I like ffmpeg -f lavfi -i anoisesrc=color=brown:amplitude=0.4 -filter "lowpass=f=400" -f pulse -device playback-device "noise" for example.

Is there anything ffmpeg can't do?

Re: MyNoise – Background Noise Generators

#63

Earlier quoted context omitted.

you prolly need a dac or smth, because embedded devices usually don't have the compute needed for real time noise cancellation

Supporting audio kinda implies having a DAC...

Unless you really like the sound of square waves I guess.

Re: MyNoise – Background Noise Generators

#64

Thanks for the kind mention! I am Stephane, the person behind that website/project. I see a lot of people having concerns about the title - Background Sound Canceller - and they are right. That title is not mine, but poster's own. I describe my project as "Background Noise Generators", or sometimes as as "Non-Distracting Noises and Music". They are not sound cancellers but sound maskers . The idea is to create a nois…

Thank you for the app! I use it every single night to drown out the POS bird that screams outside of my window as I’m trying to sleep.

Re: MyNoise – Background Noise Generators

#65
post #61

For nearly eight years now, this coming through earbuds has been the only way I can sleep at night. Grateful customer of the iOS app.

On iOS you could also use the native built in background noise functionality which is good. Go to Settings > Accessibility > Audio/Visual > Background Sounds, then turn on Background Sounds. Rain , Stream and Ocean are my favourite while needing to focus

True. I honestly don't remember whether those were available when I started using MyNoise (late 2014); but, in any event, I've paid for it already and have downloaded quite a few of the sound choices.

Re: MyNoise – Background Noise Generators

#66
post #14

Earlier quoted context omitted.

I don't think it can be done.. active noise cancellation needs to be really really fast and is done using dedicated hardware afaik.

I suspect it could be done for sort of periodic noise (or possibly with a predictive net). I've always wanted to implement this on the web but never got around to it.

As far as I can remember, even some of the special-purpose-hardware based solution like you'd find in a pair of noise canceling headphones do better on periodic noises. Not needing to race the soundwave seems like it should make the latency problem much more forgiving.

And the most annoying noises tend to be periodic anyway.

I think you should give it a try... let us test it, if you can cancel out my air conditioner noise you'll be my favorite person...

Re: MyNoise – Background Noise Generators

#67

Is there any app that uses scripts to generate this sort of audio? I’d like to be able to download a script of a thunderstorm, that sounds different every play, or the script for a coffee shop complete with the lunch rush and afternoon lull.

What kind of interface would you like for such a system?

I created a FOSS alternative (that's not nearly as feature complete as mynoise.net) [0] but it has the benefit of being CC0 licensed including all of the samples.

If you have features that you think would enhance the experience, please feel free to open an issue [1] or DM me.

[0] https://abetusk.github.io/noixer/

[1] https://github.com/abetusk/noixer/issues

Re: MyNoise – Background Noise Generators

#68

Thanks for the kind mention! I am Stephane, the person behind that website/project. I see a lot of people having concerns about the title - Background Sound Canceller - and they are right. That title is not mine, but poster's own. I describe my project as "Background Noise Generators", or sometimes as as "Non-Distracting Noises and Music". They are not sound cancellers but sound maskers . The idea is to create a nois…

Thank you for the app! I use it every single night to drown out the POS bird that screams outside of my window as I’m trying to sleep.

I strongly empathize with you, this and the fast-and-furious truck drivers at 5am. I need to check this out.

Re: MyNoise – Background Noise Generators

#69
post #55

Earlier quoted context omitted.

I don't think it can be done.. active noise cancellation needs to be really really fast and is done using dedicated hardware afaik.

How fast can it need to be? The output frequency would be below 20kHz so latency of 50us or so, probably too fast for a userland app but I'd expect it to be doable in a driver or in the OS?

I get a similar answer but through a wildly different path:

I think you have to detect the sound with a microphone, then come up with the canceling waveform before the sound hits your headphone drivers (as they will be generating the canceling waveform). Given the typical size of headphones, it would be something like

2cm/(34300cm/s) ~ 60us

Although, sound travels faster through solids, so might want to be a little quicker. And 2cm thick headphones would be pretty thick.

Re: MyNoise – Background Noise Generators

#70

So basically this is for people who bought and use noise cancelling headphones and want to put back noise in their life. What about...removing said headphones and listening to the life around you? And even better, open the window?

Noise cancelling headphones still have a residual noise, that you will hear, because our hearing has an incredible dynamic range. Adding a faint background noise of your choice, to cover that residual noise, is a good idea. Then, these crafted noises do exist because of the exact nature of the life around you. For many people, the "life around you" is what they want to escape, exactly.

[deleted]
Post reply on HN