Text-to-Speech Model Can Do Music, Background Noises, And Sound Effects

Bark is a universal text-to-audio model that can not only create realistic speech, it can incorporate music, background noises, and sound effects. It can even include non-speech sounds like laughter, sighs, throat clearings, and similar elements. But despite the fact that it can deliver such complex results, it’s important to understand some of the peculiarities.

The model takes a prompt and generates the resulting sound from scratch. Results might sometimes be unexpected.

Bark is not a conventional text-to-speech program, and how it works has a lot more in common with large language model AI chatbots. This means that results can deviate from expectations, and outputs aren’t necessarily going to be studio-quality speech. As the project’s README points out, “(generated outputs can) be anything from perfect speech to multiple people arguing at a baseball game recorded with bad microphones.” That being said, there is some support for voice presets as a way to help guide the model with some consistency.

Bark was designed by a company called Suno for research purposes and is available under the MIT License. It can be installed and run locally, and has some demos available as well as an online implementation.

The ability to install and run Bark locally is promising territory for incorporating it into projects. And should you be more interested in speech-to-text instead, don’t forget about this plain C/C++ implementaion of AI-powered speech recognition.

Superconducting Tape Leads To A Smaller Tokamak

Attempts to make a viable nuclear fusion reactor have on the whole been the domain of megabucks projects supported by countries or groups of countries, such as the European JET or newer ITER projects. This is not to say that smaller efforts aren’t capable of making their own advances, operations in both the USA and the UK are working on new reactors that use a novel superconducting tape to achieve a much smaller device.

The reactors in the works from both Oxfordshire-based Tokamak Energy and Massachusetts-based Commonwealth Fusion Systems, or CFS, are tokamaks, a Russian acronym describing a toroidal chamber in which a ring of high-temperature plasma is contained within a spiral magnetic field. Reactors such as JET or ITER are also tokamaks, and among the many challenges facing a tokamak designer is the stable creation and maintenance of that field. In this, the new tokamaks have an ace up their sleeve, in the form of a high-temperature superconducting tape from which those super-powerful magnets can be constructed. This makes the magnets easier to make, cheaper to maintain at their required temperature, and smaller than the low-temperature superconductors found in previous designs.

The world of nuclear fusion is a particularly exciting one to follow in these times of climate crisis, with competing approaches from laser-based devices racing with the tokamak projects to produce the research which will eventually lead to safer carbon-free power. If the CFS or Tokamak Energy reactors lead eventually to a fusion power station on the edge of our cities then it may just be some of the most important work we’ve ever reported.

Open Source OLED Nametag Is Full Of Features

Ever wanted a sweet OLED nametag with fancy features like daylight readability, automatic brightness adjustment, GIF animation support, all-day runtime, easy web interface, and more? [TobleMiner]’s OLED Nametag is the project you want to keep an eye on in that case.

It’s still an early prototype, but the feature list looks great and works with a variety of OLED modules that are easily available. The enclosure can be 3D printed, and while there is very little spare room inside the housing, [TobleMiner] has clearly made the most of all available space. Some PCB fab houses offer component placement these days, and the board is designed with exactly that in mind.

We’ve seen a batteryless E-paper display make a serviceable nametag in the past, and while those offer high contrast and wide viewing angles, they lack the sort of features this project is bursting at the seams with. Affordable access to good components and the ability to have high-quality PCBs made on demand has really raised the bar in terms of what a hacker project can work with in recent years, and we love to see it expressed in projects like this one.

Hackaday Prize 2023: Meet The Assistive Tech Finalists

If you’re still toiling away at your entry for the Gearing Up Challenge of the 2023 Hackaday Prize, don’t panic! No, you haven’t lost track of time — due to some technical difficulties we had to delay the final judging for the Assistive Tech Challenge that ended May 30th.

Today we’re pleased to announce that all the votes are in, and we’re ready to unveil the ten projects that our panel of judges felt best captured the spirit of this very important challenge. Each of these projects will take home $500 and move on to the final round of judging. There are few more noble pursuits than using your talents to help improve the lives of others, so although we could only pick ten finalists, we’d like to say a special thanks to everyone who entered this round.

Continue reading “Hackaday Prize 2023: Meet The Assistive Tech Finalists”

DIY Laser For Ablating Metal

For those who wish to go beyond through-hole construction on perfboard for their circuit boards, a printed circuit board is usually the next step up. Allowing for things like surface-mount components, multi-layer boards, and a wider array of parts, they are much more versatile but do have a slight downside in that they are a little bit harder to make. There are lots of methods for producing them at home or makerspace, though, and although we’ve seen plenty of methods for their production like toner transfer, photoresist, and CNC milling, it’s also possible to make them using laser ablation, although you do need a special laser to get this job done.

The problem with cutting copper is that it reflects infra-red, so a higher-wavelength blue green laser is used instead. And because you want to ablate the copper, but not melt the surrounding areas or cut straight through the board, extremely short, high-power pulses are the way to go. Here, the [Munich Fab Lab] is using 9 kW pulses of around 30 microseconds each.  With these specifications the copper is ablated from the surface of the board allowing for fine details in the range of about 20 µm, which is fine enough for just about any circuit board. The design of the laser head itself is worth a look.

Aside from the laser, the rest is standard CNC machine fodder, but with an emphasis on safety that’s appropriate for a tool in a shared workspace, and the whole project is published under an open license and offers an affordable solution for larger-scale PCB production with extremely fine resolution and without the need for any amounts of chemicals for the more common PCB production methods. There is a lot more information available on the project’s webpage and its GitHub page as well.

Of course, there are other methods of producing PCBs by laser if you happen to have a 20 W fiber laser just kicking around.

Hackaday Links Column Banner

Hackaday Links: July 16, 2023

Last week, we noted an attempt to fix a hardware problem with software, which backfired pretty dramatically for Ford when they tried to counter the tendency for driveshafts to fall out of certain of their cars by automatically applying the electric parking brake.

This week, the story is a little different, but still illustrates how software and hardware can interact unpredictably, especially in the automotive space. The story centers on a 2015 Optima recall for a software update for the knock sensor detection system. We can’t find the specifics, but if this recall on a similar Kia model in the same model year range and a class-action lawsuit are any indication, the update looks like it would have made the KSDS more sensitive to worn connecting rod damage, and forced the car into “limp home mode” to limit damage to the engine if knocking is detected.

A clever solution to a mechanical problem? Perhaps, but because the Kia owner in the story claims not to have received the snail-mail recall notice, she got no warning when her bearings started wearing out. Result: a $6,000 bill for a new engine, which she was forced to cover out of pocket. Granted, this software fix isn’t quite as egregious as Ford’s workaround for weak driveshaft mounting bolts, and there may very well have been a lack of maintenance by the car’s owner. But if you’re a Kia mechanical engineer, wouldn’t your first instinct have been to fix the problem causing the rod bearings to wear out, rather than papering over the problem with software?

Continue reading “Hackaday Links: July 16, 2023”

Ask Hackaday: Learn Assembly First, Last, Or Never?

A few days ago, I ran into an online post where someone pointed out the book “Learn to Program with Assembly” and asked if anyone had ever learned assembly language as a first programming language. I had to smile because, if you are a certain age, your first language may well have been assembly, even if it was assembly for machines that never existed.

Of course, that was a long time ago. It is more likely, these days, if you are over 40, you might have learned BASIC first. Go younger, and you start skewing towards Java, Javascript, or even C. It got me thinking, though: should people learn assembly, and if so, when?

Continue reading “Ask Hackaday: Learn Assembly First, Last, Or Never?”