This plugin shows realtime sound spectrum information in the form of equalizer bars. It is highly customizable. Leave your comments and questions in this post: Spectrum Visualizer Plugin - JW Player

You can download the plugin at the link below and serve it yourself or set the "plugins" flashvar to "spectrumvisualizer-1" and the JW player will automatically load the plugin served by Longtail Video.

Spectrum Visualizer Plugin + Source (66263 bytes, download 614x)

If you have another flash clip playing in another window, which relies on the computeSpectrum function, the flash player will throw an error.

Default Configs



Set a solid color (88ff0000)



A color is defined by 8 characters, the first two define the opacity.


Set a gradient color (top: ffff0000, bottom: ff0000ff)



Set an effect (reflection)



Set an offset and dimensions



Flashvars

backcolor

Background color (RRGGBB). If left blank no background is set

gridcolor (00FFFFFF)

A color for the back grid (AARRBBGG)

numbars (32)

Number of bars

effect (none)

A special effect (none | reflection | lightblur | strongblur)

channels (both)

Which channel(s) to show (both | left | right)

colortype (gradient)

Color type of the spectrum bars (gradient | solid | dynamic)

color (FFFFFFFF)

If colortype is solid this sets the color of the spectrum bars

topcolor (FFFF0000)

If colortype is gradient this sets the top color of the spectrum bars

bottomcolor (FF00FF00)

If colortype is gradient this sets the bottom color of the spectrum bars

hgrid (1)

The height of the spectrum bar nodes

vgrid (true)

If true a 1px vertical grid is set between bars

hspacing (0)

The horizontal spacing between left and right channel

peaktime (1)

The time in seconds to show the peaks. If a value of 0 is set no peaks will be shown

peakcolor (00000000)

A color for the peaks (AARRBBGG). If no value is set it will show the color of the spectrum bar at that height

stepup (0)

Limit the raise of the bar height per frame. If 0, there is no limitation

stepdown (0)

Limit the fall of the bar height per frame. If 0, there is no limitation

xpos (0)

The horizontal offset

ypos (0)

The vertical offset

xlen (0)

The width of the plugin. If left 0, it will auto resize

ylen (0)

The height of the plugin. If left 0, it will auto resize

hidepause (true)

Hide the plugin on pause

speed (1)

A number between 0 and 1 to set the render speed