logoalt Hacker News

pizzlyyesterday at 9:56 PM2 repliesview on HN

This is really cool. We did a similar thing around 2 years ago but didn't use AI in that case. Just used a phone to record a few nights sleeping. Then a python script. I manually listened for some time in order to find the threshold amplitude (where all sounds would be ignored below and tracked above). Generated a graph that should the spikes of interest. Clicked on the spikes which went to the timestamp in the audio and listened. Not super scientific I know.

Two observations. 1. Often you wake up after a loud noise but like 5 minutes later with no memory of it. 2. even if you don't wake up from the noise your breathing changes, more likely to talk in sleep and shuffle more. So even if you not waking up your quality of sleep is disrupted.

Our case had some random construction like noise in the early morning, lasted around 10 seconds and disappeared. However, we noted even ordinary sounds we didn't think was loud was effecting our sleep.

Solution for that place was earplugs and a loud fan to generate white noise.


Replies

showmypostyesterday at 10:49 PM

You definitely went for a simpler solution!

And thanks for sharing that comment, I can second your two observations

For multiple months, I thought I’m waking up at night because I need to go to the bathroom so often (even checked for insulin resistance but markers were perfect). Interestingly enough, most of the times (not always) there are one or multiple louder sounds just before I wake up to go to the bathroom. Zero memory or conscious perception of the noise, still woke up and feeling like I need to go to the bathroom

stavrostoday at 8:05 AM

One time there was construction/renovation going on one floor below mine. I'm talking sledgehammers, jackhammers, the whole shebang.

For some reason, I've never slept better. Every little noise generally wakes me up (like someone walking in the same room) but the demolition noises kind of numbed me to all audio, apparently.

I also somehow sleep better when I leave a window open, and get some morning sun and noise? Though in that case, loud motorcycles revving will probably wake me up, but random people talking/shouting is fine.