Skip to content

claytonNighthawk/Unity-AudioVisualization-

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity-AudioVisualization-

Messy clump of hobby code meant to play songs with a simple visualization. Lots random stuff laying about in there from my learning/testing process. Hopefully I'll be getting things tidy shortly, but if you're feeling brave, take a look and feel free to contribute!

What to do:

Create a link to your music folder under StreamingAssets/Music, or dump a few .mp3's in there.

Hit Play in the Editor, then press the Spacebar. Arrow keys control the camera motion, "S" skips to a random track. Numbered keys (non-keypad) should skip around the song.

Video sample: https://www.youtube.com/watch?v=Q-0KR2F0oEk

NOTES:

This project is far from perfect, but it's a good start for somebody that wants to see an application of applying audio spectrum output to visuals. As far as I can remember, the NAudio plugin only works on Windows.

Future:

What I'd like to do, first and foremost, is get the scene and code cleaned up so it's more easily readable. However, I would like to get the following in place, and feel free to fork/contribute! ** Cleaned up some of the code for better readability and flow -claytonNighthawk

  • Music browser and playlist - allow user to open a dialogue to select songs to play or add to a playlist.
    • Half done but its not usable outside of the editor... -claytonNighthawk
  • Audio streaming - not just .mp3's, but most common audio formats including .ogg and .mp4. Currently the audio must be placed in a resource folder and exported to .wav temporarily.
    • Looking into a way to read other formats -claytonNighthawk
  • Real-time device listening - instead of having to play mp3s, I want the visualization to work off any audio playing on the system.
  • Submit your ideas to go here!

About

Patterned "bar equalizer" audio visualization in Unity 5.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 66.2%
  • GLSL 33.8%