Giter Club home page Giter Club logo

ual-cci-creative-coding-p5js-visual-sound-waves's Introduction

Dynamic Wave Visualization with Music

This project combines music playback with dynamic wave visualization using p5.js. It analyzes the frequency spectrum of a loaded audio file in real-time and creates a mesmerizing visual representation that pulsates with the music.

Features

  • Real-time analysis of frequency spectrum using Fast Fourier Transform (FFT)
  • Dynamic wave visualization that responds to the music's bass, mid, and treble frequencies
  • Trailing effect achieved with a low alpha background
  • Interactive start: press the mouse to begin music playback and visualization

Usage

  1. Clone the repository or download the source files.
  2. Place your desired music file (in .mp3 format) in the project directory and name it music.mp3.
  3. Open the index.html file in a web browser.
  4. Click and hold the mouse to start the music playback and visualize the dynamic wave.

Customization

  • Adjust the alpha value increment in the draw() function to control the fading effect.
  • Experiment with the map() function parameters in the drawDynamicWave() function to modify the wave's behavior and appearance.
  • Explore additional p5.js features to add more visual elements or effects.

Dependencies

  • p5.js: A JavaScript library for creative coding, providing a full set of drawing functionality.

Authorship

A code project by Wong Jo-Hann

23/24 Creative Making: Design and Coding Visuals

Creative Computing BSc class

UAL CCI University Of the Arts London

ual-cci-creative-coding-p5js-visual-sound-waves's People

Contributors

jodistroyer 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.