Giter VIP home page Giter VIP logo

project-musicvisualizer's Introduction

Music Visualizer

January 2024 - March 2024 (3 months)

This is a simple music visualization project created as one of my programming assignments. This site visualizes audio files in various ways using the Fourier transform function provided by the p5.js sound library. While some basic modules were written by the instructor as templates, I made slight modifications for better visualization and added new ideas.

Features

  1. Noise Pixels (Original)
  2. Firework Beats
  3. Wave Pattern (Modified)
  4. Ridge Plot (Customization Added)
  5. Circlular (Original)
  6. Blocks
  7. Needle
  8. Spectrum (Modified)
  9. Spectrum Dots (Original)

Technical Focus

  • This project aimed to apply advanced programming skills by utilizing complex objects and arrays, and to become familiar with simulation and motion coding.
  • Improved the user interface (UI) using p5.DOM.
  • Wrote code in an object-oriented programming style.
  • Implemented modern JavaScript (ES6, private variables, classes, etc.).
  • Leveraged p5.js instance mode to use ES6 modules.
  • Supports jsdoc.
  • FFT.analyze() returns an array of 1024 values between 0 and 255. Each value represents the amplitude (loudness) of a small frequency range (pitch of the sound).
  • FFT.waveform() returns an array of 1024 values between -1 and 1. Each value represents the amplitude of the sound over a small period of time.
  • FFT.energy(freq1, [freq2]) returns the volume of the sound in the frequency range specified by the freq1 and freq2 parameters.

Demo

vis-demo-fast.webm

Visit Site jsdoc

Tech Stack

Frontend

  • Libraries: p5.js, p5.sound, p5.DOM
  • Language: JavaScript
  • Styling: CSS

Backend

  • None

Development Environment

  • Source Code: GitHub

Cloud Services and Deployment

  • Hosting and Deployment: Netlify

References

project-musicvisualizer's People

Contributors

urbanscratcher avatar

Stargazers

 avatar

Watchers

 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.