Code Monkey home page Code Monkey logo

0x48piraj / aos Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 2.0 8.93 MB

Aroma of the Songs — Visualizing music in the form of intricate rose petals using moving cube traces.

Home Page: https://0x48piraj.com/projects/aos/

License: MIT License

Python 0.15% JavaScript 63.27% HTML 10.01% Shell 0.05% CSS 26.52%
aromaofsongs aromaofthesongs audio-processing audio-visualizer experimentation mathematical-modelling music-information-retrieval music-visualizer projectaos vizualisation

aos's People

Contributors

0x48piraj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dashbaord202401

aos's Issues

Draw function abruptly leaving the canvas on song completion

Bug:

When the song finishes, the drawing function finalizes leaving the canvas uncompleted (viz. in middle).

Possible solution:

Adjusting the whole song. Synchronizing the song with box size. (get song's duration, if > x (66?) { handler() })

Exporting & displaying the all viz.

Rather than just exporting the current canvas to img tag via utilizing HTMLCanvasElement.toDataURL(), users should be able to see all the viz.

Possible solution:

Using DOM manipulation to create an Image gallery.

Other forms of audio input

  • Spotify or any other audio streaming service or,
  • Free Music API

  • Supports loading songs from remote URL

Classify the song

Classifying the song using mathematical techniques and providing an auto mode which utilizes this feature to choose the appropriate color, for example,

if (song==romantic) {
  setColor(red)
} else if (song==abstract) {
 ...
}

Emotion aware music detection, know what kind of song it is using lyrics & NLP, A# sharp, or utilising other techniques without using computationally intensive methods.

Building custom p5 loader screen

TODO:

Implementing a custom loading screen.

Bug:

Currently, the default p5 loader shows Loading ... while the color picker renders way before the setup() finishes loading.

Multiple bugs on song change

Bugs:

  1. When changing the song without pausing, two songs overlap and the app becomes unresponsive.
  2. When toggling the song, causing it to pause then changing the song and playing the new song makes the canvas overwrite the previous content.

Both these bugs can be squashed by declaring proper actions and wrapping them with an event listener preferably using addEventListener()

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.