Cosmic Oscillator: NASA Space Apps Challenge

This web application creates a sonification of astronomical imagery in the browser using computer vision from OpenCV and synthesizers from ToneJS. It was created over the course of roughly 24 hours for the 2023 NASA Space Apps Challenge.

Click the links below to view the code or try it out (Warning: audio may buzz at the end):

Using OpenCV in a Python script, I generated a list of every pixel's RGB value in an image of Rho Ophiuchi taken by the James Webb Space Telescope. Each RGB value controls the pitch of a polyphonic tone in ToneJS, allowing every pixel in the image to be "played." This idea could be expanded to include other spectral values, which could control other parameters of the audio.

Sceenshot of Python code
Pythonn script using OpenCV to get RGB pixel values from an image

My project won the Art & Technology Award for the Dallas, TX location!