Hacker Uses Raspberry Pi and AI To Block Noisy Neighbor's Music (tomshardware.com) 93
Maker Roni Bandini developed a Raspberry Pi project to address his neighbors' loud reggaeton music by creating an AI-driven system that distorts audio on nearby Bluetooth speakers when reggaeton is detected. Tom's Hardware reports: Powering this Bluetooth jamming device is a Raspberry Pi 3 B+. It's connected to a DFRobot OLED display panel, which has a resolution of 128 x 32px. Audio is observed using a USB microphone, while a push button handles when the system will perform a check to listen for any potential reggaeton. According to Bandini, the Pi is running Raspberry Pi OS. The AI system driving the machine learning aspects of the design is Edge Impulse. With this, Bandini was able to train the Pi to listen for music and more specifically identify whether the song playing is classifiable as reggaeton or not. The official project page is available at Hackster.
Neat (Score:5, Funny)
Now do one that stalls out cars with loud exhausts.
Re: (Score:3)
Problem, how do we generate an EMP strong enough to panic the engine computer?
Re: (Score:1, Interesting)
You don't necessarily need to. Plenty of cars are networked, so you just need to hack them, and they often have miserable computer security. There was even a famous hack that allowed someone to take over a car's computer systems through their wireless tire pressure sensors.
Re: (Score:2)
Some kid was going past our house every evening on his scooter with the muffler taken off. It's illegal but the police aren't all that interested unless you hand them the evidence on a plate.
I was thinking about setting up a Raspberry Pi with microphone, triggered to record video of him when a certain volume threshold was exceeded... But in the end I noticed that he always comes around 20:10, presumably after finishing his evening job, so I just stood out there a couple of times and made a video on my phone
Re: (Score:1)
Re: (Score:2)
It is generally the case that noises above a certain level, which varies by jurisdiction, are illegal. But we live in age when law is enforced only in the most extreme cases, if even then.
Partly as a result, fists, knives, and bullets are the usual means of resolving disputes where I live, and no one is going to risk any of those by complaining about a loud radio. On the other hand, only the most stupid and foolish people will risk those things by making such loud noises to begin with. Generally, the sam
Re: (Score:1)
Mechanism of Bluetooth attack explained (Score:5, Informative)
For those interested, the project page [hackster.io] explains that once the music is identified, the Pi
trigger[s] comm requests and packets to the Bluetooth speaker with the high goal of disabling it or at least disturbing the sound so much that the neighbor wont have other option that turn it off.
, specifically:
it will trigger one of 2 methods of BT connections. One of them with rfconn and the other with l2ping.
Re: (Score:1, Insightful)
Sounds tortious, and possibly criminal. What an awesomely thought-through way to express passive aggression and expose oneself to legal liability rather than interact with a neighbor!
Re: (Score:3)
rather than interact with a neighbor!/quote Oh yeah, because that would go well.
Re:Mechanism of Bluetooth attack explained (Score:5, Funny)
Re: (Score:2)
A much more colorful interaction than if the neighbor were playing, say, Wagner.
Re: (Score:3)
There, I said it.
Re: (Score:2)
Re: Mechanism of Bluetooth attack explained (Score:2)
Wouldn't work on dubstep and some rap, because those genres are based on disrupting.
Re: (Score:2)
The choice of music permits us to envision a colorful interaction.
This...
The places in the world where Reggeton is most popular aren't exactly known for their diplomatic approach to conflict resolution.
Nor are they known for soundproofing their residential buildings, sadly.
Fortunately, the fine article said that the project was mainly done in jest (I.E. for shits and giggle).
Re: (Score:1)
Oh yeah, because that would go well.
Wow, so not only slackers, but cowardly slackers! What a generation!
Re:Mechanism of Bluetooth attack explained (Score:4, Insightful)
Re:Mechanism of Bluetooth attack explained (Score:5, Insightful)
Neighbors un-neighborly enough to blast music loud enough for others to hear them in their homes are not generally known for being all that reasonable.
It may be worth asking once, but the odds favor them turning it up louder or becoming violent. So it's best to have a fallback.
If they weren't oversized toddlers they probably wouldn't blast their music like they were on a deserted island.
Re:Mechanism of Bluetooth attack explained (Score:4, Insightful)
It's far more likely that the not knowing is willful. If the damned house is shaking, how is it NOT audible outside or even in the neighbor's house?
Like I said, it may be worth asking, but have a backup plan.
Re: (Score:3)
> If the damned house is shaking, how is it NOT audible outside or even in the neighbor's house?
Long waves sound quiter closer up.
Use the wavelength equation with the speed of sound to work out the frequency map.
Re: (Score:3)
Exactly. If your house is shaking from the long waves, the neighbor's house if probably getting it even worse. If the system in your car is vibrating your eyeballs enough to blur your vision, you're annoying the whole neighborhood.
Re:Mechanism of Bluetooth attack explained (Score:4, Insightful)
It's one of those cases where asking could make things worse, because if they refuse and then their Bluetooth speaker mysteriously starts malfunctioning, they might accuse you of hacking. Which would be true.
Re: (Score:2)
It's one of those cases where asking could make things worse, because if they refuse and then their Bluetooth speaker mysteriously starts malfunctioning, they might accuse you of hacking. Which would be true.
But plausibly deniable.
It's far more likely that they'll get angry at the "malfunctioning" speaker though... Thankfully we aren't dealing with engineers, who's first reaction would be to plug in a cable to see if it fixes it or audiophiles who will be using a gold plated cable to begin with (although I doubt an Audiophile would lower themselves to Reggeton).
Re:Mechanism of Bluetooth attack explained (Score:4, Funny)
It's also possible that the neighbor discovers by themselves the problem stops happening if he turns the volume down and just chalks it up to something wrong with his speaker.
Re: (Score:2)
Re: Mechanism of Bluetooth attack explained (Score:3)
Clearly you've never lived next to a noisy prick. It makes you rethink questions about the right to end someone's life daily. At least this method is non-lethal.
Re: (Score:3)
Re: (Score:2)
So a denial-of-service attack.
Sounds like something that could get one into legal trouble, if the victim of that DoS attack wanted to cause trouble.
Re:Mechanism of Bluetooth attack explained (Score:5, Interesting)
Re: (Score:2)
In the 90s I remember a guy who built a similar anti-loud-music device but using different principles. In apartments his neighbor had his speakers directly against the common wall. So he got some strong electro-magnets, connected them to a wave generator and an amplifier, and then he'd just send various 'sounds' through it. No sound would come out of his, but the magnetic coupling would be picked up on the other side and strongly interfere with the music. I remember him mentioning various tests with white noise, sine wave, grating square waves and very loud impulses...
I like it!
Re: (Score:2)
In the 90s I remember a guy who built a similar anti-loud-music device but using different principles. In apartments his neighbor had his speakers directly against the common wall. So he got some strong electro-magnets, connected them to a wave generator and an amplifier, and then he'd just send various 'sounds' through it. No sound would come out of his, but the magnetic coupling would be picked up on the other side and strongly interfere with the music. I remember him mentioning various tests with white noise, sine wave, grating square waves and very loud impulses...
The easiest way, albeit far less surreptitious, is to replay the sound back to them with a 0.5 second delay. This has the added advantage of working on people singing or playing an acoustic instrument.
Re: (Score:2)
Re: (Score:2)
So a Denial of Service utilizing the EM spectrum. I am betting that the FCC has some rule somewhere that they could use to prosecute this guy. This is something I would have kept private.
Re: (Score:2)
He's disrupting the big magnets in the speakers with his big magnets. There is no spectrum.
Re: (Score:2)
Lucky for him I do not like reggaeton... (Score:2)
Since all my sound systems are wired. At most WiFi, and easyly replaced by Eth via G.hn or Homeplug (if needed be). So, no way his Trick stops my music ;-)
Re: (Score:3)
Since all my sound systems are wired. At most WiFi, and easyly replaced by Eth via G.hn or Homeplug (if needed be). So, no way his Trick stops my music ;-)
This. I'd give him 1200 watts of Class AB streamed off my wired NAS, or just play a CD. I'd even buy some reggaeton just because.
Back in the mid 1980s, I lived in a Townhouse (a row of 2-story apartments that shared common walls). My home stereo was powered by a Crown PSA-2, a 700 W PA Amplifier that I had borrowed from a friend.
Normally, you couldn't hear anything from the apartment next door; so it wasn't like the walls were "wafer thin". That's why the story.
Every weekday afternoon, the teenager that lived next door would come home after school, and blast headbanger music on his awful, literally like 75% Distortion, (but loud!) st
Re: (Score:1)
Love that!
Similar story, a friend of mine's cottage has an AirBNB next door (well maybe 500ft away), often the AirBNB guests party late. When that happens, my friend blast opera at 6am to wake them up. It usually works and they dont party so much the next night. Unfortunately, he has to resort to that tactic almost every weekend with new guests.
He is also working through the legal system to try to remedy this situation.
Re: (Score:2)
Love that!
Similar story, a friend of mine's cottage has an AirBNB next door (well maybe 500ft away), often the AirBNB guests party late. When that happens, my friend blast opera at 6am to wake them up. It usually works and they dont party so much the next night. Unfortunately, he has to resort to that tactic almost every weekend with new guests.
He is also working through the legal system to try to remedy this situation.
That's great!
Opera would sure work on me, LOL!
Re: (Score:1)
Re: (Score:2)
Have you ever been in a room with a sound level of over 100dBa? I have. It is literally and figuratively deafening. It is so loud that you will scream yourself hoarse if you try to shout over it.
Nobody making that much noise is not aware that other people can hear it.
Re: (Score:2)
In order for sound to penetrate two walls at a cost of around 25-30dB each and still be loud enough to bother someone, it would have to start at around 100dBa.
Have you ever been in a room with a sound level of over 100dBa? I have. It is literally and figuratively deafening. It is so loud that you will scream yourself hoarse if you try to shout over it.
Nobody making that much noise is not aware that other people can hear it.
Nonsense.
Ever been to a nightclub with a live band? Generally about 95-105 dB SPL, A-weighted.
Loud; but not painfully so; unless you get so drunk you go up stand next to the Mains. Running Sound, I've had to play Good Samaritan and politely pull people's heads away from speaker stacks meant to be enjoyed from 15-100 ft. away more than once.
BTW, from that distance, the music that reaches the audience's ears is generally about 85-95 dB SPL. Loud-ish; but not dangerous for a couple of hours. And, being music,
Re: (Score:2)
Did I miss something? Did the complainer respond to the sound level?
Don't have to be loud to be obnoxious.
Illegal interference with an RF device (Score:1)
Congratulations, you bought yourself a ticket to luxury accomodations at the federal penitentiary courtesy of the FCC.
Re:Illegal interference with an RF device (Score:5, Insightful)
https://www.hackster.io/roni-b... [hackster.io]
Re: (Score:2)
Re: (Score:2)
I dont speek spanish to look it up its a fair bet that ENACOM Ente Nacional de Comunicaciones https://en.wikipedia.org/wiki/... [wikipedia.org] would have similar rules about unautraised scrambleing of RF signals.
In Argentina, I doubt the cops really give a shit.
A quick read of that is that it applies to radio stations. Looks like that organisations targets radio stations that aren't paying for the correct type of license. Less of an FCC, more of a IRS for radio stations and telcos.
Puedo leer Espanol pero el Wiki articulo en Inglas es claro.
Re: (Score:2, Insightful)
The chance of a regular Joe or Joelynn figuring out what's happening and reporting it is unlikely. If caught, just say you were learning electronics via experiments and didn't know they interfered. Have lots of "junk parts" and how-to manuals laying around to look student-y.
I doubt the FCC would put much effort on deep inspections for a small domestic complaint, just tell you to "knock it off", and at worst confiscate your gizmos and lock them up next to the Ark of the Convenient to be thrown out in 50 yea
Re: (Score:3)
So you would like to get locked up for perjury instead of a civil fine and a court order to knock it off?
Nobody that writes code to produce a denial-of-service attack that directly violates FCC Part 15 [ecfr.gov] that only starts when a particular genre of music plays is going to be able to claim ignorance of the effects. And the code, and these news articles talking about what it's used for and how it's used would definitely come up in an investigation.
Re: (Score:2)
You're right. The FCC would most likely only get interested when this attack is used more than a few times.
But when they get interested, it may be expensive.
Re: (Score:2)
confiscate your gizmos and lock them up next to the Ark of the Convenient to be thrown out in 50 years.
Ark of the Convenient? Is that the smaller, lighter version of the Ark of the Covenant? ;)
Re: (Score:1)
God's downsizing, managing nutcases used up the budget.
Re: (Score:2)
Nope. The project doesn't interfere with anything under FCC control. It abuses a factor of Bluetooth while also being completely compliant with RF regulations.
Re: (Score:2)
It communicates on unlicensed spectrum.
Intentional interference with another unlicensed device is flat out illegal.
Marriott found this out the hard way when they were busted sending de-auth packets to their customers who had their own WAPs in their rooms.
ay, mami (Score:5, Insightful)
Noise cancellation would have been more impressive.
Re: (Score:1, Insightful)
Re: (Score:2)
Re: (Score:3, Insightful)
Unfortunately it's impossible. Noise cancellation only works when it happens right in or next to your ear. In a room where the sound is transmitted through many different solid objects like walls, and bounces all over the place, you can't just use a speaker to block it.
Headphones would work, but wouldn't be able to stop all the rattling from the bass.
Often though you don't need to hack anything, just connect to the speaker yourself using the default PIN code and turn the volume down.
Re: (Score:3)
Re: (Score:2)
Re: (Score:2)
> Morons with exhaust-less bikes or souped-up cars pass multiple
>times a minute when the weather is good
ahh, you're looking for high-tech piano wire . . .
Re: (Score:2)
FCC (Score:2)
Pretty sure this is violating, at a minimum, FCC regulations. That makes it a federal crime. The only thing dumber than filming yourself committing crimes is thoroughly documenting every step of the crime and publishing it online and then giving interviews about your crime.
Re: (Score:3)
https://en.wikipedia.org/wiki/Ente_Nacional_de_Comunicaciones
There's his FCC equivalent. How's your spanish? (Or how good is your translator?)
Re: (Score:2)
i have the same problem, but with black music. maybe i can piggyback this project
First answer the question: Just what is "Black Music"?
Delta Blues?
Dixieland?
Big Band, ala Cab Calloway?
Jazz?
Torch Songs?
Rhythm and Blues?
Motown?
Pop music, ala Stevie Wonder or Ray Charles?
Heavy Rock, such as Lenny Kravitz?
To name a few.
Racist fuck.
Re: (Score:2)
Re: (Score:2)
You might want to vent some of that anger at the "racist fucks" at the Black Music Honors [blackmusichonors.com] and the Black Music and Entertainment Walk of Fame [theblackwalkoffame.com].
I think you're directing your ire at the wrong Poster.
better than jamming (Score:2)
never have been a fan of jamming. my position is more speech! so rather than shut down the opposition, add the soothing sounds of Enya on a loop with your Bluetooth speakers. then leave for the day. don’t be obnoxiously loud, just let them know how thin the walls are. trust me, keep it up and it works!
Fun but illegal (Score:2)
Technical solutions to social problems (Score:2)
Technical solutions to social problems are most often dead-end or just aggravating. In other words, the guy doing this hack had probably a good shot of satisfaction but once its gone, he will find himself facing the same issue with noisy neighbour. This is a social problem, and no technical solution is going to work. As others said, keep polite and respectful, even if neighbour show aggressivity (even more if he actually does show aggressiveness). Forget your frustration of hearing loud music in a stile you
Pollution is pollution (Score:4, Insightful)
If I blow cigarette smoke in your mouth and nose it constitutes battery.
If you blow your noise in my ears, the same.
Bluetooth speakers are the work of the devil. Get earbuds and don't an asshole.
Sherlock Holmes (Score:2)
"I think that there are certain crimes which the law cannot touch and which, therefore, to some extend, justify private revenge."
Re: (Score:2)
"I think that there are certain crimes which the law cannot touch and which, therefore, to some extend, justify private revenge."
Revenge is the worse possible way to deal with crimes. And no, justice as a community service is not very good to deal with minor neighbourhood issues like loud music. People could be responsible socially educated adults or at least try to and learn how to peacefully deal with those kind of minor annoyances rather than calling the police or producing counter annoyances and vengeance.
Re: (Score:2)
Minor annoyances? Clearly you've never lived anywhere close to an ignorant prick who plays unbearably loud music at all times of day and night, witout respect for your need for sleep. We're not talking about a random night. This goes on repeateadly for weeks, months, years. Some people just have it coming.
Reggaeton? (Score:2)
That's this [youtube.com], right?
My neighbors listen to the best music in the world (Score:1)
Whether they like it or not.
This feels like it should be illegal. (Score:1)