Sine-wave Speech Demonstrates An Auditory One-way Door

Sine-wave speech can be thought of as a sort of auditory illusion, a sensory edge case in which one’s experience has a clear “before” and “after” moment, like going through a one-way door.

Sine-wave speech (SWS) is intentionally-degraded audio. Here are the samples, and here’s what to do:

  1. Choose a sample and listen to the sine-wave speech version (SWS). Most people will perceive an unintelligible mix of tones and beeps.
  2. Listen to the original version of the sentence.
  3. Now listen to the SWS version again.

Most people will hear only some tones and beeps when first listening to sine-wave speech. But after hearing the original version once, the SWS version suddenly becomes intelligible (albeit degraded-sounding).

These samples were originally part of research by [Chris Darwin] into speech perception, but the curious way in which one’s experience of a SWS sample can change is pretty interesting. The idea is that upon listening to the original sample, the brain — fantastic prediction and learning engine that it is — now knows better what to expect, and applies that without the listener being consciously aware. In fact, if one listens to enough different SWS samples, one begins to gain the ability to understand the SWS versions without having to be exposed to the originals. In his recent book The Experience Machine: How Our Minds Predict and Shape Reality, Andy Clark discusses how this process may be similar to how humans gain fluency in a new language, perceiving things like pauses and breaks and word forms that are unintelligible to a novice.

This is in some ways similar to the “Green Needle / Brainstorm” phenomenon, in which a viewer hears a voice saying either “green needle” or “brainstorm” depending on which word they are primed to hear. We’ve also previously seen other auditory strangeness in which the brain perceives ever-increasing tempo in music that isn’t actually there (the Accelerando Illusion, about halfway down the list in this post.)

Curious about the technical details behind sine-wave speech, and how it was generated? We sure hope so, because we can point you to details on SWS as well as to the (free) Praat software that [Chris] used to generate his samples, and the Praat script he wrote to actually create them.

Smart Coffee Replaces Espresso Machine Controller With Arduino, Sensors

A common hacker upgrade to an espresso machine is to improve stability and performance with a better temperature controller, but [Schematix]’s Smart Coffee project doesn’t stop there. It entirely replaces the machine’s controller and provides an optional array of improvements for a variety of single-boiler machines (which is most of them).

Smart Coffee isn’t free, it costs 16 NZD (about 10 USD) but there is a free demo version. There is no official support, but there are wiring guides and sources aplenty from which to purchase the various optional parts. It runs on an Arduino MEGA 2560 PRO (or similar microcontroller) and supports a wide array of additional hardware including pressure transducer, water level sensor, flow meter, OLED display, and more.

Modification of one’s espresso machine is a rewarding endeavor, but the Smart Coffee project provides a way for one to get straight to the hacking and function modifying, instead of figuring out the wiring hardware interfacing from scratch.

We’ve seen [Schematix]’s work before with a DIY induction heater which showed off thoughtful design, and it’s clear he takes his coffee at least as seriously. Check out the highly comprehensive overview and installation video for Smart Coffee, embedded just below the page break.

Continue reading “Smart Coffee Replaces Espresso Machine Controller With Arduino, Sensors”

How Warehouse Robots Actually Work, As Explained By Amazon

Amazon has been using robots to manage and automate their warehouses for years. Here’s a short feature on their current robot, Hercules. This is absolutely Amazon tooting their own horn, but if you have been curious about what exactly such robots do, and how exactly they help a busy warehouse work better, it’s a good summary with some technical details.

Amazon claims to have over 750,000 robots across their network.

The main idea is that goods are stored on four-sided shelves called pods. Hercules can scoot underneath to lift and move these pods a little like a robotic forklift, except much smaller and more nimble. Interestingly, the robots avoid rotating shelves as much as possible and are designed to facilitate this. To change direction, Hercules sets the pod down, turns, then picks the pod back up.

The overall system is centralized, but Hercules itself navigates autonomously thanks to a depth-sensing camera and a grid of navigation markers present on the floor throughout the facility.  Hercules also can wirelessly sense and communicate with nearby human-worn vests and other robots outside its line of sight.

Essentially, instead of human workers walking up and down aisles of shelves to pick products, the product shelves come to the humans. This means the organization and layout of the shelves themselves can be dynamic, higher density, and optimized for efficient robotic access. Shelves do not need to be in fixed rows or aisles, conform to a human-readable categorical layout, nor do they necessarily need walking space between them.

Sometimes robots really are the right tool for the job, and our favorite product-retrieval robot remains [Cliff Stoll]’s crawlspace warehouse bot, a diminutive device made to access boxes of product — in [Cliff]’s case, Klein bottles — stored in an otherwise quite claustrophobic crawlspace.

Passive Desalination Discovers How To Avoid Salt-Clogging

Saltwater is plentiful, but no good for drinking. Desalinization is the obvious solution, but a big problem isn’t taking the salt out, it’s where all that leftover salt goes. Excess salt accumulates, crystallizes, collects, and clogs a system. Dealing with this means maintenance, which means higher costs, which ultimately limits scalability.

The good news is that engineers at MIT and in China have succeeded in creating a desalination system that avoids this problem by intrinsically flushing accumulated salt as it is created, keeping the system clean. And what’s more, the whole thing is both scalable and entirely passive. The required energy all comes from gravity and the sun’s heat.

To do this, the device is constructed in such a way that it mimics the thermohaline circulation of the ocean on a small scale. This is a process in which temperature and density differentials drive a constant circulation and exchange. In the team’s system, this ultimately flushes concentrations of salt out of the system before it has a chance to collect.

The entirely passive nature of the device, its scalability, and the fact that it could desalinate water without accumulating salt for years means an extremely low cost to operate. The operating principle makes sense, but of course, it is careful engineering that shows it is actually possible. We have seen projects leveraging the passive heating and circulation of water before, but this is a whole new angle on letting the sun do the work.

RP2040 picture on left by Phiarc, CC BY-SA 4.0, via Wikimedia

Kaluma Puts JavaScript On The RP2040

With a simple firmware update, Kaluma puts a lightweight JavaScript runtime on the Raspberry Pi Pico (which uses the RP2040 microcontroller), providing handy modules for file systems, graphics, networking, and more. Code for a simple LED blink can then look like:

// index.js
const led = 25;
pinMode(led, OUTPUT);
setInterval(() => {
digitalToggle(led);
}, 1000);

Development can then be done using tools that are very familiar to JavaScript developers, such as npm and flashing new code to a USB-connected Pico with the (Node.js-based) Kaluma command-line interface. Take a look at the GitHub repository for the project, or browse some of the projects made with Kaluma.

Much like with MicroPython, there’s value to be had in putting implementations of high-level languages on microcontrollers. Each new language opens embedded programming to a whole new group of coders. But it’s not just languages making their way to the RP2040. Wonderful projects such as emulating the ZX Spectrum on an RP2040 also happen.

Thanks to [Shri Hari Ram] for the tip!

These DIY Super Headphones Take Sound Seriously

[Pete Lewis] from SparkFun takes audio and comfort seriously, and recently shared details on making a customized set of Super Headphones, granting quality sound and stereo ambient passthrough, while providing hearing protection at the same time by isolating the wearer from the environment.

Such products can be purchased off the shelf (usually called some variant of “electronic hearing protection”), but every hacker knows nothing beats some DIY to get exactly the features one wants. After all, off-the-shelf solutions are focused on hearing protection, not sound quality. [Pete] also wanted features like the ability to freely adjust how much ambient sound was mixed in, as well as the ability to integrate a line-level audio source or Bluetooth input.

Early prototype of Super Headphones (click to enlarge)

On the surface the required components are straightforward, but as usual, the devil is in the details. Microphone selection, for example, required a lot of testing. A good microphone needed to be able to deal with extremely loud ambient sounds without distortion, yet still be sensitive enough to be useful. [Pete] found a good solution, but also muses that two sets of microphones (one for loud environments, and one for quieter) might be worth a try.

After several prototypes, the result is headphones that allow safe and loud band practice in a basement as easily as they provide high-quality music and situational awareness while mowing the lawn. Even so, [Pete]’s not done yet. He’s working on improving comfort by using photogrammetry to help design and 3D print custom-fitted components.

Micro Robot Disregards Gears, Embraces Explosions

Researchers at Cornell University have developed a tiny, proof of concept robot that moves its four limbs by rapidly igniting a combination of methane and oxygen inside flexible joints.

The device can’t do much more than blow each limb outward with a varying amount of force, but that’s enough to be able to steer and move the little unit. It has enough power to make some very impressive jumps. The ability to navigate even with such limited actuators is reminiscent of hopped-up bristebots.

Electronic control of combustions in the joints allows for up to 100 explosions per second, which is enough force to do useful work. The prototype is only 29 millimeters long and weighs only 1.6 grams, but it can jump up to 56 centimeters and move at almost 17 centimeters per second.

The prototype is tethered, so those numbers don’t include having to carry its own power or fuel supply, but as a proof of concept it’s pretty interesting. Reportedly a downside is that the process is rather noisy, which we suppose isn’t surprising.

Want to see it in action? Watch the video (embedded below) to get an idea of what it’s capable of. More details are available from the research paper, as well.

Continue reading “Micro Robot Disregards Gears, Embraces Explosions”