Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Music Hardware Technology

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.
This discussion has been archived. No new comments can be posted.

Hacker Uses Raspberry Pi and AI To Block Noisy Neighbor's Music

Comments Filter:
  • Neat (Score:5, Funny)

    by Powercntrl ( 458442 ) on Monday February 26, 2024 @07:22PM (#64270940) Homepage

    Now do one that stalls out cars with loud exhausts.

    • Problem, how do we generate an EMP strong enough to panic the engine computer?

      • Re: (Score:1, Interesting)

        by rgmoore ( 133276 )

        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.

    • by AmiMoJo ( 196126 )

      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

      • Must be a good life if your most vexing problem is the maybe twice-daily occurrence of a loud sound.
    • 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

    • Reggaeton and Mariachi music is a scourge on the ears of humanity. It's also music written by 8th-world retard filth for 8th-world retard filth
  • by apparently ( 756613 ) on Monday February 26, 2024 @07:34PM (#64270964)
    Neither the article or summary could be assed to explain how the device interferes with the Bluetooth speaker.

    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)

      by Anonymous Coward

      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!

    • by alantus ( 882150 )
      > 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. The neighbor could also switch to a wired speaker, that's what I would do. Those are less likely to be battery powered, hence louder.
    • 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.

    • by dargaud ( 518470 ) <slashdot2&gdargaud,net> on Tuesday February 27, 2024 @05:01AM (#64271846) Homepage
      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...
      • 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!

      • by mjwx ( 966435 )

        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.

      • I once tested this idea with a large coil I placed against the ceiling, hoping that my upstairs neighbour's equipment would be caught within the near field. I then played some horrible schlager through the coil. Unfortunately, the only effect I got was on my side, with a large metal rack vibrating to the tune.
    • 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.

      • In this case, it's near-field, so I don't think so.
        He's disrupting the big magnets in the speakers with his big magnets. There is no spectrum.
    • That's too bad. It would have been nicer if it were able to turn down the volume on the speakers.
  • 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 ;-)

  • Congratulations, you bought yourself a ticket to luxury accomodations at the federal penitentiary courtesy of the FCC.

    • by t.reagan ( 7420066 ) on Monday February 26, 2024 @07:58PM (#64271022)
      I don't think that applies in Argentina.

      https://www.hackster.io/roni-b... [hackster.io]

      • by Dusanyu ( 675778 )
        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.
        • by mjwx ( 966435 )

          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)

      by Tablizer ( 95088 )

      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

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

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

      • 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? ;)

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

      • Yes, it does.
        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)

    by awwshit ( 6214476 ) on Monday February 26, 2024 @08:17PM (#64271066)

    Noise cancellation would have been more impressive.

    • Re: (Score:1, Insightful)

      by Trevorm7 ( 1082535 )
      That's like saying it's better to cover up the smell of dog shit with Febreze instead of handling the source of the smell, which is the dog shit.
    • Or just use a personal white noise generator. Works great at 1am when the loud drunks walk the streets.
    • Re: (Score:3, Insightful)

      by AmiMoJo ( 196126 )

      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.

      • by dargaud ( 518470 )
        Partly wrong. There are available systems now that are installed all around outdoors concert venues to attenuate the lower boom-boom frequencies for the neighborhood. They need to be calibrated an positioned precisely but they work.
    • by dargaud ( 518470 )
      I've long wondered if building some noise cancellation in my front yard would be feasible. Morons with exhaust-less bikes or souped-up cars pass multiple times a minute when the weather is good... I know this tech already exists for concert venues outdoors. I've done some acoustic research software in the 90s so I should get to it... And I wonder if the reverse is possible: above a certain noise threshold, use several speakers to generate an in-phase sound directed at the origin. If a resonance can be built
      • by hawk ( 1151 )

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

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

    • by irving47 ( 73147 )

      https://en.wikipedia.org/wiki/Ente_Nacional_de_Comunicaciones

      There's his FCC equivalent. How's your spanish? (Or how good is your translator?)

  • 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!

  • This is a fun project, but in many countries actually illegal.
  • 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

  • by Tokolosh ( 1256448 ) on Tuesday February 27, 2024 @05:30AM (#64271886)

    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.

  • "I think that there are certain crimes which the law cannot touch and which, therefore, to some extend, justify private revenge."

    • by La Gris ( 531858 )

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

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

  • That's this [youtube.com], right?

  • Whether they like it or not.

  • Looks like it uses off the shelf, FCC approved components, but it's use is definitely designed to be a jammer, and that's usually a no-no.

"Ask not what A Group of Employees can do for you. But ask what can All Employees do for A Group of Employees." -- Mike Dennison

Working...