Skip to content

tmoosting/Stratovarius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stratovarius

A Music-Weather Mapping Tool

Synesthesia: the transfiguration of senses. Stratovarius converts sound into weather. Give it any .mp3 or .wav song so that it maps pitch and volume data into cloud patterns and weather effects: rain, snow and lightning.

Demos (.mkv)

LUMIX - Monster

Beethoven

WebGL

Link

Instructions

  • Find the attached zip file, unzip into a folder.
  • Use Unity (any recent version) to open the folder.
  • Open the Main Scene, found in Assets/Scenes.
  • Find the Assets/Audio folder and drag in any song in (.mp3 and .wav).
  • In the Hierarchy, on the left, click on the Equalizer GameObject. Then in the Inspector, on the right, find the Audio Source - Audio Clip field. Drag the desired song from Assets/Audio into this field. It will then play when the program is run.
  • Primary tweaking can be done through WeatherController GameObject, found in the Hierarchy. Select a preset to match your song: Heavy Bass, Pop, or Classical.
  • Click the Run button to start. If you disable the Maximize on Play toggle, a qualizer-debug-line is drawn in the scene.

Code

Work is done in the Update() functions of the Equalizer and WeatherController scripts. Equalizer assembles the spectrum data every frame, WeatherController controls the primary weather effects that use it.

Tweaking Values

  • The four ‘zones’, as described above, are defined under the header Ranges, each of which can be directly visualized by entering the range number (1,2,3,4) in the Debug Range field (0 means disabled).
  • The three presets’ relevant values are found under Threshold 1, 2, and 3. The minimum requirement for each weather phenomenon can be tweaked here.
  • Cloud and Lightning are separate headers each with several specific behavioral tweaks. Feel free to mess with these, especially during runtime.

In collaboration with Freek van H.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages