Commit bd1ff9ce authored by Julius Künzel's avatar Julius Künzel
Browse files

Add xml ui for audiolevelgraph effect and other xml format fixes

parent e0becd80
Pipeline #114703 failed with stage
in 5 minutes and 19 seconds
INSTALL (FILES
audiobalance.xml
audiolevelgraph.xml
audiomap.xml
audiopan.xml
audiospectrum.xml
......
......@@ -3,7 +3,7 @@
<name>Audio levels</name>
<description>Compute the audio amplitude.</description>
<author>Dan Dennedy, Marco Gittler, and Steve Harris</author>
<parameter type="bool" name="iec_scale" default="1" />
<parameter type="bool" name="iec_scale" default="1" />
<name>Use IEC 60268-18 Scale </name>
</parameter>
</effect>
<!DOCTYPE kpartgui>
<effect tag="audiolevelgraph" id="audiolevelgraph" type="video">
<name>Audio Level Visualization Filter</name>
<author>Meltytech, LLC</author>
<description>An audio visualization filter that draws an audio level meter on the image.</description>
<parameter type="list" name="type" default="bar" paramlist="segment;bar">
<paramlistdisplay>Segment,Bar</paramlistdisplay>
<name>Graph type</name>
<comment>The type of graph to display the levels.</comment>
</parameter>
<parameter type="color" name="bgcolor" default="0x00000000" alpha="1">
<name>Background Color</name>
<comment>The background color to be applied to the entire frame.</comment>
</parameter>
<parameter type="color" name="color.1" default="0xffffffff" alpha="1">
<name>Gradient Color 1</name>
<comment>The color of the waveform gradient.</comment>
</parameter>
<parameter type="color" name="color.2" default="0xffffffff" alpha="1">
<name>Gradient Color 2</name>
<comment>The color of the waveform gradient.</comment>
</parameter>
<parameter type="color" name="color.3" default="0xffffffff" alpha="1">
<name>Gradient Color 3</name>
<comment>The color of the waveform gradient.</comment>
</parameter>
<parameter type="constant" name="thickness" max="20" min="0" default="0">
<name>Line Thickness</name>
<comment>The thickness of the bar or segments.</comment>
</parameter>
<parameter type="constant" name="angle" max="360" min="0" default="0">
<name>Angle</name>
<comment>The rotation angle to be applied to the waveform.</comment>
</parameter>
<parameter type="animatedrect" name="rect" default="0 0 100% 100%">
<name>Rectangle</name>
<comment>Defines the rectangle that the waveform(s) should be drawn in.</comment>
</parameter>
<parameter type="bool" name="mirror" default="0">
<name>Mirror</name>
<comment>Mirror the spectrum about the center of the rectangle.</comment>
</parameter>
<parameter type="bool" name="reverse" default="0">
<name>Reverse</name>
<comment>Draw the points starting with the right channel first.</comment>
</parameter>
<parameter type="list" name="gorient" default="vertical" paramlist="vertical;horizontal">
<paramlistdisplay>Vertical,Horizontal</paramlistdisplay>
<name>Gradient Orientation</name>
<comment>Direction of the color gradient.</comment>
</parameter>
<parameter type="constant" name="channels" max="500" min="0" default="2">
<name>Channels</name>
<comment>The number of channels to show.</comment>
</parameter>
<parameter type="constant" name="segment_gap" max="100" min="0" default="10">
<name>Segment Gap</name>
<comment>The space in pixels between the segments.</comment>
</parameter>
</effect>
......@@ -3,22 +3,22 @@
<name>Audio Waveform Filter</name>
<author>Brian Matherly</author>
<parameter type="color" name="bgcolor" default="0x00000000" alpha="1">
<name>Background Color</name>
<name>Background Color</name>
</parameter>
<parameter type="color" name="color.1" default="0xffffffff" alpha="1">
<name>Foreground Color</name>
<name>Foreground Color</name>
</parameter>
<parameter type="constant" name="thickness" max="20" min="0" default="0">
<name>Line Thickness</name>
<name>Line Thickness</name>
</parameter>
<parameter type="geometry" name="rect" default="0 0:100% 100%" fixed="1" opacity="false">
<name>Rectangle</name>
<name>Rectangle</name>
</parameter>
<parameter type="bool" name="fill" default="0">
<name>Fill</name>
<name>Fill</name>
</parameter>
<parameter type="list" name="show_channel" default="0" paramlist="-1;0;1;2;3;4;5;6;7;8;9;10">
<paramlistdisplay>Merge,All,1,2,3,4,5,6,7,8,9,10</paramlistdisplay>
<name>Channel to draw</name>
<paramlistdisplay>Merge,All,1,2,3,4,5,6,7,8,9,10</paramlistdisplay>
<name>Channel to draw</name>
</parameter>
</effect>
......@@ -4,26 +4,26 @@
<description>Create an alpha channel (transparency) based on another resource</description>
<author>Charles Yates</author>
<parameter type="url" name="resource" filter="*|Video files">
<name>Image or video resource</name>
<name>Image or video resource</name>
</parameter>
<parameter type="constant" name="mix" max="100" min="0" default="100" suffix="%">
<name>Threshold</name>
<comment>Convert alpha or luma values below this level as opaque and above this level as transparent. This is mostly useful for luma wipe images.</comment>
<name>Threshold</name>
<comment>Convert alpha or luma values below this level as opaque and above this level as transparent. This is mostly useful for luma wipe images.</comment>
</parameter>
<parameter type="constant" name="softness" max="1" min="0" default="0.1" decimals="2">
<name>Softness</name>
<comment>When using mix (threshold) how soft to make the edge around the threshold. 0.0 = no softness, 1.0 = too soft.</comment>
<parameter type="constant" name="softness" max="1" min="0" default="0.1" decimals="2">
<name>Softness</name>
<comment>When using mix (threshold) how soft to make the edge around the threshold. 0.0 = no softness, 1.0 = too soft.</comment>
</parameter>
<parameter type="bool" name="invert" default="0" min="0" max="1">
<name>Invert</name>
<comment>Use the inverse of the alpha or luma value.</comment>
<parameter type="bool" name="invert" default="0" min="0" max="1">
<name>Invert</name>
<comment>Use the inverse of the alpha or luma value.</comment>
</parameter>
<parameter type="bool" name="use_luminance" default="0" min="0" max="1">
<name>Use Luma</name>
<comment>Use the image luma instead of the alpha channel.</comment>
<parameter type="bool" name="use_luminance" default="0" min="0" max="1">
<name>Use Luma</name>
<comment>Use the image luma instead of the alpha channel.</comment>
</parameter>
<parameter type="bool" name="use_mix" default="1" min="0" max="1">
<name>Use Threshold</name>
Whether to apply a threshold filter to the luma or alpha or not. If not, luma or alpha value of the resource (File) is <comment>copied to the alpha channel.</comment>
<parameter type="bool" name="use_mix" default="1" min="0" max="1">
<name>Use Threshold</name>
<comment>Whether to apply a threshold filter to the luma or alpha or not. If not, luma or alpha value of the resource (File) is copied to the alpha channel.</comment>
</parameter>
</effect>
......@@ -26,7 +26,7 @@
<text>Generate</text>
</group>
<group list="audiowave,dance,lightshow,audiospectrum,audiowaveform">
<group list="audiowave,dance,lightshow,audiospectrum,audiowaveform,audiolevelgraph">
<text>On Master</text>
</group>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment