Coder Social home page Coder Social logo

data_mosh's Introduction

╭━━━┳━━━┳━━━━┳━━━╮╭━╮╭━┳━━━┳━━━┳╮╱╭╮ ╰╮╭╮┃╭━╮┃╭╮╭╮┃╭━╮┃┃┃╰╯┃┃╭━╮┃╭━╮┃┃╱┃┃ ╱┃┃┃┃┃╱┃┣╯┃┃╰┫┃╱┃┃┃╭╮╭╮┃┃╱┃┃╰━━┫╰━╯┃ ╱┃┃┃┃╰━╯┃╱┃┃╱┃╰━╯┃┃┃┃┃┃┃┃╱┃┣━━╮┃╭━╮┃ ╭╯╰╯┃╭━╮┃╱┃┃╱┃╭━╮┃┃┃┃┃┃┃╰━╯┃╰━╯┃┃╱┃┃ ╰━━━┻╯╱╰╯╱╰╯╱╰╯╱╰╯╰╯╰╯╰┻━━━┻━━━┻╯╱╰╯

Authored by Max Brockabnk

Updated on March 10th, 2021

Description

Welcome to Data Mosh! An audio visualizer to take your music listening experience to the next level. Currently there are two vizualization experiences to choose from, the ability to adjust the color of the visuals, and a song selection pulled from a custom Firebase Database.


Visit the live site here.


Minimum Viable Product

  • A sleek, minimal UI
  • A firebase database of audio files
  • Reactive animation to selected music file

Required Technologies

  • Modern Web Browser
  • Text Editor
  • NodeJS / NPM

Set-up Instructions

  1. Click on the green Code button and copy the URL that shows up.

  2. Open up your computer's terminal and navigate to the desktop directory cd Desktop or any other directory you'd like the project to live in.

  3. Open this project in your text editor.

  4. In the terminal navigate to the project's root directory and install node_modules with the command npm i.

  5. Next you'll have to set up a project with Google Firebase. Click here to see how.

  6. Once you have set up your Firebase project, go to the Firebase console, and navigate to the Storage page. Here you will create a new folder called mp3Files and in it you'll put your audio files.

  7. Then you'll want to go to the Project Settings and find the code snippet with the object firebaseConfig. You'll creat an .env file in the root directory of the project, and each of the string values you will put in the file with a variable name starting with REACT_APP_FIREBASE.

Example:

REACT_APP_FIREBASE_API_KEY = (your api key string here)
  1. Before you are able to actually pull and use the audio files from your Firebase Storage, you will need to adjust the CORS rules for the bucket. Click here to see how. I used the gsutil CLI mentioned in those instructions. The link for the gsutil CLI install instructirions is here.
  2. Finally to build and start the development server and view the project run the command npm start.

Technologies Used

  • JavaScript / React
  • React-Bootstrap
  • CSS
  • Firebase
  • Canvas API
  • Web Audio API

Component Diagram

Data Mosh Component Diagram

Known Bugs

Legal

  • Copyright © 2020 Max Brockbank
  • This software is licensed under the MIT license

data_mosh's People

Watchers

James Cloos avatar Max Brockbank avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.