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 by James Cole for the 2023 NASA Space Apps Challenge.
https://jamescoledesign.github.io/cosmic-oscillator/
This could be enhanced to include a way for people to generate sonifications by using a URL or uploading an image of their own.
An image of Rho Ophiuchi captured by the James Webb Space Telescope was processed in a Jupyter Notebook, primarily by using Python and OpenCV to calculate every RGB pixel value of the image. These RGB values were exported to JSON format and then consumed by the React application to control frequency parameters of virtual synthesizers created with ToneJS.
In the project directory, you can run:
Installs dependencies.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Launches the test runner in the interactive watch mode.\
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!