Hackaday Links: July 16, 2017

[Carl Bass] has joined the board at Formlabs. This is interesting, and further proof that Print The Legend is now absurdly out of date and should not be used as evidence of anything in the world of 3D printing.

Here’s something cool: a breadboardable dev board for the Parallax Propeller.

Finally, after years of hard work, there’s a change.org petition to stop me. I must congratulate [Peter] for the wonderful graphic for this petition.

Want some flexible circuits? OSHPark is testing something out. If you have an idea for a circuit that would look good on Kapton instead of FR4, shoot OSHPark an email.

SeeMeCNC has some new digs. SeeMeCNC are the creators of the awesome Rostock Max 3D printer and hosts of the Midwest RepRap Festival every March. If you’ve attended MRRF, you’re probably aware their old shop was a bit on the small side. As far as I can figure, they’ll soon have ten times the space as the old shop. What does this mean for the future of MRRF? Probably not much; we’ll find out in February or something.

Rumors of SoundCloud’s impending demise abound. There is some speculation that SoundCloud simply won’t exist by this time next year. There’s a lot of data on the SoundCloud servers, and when it comes to preserving our digital heritage, the Internet Archive (and [Jason Scott]) are the go-to people. Unfortunately, it’s going to cost a fortune to back up SoundCloud, and it would be (one of?) the largest projects the archive team has ever undertaken. Here’s your donation link.

If you’re looking for a place to buy a Raspberry Pi Zero or a Pi Zero W, there’s the Pi Locator, a site that pings stores and tells you where these computers are in stock. Now this site has been expanded to compare the price and stock of 2200 products from ModMyPi, ThePiHut, Pi-Supply, and Kubii.

Retro-Styled Raspberry Pi Radio

Ok, so you want a radio — but not just any radio. It has to be wireless, access a variety of music services, and must have a vintage aesthetic that belies its modern innards. Oh, and a tiny screen that displays album art, because that’s always awesome. This 1938 Emerson AX212-inspired radio delivers.

Building on the backbone of a Raspberry Pi Zero W and an Adafruit MAX 98357 mono amp chip, the crux of this single-speaker radio is the program Mopidy. Mopidy is a music player that enables streaming from multiple services, with the stipulation that you have a premium Spotify account. Once signed up, [Tinkernut] helpfully outlines how to set up Mopidy to run automatically once the Pi boots up. The addition of a screen to display album art adds flair to the design,  and Adafruit’s 1.8″ TFT LCD screen is small enough to fit the bill.

But wait — there’s more!

Continue reading “Retro-Styled Raspberry Pi Radio”

Home audio and lighting taken over by the Raspberry Pi

687474703a2f2f7777772e6265616b61626c652e636f6d2f696d672f707265766965772d312e706e67

We’re beginning to see a lot of momentum building for using Raspberry Pi boards as the basis of your home automation. This latest offering from [Iain Hamilton] combines lighting and audio control through a single web interface. His frontend is run as a web page from the RPi board. It even includes separate layouts for mobile devices and computers in order to maximize use of the screen real estate.

Three buttons at the top of the interface allow him to configure the settings and switch between lighting and audio controls. This audio control screen issues commands to the Spotify client running on the Pi. The Mopidy package takes care of almost everything (as we’ve seen with other single-board computer Spotify servers). Future iterations will offer other streaming services like SoundCloud. [Iain’s] home lighting system uses X10 modules for control. He’s using a USB dongle to facilitate control of that system.

Continue reading “Home audio and lighting taken over by the Raspberry Pi”

Forever.fm: Infinite Beat-matched Music

Forever.fm is [Peter]’s combination of SoundCloud and The Echo Nest that plays a continuous stream of beat-matched music. The result is a web radio station that just keeps playing.

[Peter] provided a great write up on how he built the app. The server side is Python, using the Tornado web server and Tornadio2 + Socket.IO for handling live updates in the client. To deal with the challenge of streaming audio, he wrote a LAME interface for Python that handles encoding the raw, beat-matched audio into MP3 blocks. These blocks are queued up and sent out to the client by the web server.

Another challenge was choosing songs. Forever.fm takes the “hottest” songs from SoundCloud and creates a graph. Then it finds the shortest path to traverse the entire graph: a Travelling Salesman Problem. The solution used by Forever.fm finds an iterative approximation, then uses that to make a list of tracks. Of course, the resulting music is going to be whatever’s hot on SoundCloud. This may, or may not, match your personal tastes.

There’s a lot of neat stuff here, and [Peter] has open-sourced the code on his github if you’re interested in checking out the details.