Planet Music

Planet Music is a sound visualizer on the moon! The current version has a set playlist of 6 songs that can be activated with the media player buttons. The space scene reacts to the sound using a fast Fourier transform (FFT). Here is a sample video:

Try it for yourself here (Notes: please allow ~20 seconds to load. Currently not optimized for mobile)

Continue reading Planet Music

Final Project Proposal: The Dynamic Music Visualizer

I’m fascinated by the way sound and images combine, and how we perceive them. I like concerts because the music is accompanied by visual compliments, whether it is lighting, dancing, or (increasingly) digital images and videos on the big screens.

In the big leagues, these visualizations are high-quality animations, often specifically designed for the song that is playing. One that always comes to mind is the animation that accompanied Tiesto’s ‘Escape Me’ during his Kaleidoscope world tour. It was many years ago, and this was the best video I could find:

Amazing production, the visuals really complimented the song; but what about music in the mid-leagues or little-leagues? Is it possible to entertain and engage people with more accessible stuff? This is the avenue I would like to explore for this final project.

My goal is to create a dynamic music visualizer – an accessible sketch that detects something in the music data and provides visual feedback in real (or near-real) time.

Continue reading Final Project Proposal: The Dynamic Music Visualizer

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

From API to LED: First Connection

The simple joy of making one single LED light turn on returns this week with the first step towards linking the IRL, moving, ever-changing internet to an Arduino.

Using serial communication and an API call, the green and red lights indicate if the price of Ethereum – a popular cryptocurrency – has gone up or down in the past hour, as per Coin Markets Cap.

What is more, this light shines with different intensity depending on the degree to which the price has changed (i.e. bigger increase = brighter green light).

Continue reading From API to LED: First Connection

Two D-10 vs One D-20

The dice theme continues this week with a p5 program that lets you roll a variety of dice and observe the historical distribution of your rolls.

Play with it here (best done on a computer, not mobile).

Inspired by D&D and my general fascination with stats – this is designed as an interactive and informational tool to observe what distributions can be expected. Compare, for example…

Continue reading Two D-10 vs One D-20

Pull back the curtain

Computational Media is super cool to me for a couple reasons:

    1. Pulling back the curtain on programming and thinking like a computer.
      I have limited programming experience that mostly involves expletives and frustration. I see this class as the perfect opportunity to increase my code literacy and increase the intuition involved when trying to get the computer to do what I say!

      when the p5 shape wont move

      I like what we have done so far in p5 because its a very WSYIWG approach to programming. Instead of having to print() every line and interpret it, you can visually see what changing a function or number is doing to your program. Yet I look forward to the challenge of this no longer being available, just now equipped with a new understand of how the computer works, and being able to navigate the internet for the answers I need more efficiently (i.e. how to google like a programmer.

Continue reading Pull back the curtain

Spend two hours making a child-like drawing

Hi ICM class.

Many many years ago, my friends and I created a “logo” for our “squad” called The Muffin Men. The logo itself is a muffin that reflects the sentiment of the name: funny & cute, but maybe serious?

You can see one (pixelated) rendition of the logo at the top of the page. For this week’s exercise I created the muffin in p5 and it looks like this:

To do this I utilized the p5 Shape reference page and made the muffin out of shapes primarily including the curveVertex() function to make the curves you see around the muffin top. To make the eyes, I tried a different curve function called quadraticVertex(), which I like much better.

Continue reading Spend two hours making a child-like drawing