RoughDraft

Extension/ShowSpectrum.RoughDraft.Extension.ps1

Synopsis

Shows the audio spectrum


Description

Shows the audio spectrum, using the showspectrum filter



Examples

EXAMPLE 1

Show-Media -InputPath .\a.mp3 -ShowSpectrum

EXAMPLE 2

Edit-Media -InputPath .\a.mp3 -ShowSpectrum -OutputPath .\a.mp4

Parameters

ShowSpectrum

If set, will show a line waveform

Type: [Switch]

Required: true

Position: named

PipelineInput:false


ShowSpectrumMode

Set display mode

Valid Values:

Type: [String]

Required: false

Position: 1

PipelineInput:false


ShowSpectrumSlide

Specify how the spectrum should slide along the window.

It accepts the following values:

Valid Values:

Type: [String]

Required: false

Position: 2

PipelineInput:false


ShowSpectrumSize

Specify the video size for the output. Default value is 600x200

Type: [String]

Required: false

Position: 3

PipelineInput:false


ShowSpectrumColorMode

Show spectrum color mode

Valid Values:

Type: [String]

Required: false

Position: 4

PipelineInput:false


ShowSpectrumColorScale

Specify scale used for calculating intensity color values.

Valid Values:

Type: [String]

Required: false

Position: 5

PipelineInput:false


ShowSpectrumFrequencyScale

Specify frequency scale.

Valid Values:

Type: [String]

Required: false

Position: 6

PipelineInput:false


ShowSpectrumSaturation

Set saturation modifier for displayed colors. Negative values provide alternative color scheme. 0 is no saturation at all. Saturation must be in [-10.0, 10.0] range. Default value is 1.

Type: [Double]

Required: false

Position: 7

PipelineInput:false


ShowSpectrumWindowFunction

Set window function.

Valid Values:

Type: [String]

Required: false

Position: 8

PipelineInput:false


ShowSpectrumOrientation

Set orientation of time vs frequency axis

Valid Values:

Type: [String]

Required: false

Position: 9

PipelineInput:false


ShowSpectrumOverlap

Set ratio of overlap window. Default value is 0. When value is 1 overlap is set to recommended size for specific window function currently used.

Type: [Double]

Required: false

Position: 10

PipelineInput:false


ShowSpectrumGain

Set scale gain for calculating intensity color values. Default value is 1.

Type: [Double]

Required: false

Position: 11

PipelineInput:false


ShowSpectrumData

Set which data to display. Can be magnitude, default or phase, or unwrapped phase: uphase.

Valid Values:

Type: [String]

Required: false

Position: 12

PipelineInput:false


ShowSpectrumColorRotation

Set color rotation, must be in [-1.0, 1.0] range. Default value is 0

Type: [Double]

Required: false

Position: 13

PipelineInput:false


ShowSpectrumStartFrequency

Set start frequency from which to display spectrogram.

Type: [Int32]

Required: false

Position: 14

PipelineInput:false


ShowSpectrumStopFrequency

Set stop frequency to which to display spectrogram.

Type: [Int32]

Required: false

Position: 15

PipelineInput:false


ShowSpectrumFramesPerSecond

Set upper frame rate limit. Default is auto, unlimited.

Type: [String]

Required: false

Position: 16

PipelineInput:false


ShowSpectrumLegend

Draw time and frequency axes and legends.

Type: [Switch]

Required: false

Position: named

PipelineInput:false


ShowSpectrumDynamicRange

Set dynamic range used to calculate intensity color values. Default is 120 dBFS. Allowed range is from 10 to 200

Type: [Int32]

Required: false

Position: 17

PipelineInput:false


ShowSpectrumLimit

Set upper limit of input audio samples volume in dBFS. Default is 0 dBFS. Allowed range is from -100 to 100.

Type: [Int32]

Required: false

Position: 18

PipelineInput:false


ShowSpectrumOpacity

Set opacity strength when using pixel format output with alpha component.

Type: [Double]

Required: false

Position: 19

PipelineInput:false


Syntax

Extension/ShowSpectrum.RoughDraft.Extension.ps1 -ShowSpectrum [[-ShowSpectrumMode] <String>] [[-ShowSpectrumSlide] <String>] [[-ShowSpectrumSize] <String>] [[-ShowSpectrumColorMode] <String>] [[-ShowSpectrumColorScale] <String>] [[-ShowSpectrumFrequencyScale] <String>] [[-ShowSpectrumSaturation] <Double>] [[-ShowSpectrumWindowFunction] <String>] [[-ShowSpectrumOrientation] <String>] [[-ShowSpectrumOverlap] <Double>] [[-ShowSpectrumGain] <Double>] [[-ShowSpectrumData] <String>] [[-ShowSpectrumColorRotation] <Double>] [[-ShowSpectrumStartFrequency] <Int32>] [[-ShowSpectrumStopFrequency] <Int32>] [[-ShowSpectrumFramesPerSecond] <String>] [-ShowSpectrumLegend] [[-ShowSpectrumDynamicRange] <Int32>] [[-ShowSpectrumLimit] <Int32>] [[-ShowSpectrumOpacity] <Double>] [<CommonParameters>]