The Color of Music

Building upon my artist lyrics analyzer project, I made a small web app that searches artist lyrics for the colors that they mention in their songs.

You can try it yourself here.

Continue reading The Color of Music

Lyrics API: Artist Word Choice

Using data from the musixmatch API, I have created a tool that shows what words musical artists use most in their lyrics. It uses a combination of jQuery and D3 libraries to work as a single-page “app”. Try it here.

The web “app” works by finding the artist you search for, and running through every lyric it can find by the artist to develop a lexicon. Once that lexicon is built, you can click on the box that is created to view statistics about their most-used words.

You can also view the most-used overall by clicking the “All Artists” button.

Continue reading Lyrics API: Artist Word Choice

‘Hacking’ the Hue: Control Interface for the API

I have Phillips Hue at home, so using the nice instructions from ITP Light & Interactivity I was able to connect to my home’s hue setup as a developer. Here is a snapshot of my home’s current setup (collected through a GET request after connected):

5 lights and a bunch of scenes

Continue reading ‘Hacking’ the Hue: Control Interface for the API

From API to LED: CRYPT0MANIA

Cryptomania is a sculpture designed as commentary on the cryptocurrency pandemonium. It lights up based on the 1 hour price change (a percentage value) of a particular crypto-currency – Ethereum.

Note: For details on how the physical enclosure was made, read more here. For details on the code and wiring of the crystal, read more here.

Continue reading From API to LED: CRYPT0MANIA

From API to LED: Creating the Crystal

Creating the physical enclosure for the CRYP0MANIA crystal was a project in and of itself. This post is about the crystals physical details.

For a summary of the sculpture overall, read more here. For details on the code and wiring of the crystal, read more here.

Continue reading From API to LED: Creating the Crystal

From API to LED: Digital Details

Lets call it CRYPT0MANIA – the connected crystal.

This post is about the crystals digital details – because it works – it really works!

Note: For a summary of the sculpture overall, read more here. For details on how the physical enclosure was made, read more here

Continue reading From API to LED: Digital Details

From API to LED: Physical Specifications

As the technical feasibility of the API to LED project comes together, it is time to consider the physical specifications, including design, construction, and materials. Here is the current conceptual design:

Continue reading From API to LED: Physical Specifications

From API to LED: Our friend WeMos

Meet our new friend, WeMos D1, aka WeMo, aka WeBro

WeMos D1, aka WeMo, aka WeBro

WeMos is going to use its wifi chip to gather information from the web, and eventually – hopefully – interpret that information and do something about it; namely lighting up some LEDs!

Continue reading From API to LED: Our friend WeMos

Sunrise, Sunset

Above is a little illustration that depicts the sunrise and sunset times (listed on the y-axis) of two locations in the world for each day in the year (spread across the x-axis).

See the code and web version here (press the play button – not optimized for mobile).

In this current case it is the 2016 sunrises and sunsets from Eastern Standard Time (EST) – aka New York –  and Central European Time (namely Switzerland & France).

At many stages in my life, for different reasons, I have found myself doing a mental calculation to imagine this time difference, and specifically when our normal waking hours overlap.

These days, both a friend and my girlfriend’s father are stationed in Switzerland.

This illustration is designed to show that our days share a lot of the same sunlight – especially in the summer. So even if we are far away, we can often look up at the same thing in the sky. ?

Continue reading Sunrise, Sunset

From API to LED: Duplex Communication

Friday night! The perfect time for expanding on the API-to-LED work from last week. The improvement now offers a more diverse set of information and utilizes duplex serial communication.

The result is that now we can now use a toggle-switch to see the 1-hour price change of either Bitcoin or Ethereum in the form of LED lights. The position of the attached toggle switch determines which currency is being shown.

The programming also features a p5 sketch that reflects the information being sent through the serial.

For example, in the video below Ethereum has had a modest positive 1 hour price change (0.06%), so it lights up the green LEDs a teeny bit. At the same time, Bitcoin has had a larger, negative price change (-1.16%), so it lights up the red LEDs quite a bit.

Continue reading From API to LED: Duplex Communication