RoughDraft

Extension/AudioExpression.RoughDraft.Extension.ps1

Synopsis

Evaluates Audio Expressions


Description

Generate or Modify an audio signal using an expression



Examples

EXAMPLE 1

Show-Media -AudioExpression "-2+random(0)" # Play white noise

EXAMPLE 2

Show-Media -AudioExpression "0.5*tan(PI*(360-2.5/2)*t)"

EXAMPLE 3

New-Media -AudioExpression "0.5*sin(PI*(720-2.5/2)*t)","0.5*cos(2*PI*(360+2.5/2)*t)" -OutputPath .\Test.mp3 -Duration "00:00:15"

EXAMPLE 4

Edit-Media -AudioExpression "val(0)","-val(1)" -InputPath .\Test.mp3

Parameters

AudioExpression

The audio expression.

Type: [String[]]

Required: true

Position: 1

PipelineInput:false


AudioExpressionChannelLayout

Set the channel layout. The number of channels in the specified layout must be equal to the number of specified expressions.

Type: [String[]]

Required: false

Position: 2

PipelineInput:false


AudioExpressionSampleCount

Set the number of samples per channel per each output frame, default to 1024.

Type: [Int32]

Required: false

Position: 3

PipelineInput:false


AudioExpressionSampleRate

Specify the sample rate, default to 44100.

Type: [Int32]

Required: false

Position: 4

PipelineInput:false


Syntax

Extension/AudioExpression.RoughDraft.Extension.ps1 [-AudioExpression] <String[]> [[-AudioExpressionChannelLayout] <String[]>] [[-AudioExpressionSampleCount] <Int32>] [[-AudioExpressionSampleRate] <Int32>] [<CommonParameters>]