Musica

by Alexander in Scripts and Addons

How to use:

Creating usual animation for one or several objects:

  1. Select an object or several objects in your scene
  2. Be sure that all objects have an inserted keyframe (you can insert keyframes by pressing I button in Object Mode, it can be object's scale, or any value of the object's material)
  3. Select an audio file which you will use for animation ('File' input field)
  4. Setup Low and High values of frequencies or select a file with that settings ('From file' input field)
  5. Setup other parameters (they are explained below)
  6. Press Animate button and wait while the process is running
  7. Press Alt+A to see the result


Creating animation for a curve:

  1. Select an Curve object (just 1 object)
  2. Setup all the parameters you need
  3. Press Animate
  4. Press Alt+A to see the result


Settings of the addon:

  1. ANIMATION TAB:
  2. File: select a file that will be used for animation
  3. From file: select a file with a frequency settings (if you need custom frequencies; it must be a .txt file with such structure as you can see on the image below; the number of lines in file must be the same as the number of objects you are gonna animate)
  4. Low: if 'From file:' field is empty, this is the lowest frequency
  5. High: if 'From file:' field is empty, this is the highest frequency
  6. Attack: value that tells how fast the hull curve can rise
  7. Release: value that tells how fast the hull curve can fall
  8. Threshold: minimum amplitude value needed to influence the hull curve
  9. Accumulate: only positive differences of the hull curve amplitudes will be summarized to produce the output
  10. Additive: the amplitudes of the hull curve will be summarized
  11. Square: the output will be a square curve (negative values always result in -1, positive ones in 1)
  12. Square threshold: values with the absolute amplitude lower than that will be resulted in 0 (if Square is enabled)
  13. Import audio: if this checkbox is selected, the audio file you are using for animation will be added to Video Sequence Editor
  14. Rename objects: if this checkbox is selected, objects will be renamed according to frequencies which would be applied to them (for example, if Low frequency for the object is 100 and High is 1000, object will be renamed to '100-1000Hz')
  15. Reversed order: reverse the order for animating objects
  16. CREATE ARRAY TAB:
  17. Offset: offset for duplicating objects
  18. Count: the number of copies whcih will be created
  19. Single-user Materials: make materials single-user for each duplicated object