insertAudio

<< Click to Display Table of Contents >>

Navigation:  Delta Web Service > Core Modules > Delta Web Service API > DWS API Operations >

insertAudio

Route

/delta/rpc/insertAudio

Summary

Insert an Audio resource onto the timeline

Sample URL

http://192.168.0.1/api/delta/rpc/insertAudio?resourceName=[string]&newName=[string]&ctrlName=[integer]&frame=[integer]&layer=[string]&length=[integer]&audioChannels=[string]&audioLevels=[string]&autoDelete=[boolean]&autoPlay=[boolean]&parentCtrlName=[string]&itemEnabled=[boolean]&containerOverrides=[string]&duration=[float]&fadeUp=[float]&fadeDown=[float]&crossFade=[boolean]&playMode=[string]&noLoop=[boolean]&repeatCount=[integer]&tl=[integer]

Parameters

Name

Description

Required

DataType

ResourceName

Pool resource name

Required

string

newname

New timeline resource name

 

string

ctrlName

New external control name

 

integer

frame

Frame number

 

integer

layer

Layer, 1-255 or "background"

 

string

length

Length in frames

 

integer

audioChannels

Comma separated list of audio channel numbers, all if not specified, e.g: "1,2,3"

 

string

audioLevels

Comma separated list of audio levels (percent), corresponds with audioChannels or all channels if only one value is given. eg: "25,50,75"

 

string

autodelete

Set autodelete

 

Boolean

autoPlay

Set autoplay

 

Boolean

parentCtrlName

External control name of the parent container (container items only)

 

string

itemEnabled

Set container item enabled state (container items only)

 

Boolean

containerOverrides

Comma separated list of property keys. Options: duration, general, features, location, animation, keying, colour, mesh, fade, playmode (containers and container items only)

 

string

duration

Set the item duration in seconds (requires duration override) (containers and container items only)

 

float

fadeUp

Set fade up time in seconds (requires fade override) (containers and container items only)

 

float

fadeDown

Set fade down time in seconds (requires fade override) (containers and container items only)

 

float

crossFade

Set crossfade (requires fade override) (containers and container items only)

 

Boolean

playMode

Set the item play mode. Options: playntimes or trigger (requires playmode override) (containers and container items only)

 

string

noLoop

Set item to not loop (requires playmode override) (containers and container items only)

 

Boolean

repeatCount

Set item repeat count (requires playmode override) (containers and container items only)

 

integer

tl

Timeline ID

 

integer

Page edited [d/m/y]: 15/12/2020