Coder Social home page Coder Social logo

audiovisualization.py's Introduction

AudioVisualization.py

A set of audio analysis and visualisation tool

Dependencies

AudioVisualization depends on several modules which requires an installation through pip (Python Package Manager)

Including:

  • Numpy
  • Matplotlib
  • Aubio
  • Pyaudio

Explanation for each file

  • wave_viualizer.py

This script just shows the audiowaves of your microphone input in realtime.

  • wavelength_to_rgb.py

A script which converts wavelength to an RGB color. (Thanks to Noah.org for this script, http://www.noah.org/wiki/Wavelength_to_RGB_in_Python)

Also available on my LifeEasy python library (coming soon)

  • realtime_analyze.py

Gives you the volume and the pitch (in Hz) printed in real-time (in your python console).

  • pitch_color_visualizer.py

Displays a color representing the current average frequency playing from your default microphone input.

The color range is as follows: Red (low frequency) to Blue (high frequency) (you can inverted that in the script doing simple maths).

  • pitch_plotting.py

Plots the current average frequency playing from your default microphone input and gives an average from the beggining of the session.

Test Data

The test data folder currently contains two files (I had more but not needed here) to test the programs (these files are just raw piano sounds playing 3 notes at two different octaves).

What I did to test the programs is going to tone generator websites too (Like this one: https://www.szynalski.com/tone-generator/).

©Anime no Sekai - 2020

audiovisualization.py's People

Contributors

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