Skip to content

Audio Spectrum Height-Map

Brief Description

Generates an image based on the Spectrum of an Audio Source. This is useful to be used as a Displacement Map with the Displace modifier.

Controls

Parameter / Script Name Type Default Function
Enabled / enabled Boolean On
Output Format / output_format_mode Choice Composition Format
- Format Preset
- Composition Format
- Custom Format
Format / format_preset Choice HD (1920x1080)
- PC VIDEO (640x480)
- NTSC (720x486:0.91)
- PAL (720x576:1.09)
- NTSC 16:9 (720x486:1.21)
- PAL 16:9 (720x576:1.46)
- QHD (960x540)
- LHD (1280x720)
- HD (1920x1080)
- UHD 4K (3840x2160)
- UHD 8K (7680x4320)
- Super35 1K FULL AP (1024x778)
- Cinemascope 1K (914x778:2.00)
- Super35 2K FULL AP (2048x1556)
- Cinemascope 2K (1828x1556:2.00)
- DCP 2K (2048x1080)
- Super35 4K FULL AP (4096x3112)
- DCP 4K (4096x2160)
- Square 256 (256x256)
- Square 512 (512x512)
- Square 1K (1024x1024)
- Square 2K (2048x2048)
- Format 21 (1920x1080)
Format / formatRect -500, -500, 500, 500
Pixel aspect / par Float 1
Audio Source / source Audio -
Channel / channel_index Choice Average Channels Whether to use a specific audio channel to compute the spectrum or to average the channels
- Average Channels
Temporal Radius / temporal_radius Float 0 Define the temporal window radius over which the spectrum is calculated. The higher the value, the smoother the spectrum will be, but to the cost of a longer calculation time. Note that using a large temporal window can make the past and future audio participate in the output, which can lead to a perceived delay or advance. N.B: the radius of the window is internally clamped so that it can never be smaller than the minimum number of samples required by Bands Count. e.g: If the audio is at 48Khz and Band Count is 8192, the minimum temporal radius is 48000/8192/2, which is 0.085
Bands Count / nb_bands Choice 1024 The number of frequency ranges (or Bands) calculated in output. Note that frequencies always vary between 0 and half the sample rate of the audio signal.
- 1024
- 2048
- 4096
- 8192
- 16384
- 32768
Axis Type / axis_type Choice Logarithmic Whether the spectrum is displayed in a logarithmic or linear scale. Since most frequencies are rather low, setting it to logarithmic gives more room to the lower frequencies. Note that the Frequency curve is not adapted when changing the axis type.
- Linear
- Logarithmic
Orientation / orientation Choice Vertical Frequencies
- Horizontal Frequencies: Frequencies are laid out horizontally from lower to higher frequency. The Y axis contains frequencies evolution over time
- Vertical Frequencies: Frequencies are laid out vertically from lower to higher frequency. The X axis contains frequencies evolution over time
Central Time Mode / timeMode Choice Current Time Whether to use the current time or a custom time to define the time at which the spectrum is calculated
- Custom
- Current Time
Custom Central Time / central_time Time 0
Steps / num_steps Float 1 The number of spectrum averaged over the Temporal Window to compute the final spectrum