Live data from Hacker News

MyNoise – Background Noise Generators

mynoise.net

51–60 of 104 posts

Re: MyNoise – Background Noise Generators

#51

Earlier quoted context omitted.

Yea. Relatively straightforward on an MCU that supports audio, and running non-OS firmware. I think anything that runs through an OS or schedule would introduce too much latency. So, it can be on a generic MCU, but not one where the algorithm is competing for CPU time with other processes.

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...

Re: MyNoise – Background Noise Generators

#52

YouTube Premium is great for this sort of thing. There are thousands of ambient noise and focus music playlists on there. No ads + music for a reasonable price. I've been a Google/YouTube Music subscriber for years. Every once in a while I think about switching to Spotify or Apple Music since most of my friends are on there, but for my usage, there is no feature parity.

Do you stream your "background" audio every single time or do you save it locally?

Re: MyNoise – Background Noise Generators

#54
post #10

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.

True, and shows how far we have fallen in the war against latency. In theory it should be possible with a standard sound card, or a sound chip in the motherboard.

I'm neither a physics nor sound processing expert, but it seems like the microphone creates the signal to invert, and the speakers emit the inverted signal before the initial sound hits your ear. So I reckon the sound must first hit the microphone, then the speakers, then your ear. With headphones, the speakers cover your ears and the microphone is outside the enclosure, so that's easy. In a larger controlled environment with reliable sound dampening on 3 sides, maybe? My inexpert intuition says that doesn't stand a chance of working in an open environment with one microphone and two speakers usually closer to each other than the user's ears. It seems like having a door on a building with no walls.

Re: MyNoise – Background Noise Generators

#55
post #7

I expected a website offering to use your microphone to record, invert and cancel background noise via the speakers. Turns out the website is offering prerecorded sounds instead, not really cancelling anything. Still though, surely someone has tried my idea? It would likely need some adjustability to match the phase delay between microphone and ears-via-speakers but I guess it could work.

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?

Re: MyNoise – Background Noise Generators

#57

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…

Stephane is AMAZING. Years ago (2014) I noticed a point in one of the rain noise platters that had too much of an obvious pitch component, so that it was too easy to identify it when it repeated. Stephane edited the platter within a couple days to fix the problem!

Re: MyNoise – Background Noise Generators

#58
post #57

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…

Stephane is AMAZING. Years ago (2014) I noticed a point in one of the rain noise platters that had too much of an obvious pitch component, so that it was too easy to identify it when it repeated. Stephane edited the platter within a couple days to fix the problem!

That's great! Reminds me of my own "random noise that isn't random" accidental fixation. There is a "water dripping" sound that I first noticed in Quake, no doubt sourced from a popular sound effects library, that I now hear television and movies all the time because of a pattern of pitches it uses.

Re: MyNoise – Background Noise Generators

#59

YouTube Premium is great for this sort of thing. There are thousands of ambient noise and focus music playlists on there. No ads + music for a reasonable price. I've been a Google/YouTube Music subscriber for years. Every once in a while I think about switching to Spotify or Apple Music since most of my friends are on there, but for my usage, there is no feature parity.

Do you stream your "background" audio every single time or do you save it locally?

I typically stream it and have a curated playlist that cycle through.

Re: MyNoise – Background Noise Generators

#60

YouTube Premium is great for this sort of thing. There are thousands of ambient noise and focus music playlists on there. No ads + music for a reasonable price. I've been a Google/YouTube Music subscriber for years. Every once in a while I think about switching to Spotify or Apple Music since most of my friends are on there, but for my usage, there is no feature parity.

YT premium can't be compared against this. mainly, because the presets are animatable. So you can generate a not repeating noise.

It no doubt lacks the customization, but the overwhelming variety of options makes it likely that most people will find something to their liking. YMMV, of course.

Personally I've used everything from Japanese-themed Lo-Fi to Skyrim soundtracks to nature sound to Starship Enterprise warp core background noise.

Post reply on HN