Exports related to raw audio files.

Classes

ClientRawAudioClass

Extends ClientRawAudioClass_base. Implements ClientRawAudio.

new ClientRawAudioClass(object): ClientRawAudioClass

ParameterTypeDescription
objectStorableMedia

Returns ClientRawAudioClass. Inherited from ClientRawAudioClass_base.constructor.

PropertyModifierType
asDatapublicStorableMedia
canBeMutedpublicundefined | boolean
createdAt?publicstring
decodingspublicDecoding[]
durationpublicnumber
hasIntrinsicSizingpublicundefined | boolean
hasIntrinsicTimingpublicundefined | boolean
idpublicstring
label?publicstring
mediaIdspublicstring[]
projectIdpublicundefined | string
propertiespublicProperty[]
resourcespublicResource[]
saveNeededpublicboolean
sourcepublicstring
targetIdpublicstring
typepublicMediaType
unsavedResourcespublic readonlyResource[]
updatedAt?publicstring

Methods

addResource(resource): void

ParameterTypeDescription
resourceResource

Returns void. Implementation of ClientRawAudio.addResource, Inherited from ClientRawAudioClass_base.addResource.

assetCachePromise(args): Promise<DataOrError<number>>

ParameterTypeDescription
argsAssetCacheArgs

Returns Promise<DataOrError<number>>. Implementation of ClientRawAudio.assetCachePromise, Overrides ClientRawAudioClass_base.assetCachePromise.

assetFiles(args): AssetFile[]

ParameterTypeDescription
argsCacheArgs

Returns AssetFile[]. Implementation of ClientRawAudio.assetFiles, Inherited from ClientRawAudioClass_base.assetFiles.

assetIcon(size, cover?, patch?): Promise<DataOrError<SVGSVGElement>>

ParameterTypeDescription
sizeSize<number>
cover?boolean
patch?Element

Returns Promise<DataOrError<SVGSVGElement>>. Implementation of ClientRawAudio.assetIcon, Overrides ClientRawAudioClass_base.assetIcon.

assetIconPromise(resource, options, cover, patch)

assetIconPromise(resource, options, cover?, patch?): Promise<DataOrError<SVGImageElement>>

ParameterTypeDescription
resourceResource
optionsSize<number> | Rect<number>
cover?boolean
patch?Element

Returns Promise<DataOrError<SVGImageElement>>. Implementation of ClientRawAudio.assetIconPromise, Inherited from ClientRawAudioClass_base.assetIconPromise.

assetIconPromise(resource, options, cover, patch)

assetIconPromise(resource, options, cover?, patch?): Promise<DataOrError<SvgItem>>

ParameterType
resourceResource
optionsSize<number> | Rect<number>
cover?boolean
patch?Element

Returns Promise<DataOrError<SvgItem>>. Implementation of ClientRawAudio.assetIconPromise, Inherited from ClientRawAudioClass_base.assetIconPromise.

boolean(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Implementation of ClientRawAudio.boolean, Inherited from ClientRawAudioClass_base.boolean.

changeObject(signalId, scalar?): ChangeEditObject

ParameterTypeDescription
signalId`${string}.${string}`
scalar?Scalar

Returns ChangeEditObject. Implementation of ClientRawAudio.changeObject, Inherited from ClientRawAudioClass_base.changeObject.

changeScalars(scalars): void

ParameterTypeDescription
scalarsPartial<SignalScalarRecord>

Returns void. Implementation of ClientRawAudio.changeScalars, Inherited from ClientRawAudioClass_base.changeScalars.

changesObject(scalars): ChangePropertiesEditObject

ParameterTypeDescription
scalarsPartial<SignalScalarRecord>

Returns ChangePropertiesEditObject. Implementation of ClientRawAudio.changesObject, Inherited from ClientRawAudioClass_base.changesObject.

clipObject(object?): ClipObject

ParameterTypeDescription
object?InstanceObject

Returns ClipObject. Implementation of ClientRawAudio.clipObject, Inherited from ClientRawAudioClass_base.clipObject.

commandFilePromise(args, commandFile): Promise<DataOrError<number>>

ParameterTypeDescription
argsServerPromiseArgs
commandFileCommandFile

Returns Promise<DataOrError<number>>. Implementation of ClientRawAudio.commandFilePromise, Inherited from ClientRawAudioClass_base.commandFilePromise.

constrainedValue(property, value?): undefined | Scalar

ParameterTypeDescription
propertyProperty
value?Scalar

Returns undefined | Scalar. Implementation of ClientRawAudio.constrainedValue, Inherited from ClientRawAudioClass_base.constrainedValue.

decodingOfType(…types): undefined | Decoding

ParameterTypeDescription
typesstring[]

Returns undefined | Decoding. Inherited from ClientRawAudioClass_base.decodingOfType.

findResource(…typesOrSources): undefined | Resource

ParameterTypeDescription
typesOrSourcesstring[]

Returns undefined | Resource. Implementation of ClientRawAudio.findResource, Inherited from ClientRawAudioClass_base.findResource.

frames(quantize): number

ParameterType
quantizenumber

Returns number. Implementation of ClientRawAudio.frames, Inherited from ClientRawAudioClass_base.frames.

imagePromise(resource): Promise<DataOrError<ClientImage>>

ParameterTypeDescription
resourceResource

Returns Promise<DataOrError<ClientImage>>. Implementation of ClientRawAudio.imagePromise, Inherited from ClientRawAudioClass_base.imagePromise.

instanceArgs(object?): ClippedRawAudioArgs

ParameterTypeDescription
object?ClippedRawAudioObject

Returns ClippedRawAudioArgs. Implementation of ClientRawAudio.instanceArgs, Overrides ClientRawAudioClass_base.instanceArgs.

instanceFromObject(object?): ClippedAudio

ParameterTypeDescription
object?ClippedRawAudioObject

Returns ClippedAudio. Implementation of ClientRawAudio.instanceFromObject, Overrides ClientRawAudioClass_base.instanceFromObject.

number(id): number

ParameterTypeDescription
idstring

Returns number. Implementation of ClientRawAudio.number, Inherited from ClientRawAudioClass_base.number.

propertiesOfTarget(targetId): Property[]

ParameterTypeDescription
targetIdstring

Returns Property[]. Implementation of ClientRawAudio.propertiesOfTarget, Inherited from ClientRawAudioClass_base.propertiesOfTarget.

propertyFind(name): undefined | Property

ParameterTypeDescription
namestring

Returns undefined | Property. Implementation of ClientRawAudio.propertyFind, Inherited from ClientRawAudioClass_base.propertyFind.

propertyIds(targetId): `${string}.${string}`[]

ParameterTypeDescription
targetIdstring

Returns `${string}.${string}`[]. Implementation of ClientRawAudio.propertyIds, Inherited from ClientRawAudioClass_base.propertyIds.

savePromise(progress?): Promise<DataOrError<string>>

ParameterTypeDescription
progress?ServerProgress

Returns Promise<DataOrError<string>>. Implementation of ClientRawAudio.savePromise, Inherited from ClientRawAudioClass_base.savePromise.

scalarsRecord(idOrNames): ScalarRecord

ParameterTypeDescription
idOrNamesstring[]

Returns ScalarRecord. Implementation of ClientRawAudio.scalarsRecord, Inherited from ClientRawAudioClass_base.scalarsRecord.

setValue(id, value?, dontConstrain?): void

ParameterTypeDescription
idstring
value?Scalar
dontConstrain?boolean

Returns void. Implementation of ClientRawAudio.setValue, Inherited from ClientRawAudioClass_base.setValue.

shouldSelectProperty(property): boolean

ParameterTypeDescription
propertyProperty

Returns boolean. Implementation of ClientRawAudio.shouldSelectProperty, Inherited from ClientRawAudioClass_base.shouldSelectProperty.

string(id): string

ParameterTypeDescription
idstring

Returns string if the value is a string, otherwise throws an assertion error. Implementation of ClientRawAudio.string, Inherited from ClientRawAudioClass_base.string.

toJSON(): UnknownRecord

Returns UnknownRecord. Implementation of ClientRawAudio.toJSON, Inherited from ClientRawAudioClass_base.toJSON.

tweenValues(key, time, range): Scalar[]

ParameterTypeDescription
keystring
timeTime
rangeTimeRange

Returns Scalar[]. Implementation of ClientRawAudio.tweenValues, Inherited from ClientRawAudioClass_base.tweenValues.

tweens(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Implementation of ClientRawAudio.tweens, Inherited from ClientRawAudioClass_base.tweens.

tweensProperty(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Inherited from ClientRawAudioClass_base.tweensProperty.

unload(): void

Returns void. Implementation of ClientRawAudio.unload, Inherited from ClientRawAudioClass_base.unload.

value(id): undefined | Scalar

ParameterTypeDescription
idstring

Returns undefined | Scalar. Implementation of ClientRawAudio.value, Inherited from ClientRawAudioClass_base.value.

ClippedClientRawAudioClass

Extends ClippedClientRawAudioClass_base. Implements ClippedClientRawAudio.

new ClippedClientRawAudioClass(object): ClippedClientRawAudioClass

ParameterTypeDescription
objectInstanceArgs

Returns ClippedClientRawAudioClass. Inherited from ClippedClientRawAudioClass_base.constructor.

PropertyModifierType
assetpublicMedia
assetIdpublicstring
audibleAssetpublicAudibleAsset
canBeMutedpublicboolean
clientAssetpublic readonlyClientAsset
clientAudibleAssetpublicClientAudibleAsset
clientClippublic readonlyClientClip
clippublicClientClip & Clip
hasIntrinsicTimingpublicboolean
idpublicstring
instanceObjectpublicInstanceObject
isDefaultpublicboolean
mediaIdspublicstring[]
mutedpublicboolean
propertiespublicProperty[]
targetIdpublicstring

Methods

assetFrames(quantize): number[]

ParameterType
quantizenumber

Returns number[] containing duration, start trim, and end trim in frames.. Implementation of ClippedClientRawAudio.assetFrames, Inherited from ClippedClientRawAudioClass_base.assetFrames.

assetTime(mashTime): Time

ParameterTypeDescription
mashTimeTime

Returns Time. Implementation of ClippedClientRawAudio.assetTime, Inherited from ClippedClientRawAudioClass_base.assetTime.

audibleCommandFiles(args): CommandFile[]

ParameterType
argsAudioCommandFileArgs

Returns CommandFile[]. Implementation of ClippedClientRawAudio.audibleCommandFiles, Inherited from ClippedClientRawAudioClass_base.audibleCommandFiles.

audiblePreviewPromise(outputSize, scale?): Promise<DataOrError<SvgItem>>

ParameterType
outputSizeSize<number>
scale?number

Returns Promise<DataOrError<SvgItem>>. Inherited from ClippedClientRawAudioClass_base.audiblePreviewPromise.

boolean(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Implementation of ClippedClientRawAudio.boolean, Inherited from ClippedClientRawAudioClass_base.boolean.

changeObject(signalId, scalar?): ChangeEditObject

ParameterTypeDescription
signalId`${string}.${string}`
scalar?Scalar

Returns ChangeEditObject. Implementation of ClippedClientRawAudio.changeObject, Inherited from ClippedClientRawAudioClass_base.changeObject.

changeScalars(scalars): void

ParameterTypeDescription
scalarsPartial<SignalScalarRecord>

Returns void. Implementation of ClippedClientRawAudio.changeScalars, Inherited from ClippedClientRawAudioClass_base.changeScalars.

changesObject(scalars): ChangePropertiesEditObject

ParameterTypeDescription
scalarsPartial<SignalScalarRecord>

Returns ChangePropertiesEditObject. Implementation of ClippedClientRawAudio.changesObject, Inherited from ClippedClientRawAudioClass_base.changesObject.

commandFiles(cacheArgs): CommandFile[]

ParameterTypeDescription
cacheArgsCommandFileArgs

Returns CommandFile[]. Implementation of ClippedClientRawAudio.commandFiles, Inherited from ClippedClientRawAudioClass_base.commandFiles.

constrainedValue(property, value?): undefined | Scalar

ParameterTypeDescription
propertyProperty
value?Scalar

Returns undefined | Scalar. Implementation of ClippedClientRawAudio.constrainedValue, Inherited from ClippedClientRawAudioClass_base.constrainedValue.

frames(quantize): number

ParameterTypeDescription
quantizenumber

Returns number. Implementation of ClippedClientRawAudio.frames, Inherited from ClippedClientRawAudioClass_base.frames.

instanceCachePromise(args): Promise<DataOrError<number>>

ParameterTypeDescription
argsInstanceCacheArgs

Returns Promise<DataOrError<number>>. Implementation of ClippedClientRawAudio.instanceCachePromise, Inherited from ClippedClientRawAudioClass_base.instanceCachePromise.

intrinsicsKnown(options): boolean

ParameterTypeDescription
optionsIntrinsicOptions

Returns boolean. Implementation of ClippedClientRawAudio.intrinsicsKnown, Inherited from ClippedClientRawAudioClass_base.intrinsicsKnown.

number(id): number

ParameterTypeDescription
idstring

Returns number. Implementation of ClippedClientRawAudio.number, Inherited from ClippedClientRawAudioClass_base.number.

propertiesOfTarget(targetId): Property[]

ParameterTypeDescription
targetIdstring

Returns Property[]. Implementation of ClippedClientRawAudio.propertiesOfTarget, Inherited from ClippedClientRawAudioClass_base.propertiesOfTarget.

propertyFind(name): undefined | Property

ParameterTypeDescription
namestring

Returns undefined | Property. Implementation of ClippedClientRawAudio.propertyFind, Inherited from ClippedClientRawAudioClass_base.propertyFind.

propertyIds(targetId): `${string}.${string}`[]

ParameterTypeDescription
targetIdstring

Returns `${string}.${string}`[]. Implementation of ClippedClientRawAudio.propertyIds, Inherited from ClippedClientRawAudioClass_base.propertyIds.

scalarsById(targetId, time, timeIsStart)

scalarsById(targetId, time?, timeIsStart?): SignalScalarRecord

ParameterTypeDescription
targetIdstring
time?Time
timeIsStart?boolean

Returns SignalScalarRecord. Implementation of ClippedClientRawAudio.scalarsById, Inherited from ClippedClientRawAudioClass_base.scalarsById.

scalarsById(targetId, time, timeIsStart, useNames)

scalarsById(targetId, time?, timeIsStart?, useNames?): SignalScalarRecord

ParameterType
targetIdstring
time?Time
timeIsStart?boolean
useNames?boolean

Returns SignalScalarRecord. Implementation of ClippedClientRawAudio.scalarsById, Inherited from ClippedClientRawAudioClass_base.scalarsById.

scalarsRecord(idOrNames): ScalarRecord

ParameterTypeDescription
idOrNamesstring[]

Returns ScalarRecord. Implementation of ClippedClientRawAudio.scalarsRecord, Inherited from ClippedClientRawAudioClass_base.scalarsRecord.

setValue(id, value?, dontConstrain?): void

ParameterTypeDescription
idstring
value?Scalar
dontConstrain?boolean

Returns void. Implementation of ClippedClientRawAudio.setValue, Inherited from ClippedClientRawAudioClass_base.setValue.

shouldSelectProperty(property): boolean

ParameterTypeDescription
propertyProperty

Returns boolean. Implementation of ClippedClientRawAudio.shouldSelectProperty, Inherited from ClippedClientRawAudioClass_base.shouldSelectProperty.

splitObject(targetId, frame?, frameIsStart?): Partial<SignalScalarRecord>

ParameterTypeDescription
targetIdstring
frame?number
frameIsStart?boolean

Returns Partial<SignalScalarRecord>. Inherited from ClippedClientRawAudioClass_base.splitObject.

splitScalars(targetId, frame?): ScalarRecord

ParameterTypeDescription
targetIdstring
frame?number

Returns ScalarRecord. Inherited from ClippedClientRawAudioClass_base.splitScalars.

string(id): string

ParameterTypeDescription
idstring

Returns string if the value is a string, otherwise throws an assertion error. Implementation of ClippedClientRawAudio.string, Inherited from ClippedClientRawAudioClass_base.string.

toJSON(): UnknownRecord

Returns UnknownRecord. Implementation of ClippedClientRawAudio.toJSON, Inherited from ClippedClientRawAudioClass_base.toJSON.

tweenValues(key, time, range): Scalar[]

ParameterTypeDescription
keystring
timeTime
rangeTimeRange

Returns Scalar[]. Implementation of ClippedClientRawAudio.tweenValues, Inherited from ClippedClientRawAudioClass_base.tweenValues.

tweens(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Implementation of ClippedClientRawAudio.tweens, Inherited from ClippedClientRawAudioClass_base.tweens.

tweensProperty(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Inherited from ClippedClientRawAudioClass_base.tweensProperty.

unload(): void

Returns void. Inherited from ClippedClientRawAudioClass_base.unload.

value(id): undefined | Scalar

ParameterTypeDescription
idstring

Returns undefined | Scalar. Implementation of ClippedClientRawAudio.value, Inherited from ClippedClientRawAudioClass_base.value.

ClippedRawAudioClass

Extends ClippedRawAudioClass_base. Implements ClippedRawAudio.

new ClippedRawAudioClass(object): ClippedRawAudioClass

ParameterTypeDescription
objectInstanceArgs

Returns ClippedRawAudioClass. Inherited from ClippedRawAudioClass_base.constructor.

PropertyType
assetMedia
assetIdstring
audibleAssetAudibleAsset
canBeMutedboolean
clipClip
hasIntrinsicTimingboolean
idstring
instanceObjectInstanceObject
isDefaultboolean
mediaIdsstring[]
mutedboolean
propertiesProperty[]
targetIdstring

Methods

assetFrames(quantize): number[]

ParameterType
quantizenumber

Returns number[] containing duration, start trim, and end trim in frames.. Implementation of ClippedRawAudio.assetFrames, Inherited from ClippedRawAudioClass_base.assetFrames.

assetTime(mashTime): Time

ParameterTypeDescription
mashTimeTime

Returns Time. Implementation of ClippedRawAudio.assetTime, Inherited from ClippedRawAudioClass_base.assetTime.

audibleCommandFiles(args): CommandFile[]

ParameterType
argsAudioCommandFileArgs

Returns CommandFile[]. Implementation of ClippedRawAudio.audibleCommandFiles, Inherited from ClippedRawAudioClass_base.audibleCommandFiles.

boolean(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Implementation of ClippedRawAudio.boolean, Inherited from ClippedRawAudioClass_base.boolean.

changeObject(signalId, scalar?): ChangeEditObject

ParameterTypeDescription
signalId`${string}.${string}`
scalar?Scalar

Returns ChangeEditObject. Implementation of ClippedRawAudio.changeObject, Inherited from ClippedRawAudioClass_base.changeObject.

changeScalars(scalars): void

ParameterTypeDescription
scalarsPartial<SignalScalarRecord>

Returns void. Implementation of ClippedRawAudio.changeScalars, Inherited from ClippedRawAudioClass_base.changeScalars.

changesObject(scalars): ChangePropertiesEditObject

ParameterTypeDescription
scalarsPartial<SignalScalarRecord>

Returns ChangePropertiesEditObject. Implementation of ClippedRawAudio.changesObject, Inherited from ClippedRawAudioClass_base.changesObject.

commandFiles(cacheArgs): CommandFile[]

ParameterTypeDescription
cacheArgsCommandFileArgs

Returns CommandFile[]. Implementation of ClippedRawAudio.commandFiles, Inherited from ClippedRawAudioClass_base.commandFiles.

constrainedValue(property, value?): undefined | Scalar

ParameterTypeDescription
propertyProperty
value?Scalar

Returns undefined | Scalar. Implementation of ClippedRawAudio.constrainedValue, Inherited from ClippedRawAudioClass_base.constrainedValue.

frames(quantize): number

ParameterTypeDescription
quantizenumber

Returns number. Implementation of ClippedRawAudio.frames, Inherited from ClippedRawAudioClass_base.frames.

instanceCachePromise(args): Promise<DataOrError<number>>

ParameterTypeDescription
argsInstanceCacheArgs

Returns Promise<DataOrError<number>>. Implementation of ClippedRawAudio.instanceCachePromise, Inherited from ClippedRawAudioClass_base.instanceCachePromise.

intrinsicsKnown(options): boolean

ParameterTypeDescription
optionsIntrinsicOptions

Returns boolean. Implementation of ClippedRawAudio.intrinsicsKnown, Inherited from ClippedRawAudioClass_base.intrinsicsKnown.

number(id): number

ParameterTypeDescription
idstring

Returns number. Implementation of ClippedRawAudio.number, Inherited from ClippedRawAudioClass_base.number.

propertiesOfTarget(targetId): Property[]

ParameterTypeDescription
targetIdstring

Returns Property[]. Implementation of ClippedRawAudio.propertiesOfTarget, Inherited from ClippedRawAudioClass_base.propertiesOfTarget.

propertyFind(name): undefined | Property

ParameterTypeDescription
namestring

Returns undefined | Property. Implementation of ClippedRawAudio.propertyFind, Inherited from ClippedRawAudioClass_base.propertyFind.

propertyIds(targetId): `${string}.${string}`[]

ParameterTypeDescription
targetIdstring

Returns `${string}.${string}`[]. Implementation of ClippedRawAudio.propertyIds, Inherited from ClippedRawAudioClass_base.propertyIds.

scalarsById(targetId, time, timeIsStart)

scalarsById(targetId, time?, timeIsStart?): SignalScalarRecord

ParameterTypeDescription
targetIdstring
time?Time
timeIsStart?boolean

Returns SignalScalarRecord. Implementation of ClippedRawAudio.scalarsById, Inherited from ClippedRawAudioClass_base.scalarsById.

scalarsById(targetId, time, timeIsStart, useNames)

scalarsById(targetId, time?, timeIsStart?, useNames?): SignalScalarRecord

ParameterType
targetIdstring
time?Time
timeIsStart?boolean
useNames?boolean

Returns SignalScalarRecord. Implementation of ClippedRawAudio.scalarsById, Inherited from ClippedRawAudioClass_base.scalarsById.

scalarsRecord(idOrNames): ScalarRecord

ParameterTypeDescription
idOrNamesstring[]

Returns ScalarRecord. Implementation of ClippedRawAudio.scalarsRecord, Inherited from ClippedRawAudioClass_base.scalarsRecord.

setValue(id, value?, dontConstrain?): void

ParameterTypeDescription
idstring
value?Scalar
dontConstrain?boolean

Returns void. Implementation of ClippedRawAudio.setValue, Inherited from ClippedRawAudioClass_base.setValue.

shouldSelectProperty(property): boolean

ParameterTypeDescription
propertyProperty

Returns boolean. Implementation of ClippedRawAudio.shouldSelectProperty, Inherited from ClippedRawAudioClass_base.shouldSelectProperty.

string(id): string

ParameterTypeDescription
idstring

Returns string if the value is a string, otherwise throws an assertion error. Implementation of ClippedRawAudio.string, Inherited from ClippedRawAudioClass_base.string.

toJSON(): UnknownRecord

Returns UnknownRecord. Implementation of ClippedRawAudio.toJSON, Inherited from ClippedRawAudioClass_base.toJSON.

tweenValues(key, time, range): Scalar[]

ParameterTypeDescription
keystring
timeTime
rangeTimeRange

Returns Scalar[]. Implementation of ClippedRawAudio.tweenValues, Inherited from ClippedRawAudioClass_base.tweenValues.

tweens(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Implementation of ClippedRawAudio.tweens, Inherited from ClippedRawAudioClass_base.tweens.

tweensProperty(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Inherited from ClippedRawAudioClass_base.tweensProperty.

value(id): undefined | Scalar

ParameterTypeDescription
idstring

Returns undefined | Scalar. Implementation of ClippedRawAudio.value, Inherited from ClippedRawAudioClass_base.value.

RawAudioClass

Extends RawAudioClass_base. Implements RawAudio.

new RawAudioClass(object): RawAudioClass

ParameterTypeDescription
objectStorableMedia

Returns RawAudioClass. Inherited from RawAudioClass_base.constructor.

PropertyType
asDataStorableMedia
canBeMuted?boolean
createdAt?string
decodingsDecoding[]
durationnumber
hasIntrinsicSizingundefined | boolean
hasIntrinsicTimingundefined | boolean
idstring
label?string
mediaIdsstring[]
projectIdundefined | string
propertiesProperty[]
resourcesResource[]
sourcestring
targetIdstring
typeMediaType
updatedAt?string

Methods

assetCachePromise(args): Promise<DataOrError<number>>

ParameterTypeDescription
argsAssetCacheArgs

Returns Promise<DataOrError<number>>. Implementation of RawAudio.assetCachePromise, Inherited from RawAudioClass_base.assetCachePromise.

assetFiles(args): AssetFile[]

ParameterTypeDescription
argsCacheArgs

Returns AssetFile[]. Implementation of RawAudio.assetFiles, Overrides RawAudioClass_base.assetFiles.

boolean(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Implementation of RawAudio.boolean, Inherited from RawAudioClass_base.boolean.

changeObject(signalId, scalar?): ChangeEditObject

ParameterTypeDescription
signalId`${string}.${string}`
scalar?Scalar

Returns ChangeEditObject. Implementation of RawAudio.changeObject, Inherited from RawAudioClass_base.changeObject.

changeScalars(scalars): void

ParameterTypeDescription
scalarsPartial<SignalScalarRecord>

Returns void. Implementation of RawAudio.changeScalars, Inherited from RawAudioClass_base.changeScalars.

changesObject(scalars): ChangePropertiesEditObject

ParameterTypeDescription
scalarsPartial<SignalScalarRecord>

Returns ChangePropertiesEditObject. Implementation of RawAudio.changesObject, Inherited from RawAudioClass_base.changesObject.

clipObject(object?): ClipObject

ParameterTypeDescription
object?InstanceObject

Returns ClipObject. Implementation of RawAudio.clipObject, Inherited from RawAudioClass_base.clipObject.

commandFilePromise(args, commandFile): Promise<DataOrError<number>>

ParameterTypeDescription
argsServerPromiseArgs
commandFileCommandFile

Returns Promise<DataOrError<number>>. Implementation of RawAudio.commandFilePromise, Inherited from RawAudioClass_base.commandFilePromise.

constrainedValue(property, value?): undefined | Scalar

ParameterTypeDescription
propertyProperty
value?Scalar

Returns undefined | Scalar. Implementation of RawAudio.constrainedValue, Inherited from RawAudioClass_base.constrainedValue.

decodingOfType(…types): undefined | Decoding

ParameterTypeDescription
typesstring[]

Returns undefined | Decoding. Inherited from RawAudioClass_base.decodingOfType.

findResource(…typesOrSources): undefined | Resource

ParameterTypeDescription
typesOrSourcesstring[]

Returns undefined | Resource. Implementation of RawAudio.findResource, Inherited from RawAudioClass_base.findResource.

frames(quantize): number

ParameterType
quantizenumber

Returns number. Implementation of RawAudio.frames, Inherited from RawAudioClass_base.frames.

instanceArgs(object?): InstanceArgs

ParameterTypeDescription
object?InstanceObject

Returns InstanceArgs. Implementation of RawAudio.instanceArgs, Inherited from RawAudioClass_base.instanceArgs.

instanceFromObject(object): ClippedRawAudio

ParameterTypeDescription
objectundefined | ClippedRawAudioObject

Returns ClippedRawAudio. Implementation of RawAudio.instanceFromObject, Overrides RawAudioClass_base.instanceFromObject.

number(id): number

ParameterTypeDescription
idstring

Returns number. Implementation of RawAudio.number, Inherited from RawAudioClass_base.number.

propertiesOfTarget(targetId): Property[]

ParameterTypeDescription
targetIdstring

Returns Property[]. Implementation of RawAudio.propertiesOfTarget, Inherited from RawAudioClass_base.propertiesOfTarget.

propertyFind(name): undefined | Property

ParameterTypeDescription
namestring

Returns undefined | Property. Implementation of RawAudio.propertyFind, Inherited from RawAudioClass_base.propertyFind.

propertyIds(targetId): `${string}.${string}`[]

ParameterTypeDescription
targetIdstring

Returns `${string}.${string}`[]. Implementation of RawAudio.propertyIds, Inherited from RawAudioClass_base.propertyIds.

scalarsRecord(idOrNames): ScalarRecord

ParameterTypeDescription
idOrNamesstring[]

Returns ScalarRecord. Implementation of RawAudio.scalarsRecord, Inherited from RawAudioClass_base.scalarsRecord.

setValue(id, value?, dontConstrain?): void

ParameterTypeDescription
idstring
value?Scalar
dontConstrain?boolean

Returns void. Implementation of RawAudio.setValue, Inherited from RawAudioClass_base.setValue.

shouldSelectProperty(property): boolean

ParameterTypeDescription
propertyProperty

Returns boolean. Implementation of RawAudio.shouldSelectProperty, Inherited from RawAudioClass_base.shouldSelectProperty.

string(id): string

ParameterTypeDescription
idstring

Returns string if the value is a string, otherwise throws an assertion error. Implementation of RawAudio.string, Inherited from RawAudioClass_base.string.

toJSON(): UnknownRecord

Returns UnknownRecord. Implementation of RawAudio.toJSON, Inherited from RawAudioClass_base.toJSON.

tweenValues(key, time, range): Scalar[]

ParameterTypeDescription
keystring
timeTime
rangeTimeRange

Returns Scalar[]. Implementation of RawAudio.tweenValues, Inherited from RawAudioClass_base.tweenValues.

tweens(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Implementation of RawAudio.tweens, Inherited from RawAudioClass_base.tweens.

tweensProperty(key): boolean

ParameterTypeDescription
keystring

Returns boolean. Inherited from RawAudioClass_base.tweensProperty.

value(id): undefined | Scalar

ParameterTypeDescription
idstring

Returns undefined | Scalar. Implementation of RawAudio.value, Inherited from RawAudioClass_base.value.

Interfaces

ClientRawAudio

Extends AudioMedia.ClientRawAsset.

PropertyType
asDataStorableMedia
canBeMuted?boolean
createdAt?string
decodingsDecoding[]
durationnumber
hasIntrinsicSizing?boolean
hasIntrinsicTiming?boolean
idstring
label?string
mediaIdsstring[]
projectId?string
propertiesProperty[]
resourcesResource[]
saveNeededboolean
sourcestring
targetIdstring
typeMediaType
updatedAt?string

Methods

addResource(resource): void

ParameterType
resourceResource

Returns void. Inherited from ClientRawAsset.addResource.

assetCachePromise(args): Promise<DataOrError<number>>

ParameterType
argsAssetCacheArgs

Returns Promise<DataOrError<number>>. Inherited from ClientRawAsset.assetCachePromise.

assetFiles(args): AssetFile[]

All files needed for audible and/or visible encode commands.
ParameterType
argsCacheArgs

Returns AssetFile[]. Inherited from ClientRawAsset.assetFiles.

assetIcon(size, cover?, patch?): Promise<DataOrError<SVGSVGElement>>

ParameterType
sizeSize<number>
cover?boolean
patch?Element

Returns Promise<DataOrError<SVGSVGElement>>. Inherited from ClientRawAsset.assetIcon.

assetIconPromise(resource, options, cover?, patch?): Promise<DataOrError<SvgItem>>

ParameterType
resourceResource
optionsSize<number> | Rect<number>
cover?boolean
patch?Element

Returns Promise<DataOrError<SvgItem>>. Inherited from ClientRawAsset.assetIconPromise.

boolean(key): boolean

ParameterType
keystring

Returns boolean. Inherited from ClientRawAsset.boolean.

changeObject(propertyId, scalar?): ChangeEditObject

ParameterType
propertyId`${string}.${string}`
scalar?Scalar

Returns ChangeEditObject. Inherited from ClientRawAsset.changeObject.

changeScalars(scalars): void

ParameterType
scalarsPartial<SignalScalarRecord>

Returns void. Inherited from ClientRawAsset.changeScalars.

changesObject(scalars): ChangePropertiesEditObject

ParameterType
scalarsPartial<SignalScalarRecord>

Returns ChangePropertiesEditObject. Inherited from ClientRawAsset.changesObject.

clipObject(object?): ClipObject

ParameterType
object?InstanceObject

Returns ClipObject. Inherited from ClientRawAsset.clipObject.

commandFilePromise(args, commandFile): Promise<DataOrError<number>>

Writes a command file, if it's not a raw asset.
ParameterType
argsServerPromiseArgs
commandFileCommandFile

Returns Promise<DataOrError<number>>. Inherited from ClientRawAsset.commandFilePromise.

constrainedValue(found, value?): undefined | Scalar

ParameterType
foundProperty
value?Scalar

Returns undefined | Scalar. Inherited from ClientRawAsset.constrainedValue.

findResource(…types): undefined | Resource

ParameterType
typesstring[]

Returns undefined | Resource. Inherited from ClientRawAsset.findResource.

frames(quantize): number

ParameterType
quantizenumber

Returns number. Inherited from AudioMedia.frames.

imagePromise(resource): Promise<DataOrError<ClientImage>>

ParameterType
resourceResource

Returns Promise<DataOrError<ClientImage>>. Inherited from ClientRawAsset.imagePromise.

instanceArgs(object?): InstanceArgs

ParameterType
object?InstanceObject

Returns InstanceArgs. Inherited from ClientRawAsset.instanceArgs.

instanceFromObject(object?): Instance

ParameterType
object?InstanceObject

Returns Instance. Inherited from ClientRawAsset.instanceFromObject.

number(key): number

ParameterType
keystring

Returns number. Inherited from ClientRawAsset.number.

propertiesOfTarget(targetId): Property[]

ParameterType
targetIdstring

Returns Property[]. Inherited from ClientRawAsset.propertiesOfTarget.

propertyFind(name): undefined | Property

ParameterType
namestring

Returns undefined | Property. Inherited from ClientRawAsset.propertyFind.

propertyIds(targetId): `${string}.${string}`[]

ParameterType
targetIdstring

Returns `${string}.${string}`[]. Inherited from ClientRawAsset.propertyIds.

savePromise(progress?): Promise<DataOrError<string>>

ParameterType
progress?ServerProgress

Returns Promise<DataOrError<string>>. Inherited from ClientRawAsset.savePromise.

scalarsRecord(idOrNames): ScalarRecord

ParameterType
idOrNamesstring[]

Returns ScalarRecord. Inherited from ClientRawAsset.scalarsRecord.

setValue(nameOrId, scalar?, dontConstrain?): void

ParameterType
nameOrIdstring
scalar?Scalar
dontConstrain?boolean

Returns void. Inherited from ClientRawAsset.setValue.

shouldSelectProperty(property): boolean

ParameterType
propertyProperty

Returns boolean. Inherited from ClientRawAsset.shouldSelectProperty.

string(key): string

ParameterType
keystring

Returns string. Inherited from ClientRawAsset.string.

toJSON(): UnknownRecord

Returns UnknownRecord. Inherited from ClientRawAsset.toJSON.

tweenValues(key, time, range): Scalar[]

ParameterType
keystring
timeTime
rangeTimeRange

Returns Scalar[]. Inherited from ClientRawAsset.tweenValues.

tweens(key): boolean

ParameterType
keystring

Returns boolean. Inherited from ClientRawAsset.tweens.

unload(): void

Returns void. Inherited from ClientRawAsset.unload.

value(key): undefined | Scalar

ParameterType
keystring

Returns undefined | Scalar. Inherited from ClientRawAsset.value.

ClippedClientRawAudio

Extends ClippedAudio.

PropertyType
assetMedia
assetIdstring
audibleAssetAudibleAsset
canBeMutedboolean
clipClip
idstring
instanceObjectInstanceObject
isDefaultboolean
mediaIdsstring[]
mutedboolean
propertiesProperty[]
targetIdstring

Methods

assetFrames(quantize): number[]

ParameterType
quantizenumber

Returns number[] containing duration, start trim, and end trim in frames.. Inherited from ClippedAudio.assetFrames.

assetTime(masherTime): Time

ParameterType
masherTimeTime

Returns Time. Inherited from ClippedAudio.assetTime.

audibleCommandFiles(args): CommandFile[]

ParameterType
argsAudioCommandFileArgs

Returns CommandFile[]. Inherited from ClippedAudio.audibleCommandFiles.

boolean(key): boolean

ParameterType
keystring

Returns boolean. Inherited from ClippedAudio.boolean.

changeObject(propertyId, scalar?): ChangeEditObject

ParameterType
propertyId`${string}.${string}`
scalar?Scalar

Returns ChangeEditObject. Inherited from ClippedAudio.changeObject.

changeScalars(scalars): void

ParameterType
scalarsPartial<SignalScalarRecord>

Returns void. Inherited from ClippedAudio.changeScalars.

changesObject(scalars): ChangePropertiesEditObject

ParameterType
scalarsPartial<SignalScalarRecord>

Returns ChangePropertiesEditObject. Inherited from ClippedAudio.changesObject.

commandFiles(args): CommandFile[]

ParameterType
argsCommandFileArgs

Returns CommandFile[]. Inherited from ClippedAudio.commandFiles.

constrainedValue(found, value?): undefined | Scalar

ParameterType
foundProperty
value?Scalar

Returns undefined | Scalar. Inherited from ClippedAudio.constrainedValue.

frames(quantize): number

ParameterType
quantizenumber

Returns number. Inherited from ClippedAudio.frames.

instanceCachePromise(args): Promise<DataOrError<number>>

ParameterType
argsInstanceCacheArgs

Returns Promise<DataOrError<number>>. Inherited from ClippedAudio.instanceCachePromise.

intrinsicsKnown(options): boolean

ParameterType
optionsIntrinsicOptions

Returns boolean. Inherited from ClippedAudio.intrinsicsKnown.

number(key): number

ParameterType
keystring

Returns number. Inherited from ClippedAudio.number.

propertiesOfTarget(targetId): Property[]

ParameterType
targetIdstring

Returns Property[]. Inherited from ClippedAudio.propertiesOfTarget.

propertyFind(name): undefined | Property

ParameterType
namestring

Returns undefined | Property. Inherited from ClippedAudio.propertyFind.

propertyIds(targetId): `${string}.${string}`[]

ParameterType
targetIdstring

Returns `${string}.${string}`[]. Inherited from ClippedAudio.propertyIds.

scalarsById(targetId, time?, timeIsStart?, useNames?): SignalScalarRecord

ParameterType
targetIdstring
time?Time
timeIsStart?boolean
useNames?boolean

Returns SignalScalarRecord. Inherited from ClippedAudio.scalarsById.

scalarsRecord(idOrNames): ScalarRecord

ParameterType
idOrNamesstring[]

Returns ScalarRecord. Inherited from ClippedAudio.scalarsRecord.

setValue(nameOrId, scalar?, dontConstrain?): void

ParameterType
nameOrIdstring
scalar?Scalar
dontConstrain?boolean

Returns void. Inherited from ClippedAudio.setValue.

shouldSelectProperty(property): boolean

ParameterType
propertyProperty

Returns boolean. Inherited from ClippedAudio.shouldSelectProperty.

string(key): string

ParameterType
keystring

Returns string. Inherited from ClippedAudio.string.

toJSON(): UnknownRecord

Returns UnknownRecord. Inherited from ClippedAudio.toJSON.

tweenValues(key, time, range): Scalar[]

ParameterType
keystring
timeTime
rangeTimeRange

Returns Scalar[]. Inherited from ClippedAudio.tweenValues.

tweens(key): boolean

ParameterType
keystring

Returns boolean. Inherited from ClippedAudio.tweens.

value(key): undefined | Scalar

ParameterType
keystring

Returns undefined | Scalar. Inherited from ClippedAudio.value.

ClippedRawAudio

Extends ClippedAudio.

PropertyType
assetMedia
assetIdstring
audibleAssetAudibleAsset
canBeMutedboolean
clipClip
idstring
instanceObjectInstanceObject
isDefaultboolean
mediaIdsstring[]
mutedboolean
propertiesProperty[]
targetIdstring

Methods

assetFrames(quantize): number[]

ParameterType
quantizenumber

Returns number[] containing duration, start trim, and end trim in frames.. Inherited from ClippedAudio.assetFrames.

assetTime(masherTime): Time

ParameterType
masherTimeTime

Returns Time. Inherited from ClippedAudio.assetTime.

audibleCommandFiles(args): CommandFile[]

ParameterType
argsAudioCommandFileArgs

Returns CommandFile[]. Inherited from ClippedAudio.audibleCommandFiles.

boolean(key): boolean

ParameterType
keystring

Returns boolean. Inherited from ClippedAudio.boolean.

changeObject(propertyId, scalar?): ChangeEditObject

ParameterType
propertyId`${string}.${string}`
scalar?Scalar

Returns ChangeEditObject. Inherited from ClippedAudio.changeObject.

changeScalars(scalars): void

ParameterType
scalarsPartial<SignalScalarRecord>

Returns void. Inherited from ClippedAudio.changeScalars.

changesObject(scalars): ChangePropertiesEditObject

ParameterType
scalarsPartial<SignalScalarRecord>

Returns ChangePropertiesEditObject. Inherited from ClippedAudio.changesObject.

commandFiles(args): CommandFile[]

ParameterType
argsCommandFileArgs

Returns CommandFile[]. Inherited from ClippedAudio.commandFiles.

constrainedValue(found, value?): undefined | Scalar

ParameterType
foundProperty
value?Scalar

Returns undefined | Scalar. Inherited from ClippedAudio.constrainedValue.

frames(quantize): number

ParameterType
quantizenumber

Returns number. Inherited from ClippedAudio.frames.

instanceCachePromise(args): Promise<DataOrError<number>>

ParameterType
argsInstanceCacheArgs

Returns Promise<DataOrError<number>>. Inherited from ClippedAudio.instanceCachePromise.

intrinsicsKnown(options): boolean

ParameterType
optionsIntrinsicOptions

Returns boolean. Inherited from ClippedAudio.intrinsicsKnown.

number(key): number

ParameterType
keystring

Returns number. Inherited from ClippedAudio.number.

propertiesOfTarget(targetId): Property[]

ParameterType
targetIdstring

Returns Property[]. Inherited from ClippedAudio.propertiesOfTarget.

propertyFind(name): undefined | Property

ParameterType
namestring

Returns undefined | Property. Inherited from ClippedAudio.propertyFind.

propertyIds(targetId): `${string}.${string}`[]

ParameterType
targetIdstring

Returns `${string}.${string}`[]. Inherited from ClippedAudio.propertyIds.

scalarsById(targetId, time?, timeIsStart?, useNames?): SignalScalarRecord

ParameterType
targetIdstring
time?Time
timeIsStart?boolean
useNames?boolean

Returns SignalScalarRecord. Inherited from ClippedAudio.scalarsById.

scalarsRecord(idOrNames): ScalarRecord

ParameterType
idOrNamesstring[]

Returns ScalarRecord. Inherited from ClippedAudio.scalarsRecord.

setValue(nameOrId, scalar?, dontConstrain?): void

ParameterType
nameOrIdstring
scalar?Scalar
dontConstrain?boolean

Returns void. Inherited from ClippedAudio.setValue.

shouldSelectProperty(property): boolean

ParameterType
propertyProperty

Returns boolean. Inherited from ClippedAudio.shouldSelectProperty.

string(key): string

ParameterType
keystring

Returns string. Inherited from ClippedAudio.string.

toJSON(): UnknownRecord

Returns UnknownRecord. Inherited from ClippedAudio.toJSON.

tweenValues(key, time, range): Scalar[]

ParameterType
keystring
timeTime
rangeTimeRange

Returns Scalar[]. Inherited from ClippedAudio.tweenValues.

tweens(key): boolean

ParameterType
keystring

Returns boolean. Inherited from ClippedAudio.tweens.

value(key): undefined | Scalar

ParameterType
keystring

Returns undefined | Scalar. Inherited from ClippedAudio.value.

ClippedRawAudioArgs

Extends InstanceArgs.ClippedRawAudioObject.

PropertyType
assetMedia
endTrim?number
gain?number
loops?number
muted?boolean
speed?number
startTrim?number

ClippedRawAudioObject

Extends AudibleInstanceObject. Extended by ClippedRawAudioArgs.

PropertyType
endTrim?number
gain?number
loops?number
muted?boolean
speed?number
startTrim?number

RawAudio

Extends AudioMedia.AudibleAsset.

PropertyType
asDataStorableMedia
canBeMuted?boolean
createdAt?string
decodingsDecoding[]
durationnumber
hasIntrinsicSizing?boolean
hasIntrinsicTiming?boolean
idstring
label?string
mediaIdsstring[]
projectId?string
propertiesProperty[]
resourcesResource[]
sourcestring
targetIdstring
typeMediaType
updatedAt?string

Methods

assetCachePromise(args): Promise<DataOrError<number>>

ParameterType
argsAssetCacheArgs

Returns Promise<DataOrError<number>>. Inherited from AudibleAsset.assetCachePromise.

assetFiles(args): AssetFile[]

All files needed for audible and/or visible encode commands.
ParameterType
argsCacheArgs

Returns AssetFile[]. Inherited from AudibleAsset.assetFiles.

boolean(key): boolean

ParameterType
keystring

Returns boolean. Inherited from AudibleAsset.boolean.

changeObject(propertyId, scalar?): ChangeEditObject

ParameterType
propertyId`${string}.${string}`
scalar?Scalar

Returns ChangeEditObject. Inherited from AudibleAsset.changeObject.

changeScalars(scalars): void

ParameterType
scalarsPartial<SignalScalarRecord>

Returns void. Inherited from AudibleAsset.changeScalars.

changesObject(scalars): ChangePropertiesEditObject

ParameterType
scalarsPartial<SignalScalarRecord>

Returns ChangePropertiesEditObject. Inherited from AudibleAsset.changesObject.

clipObject(object?): ClipObject

ParameterType
object?InstanceObject

Returns ClipObject. Inherited from AudibleAsset.clipObject.

commandFilePromise(args, commandFile): Promise<DataOrError<number>>

Writes a command file, if it's not a raw asset.
ParameterType
argsServerPromiseArgs
commandFileCommandFile

Returns Promise<DataOrError<number>>. Inherited from AudibleAsset.commandFilePromise.

constrainedValue(found, value?): undefined | Scalar

ParameterType
foundProperty
value?Scalar

Returns undefined | Scalar. Inherited from AudibleAsset.constrainedValue.

findResource(…types): undefined | Resource

ParameterType
typesstring[]

Returns undefined | Resource. Inherited from AudibleAsset.findResource.

frames(quantize): number

ParameterType
quantizenumber

Returns number. Inherited from AudibleAsset.frames.

instanceArgs(object?): InstanceArgs

ParameterType
object?InstanceObject

Returns InstanceArgs. Inherited from AudibleAsset.instanceArgs.

instanceFromObject(object?): Instance

ParameterType
object?InstanceObject

Returns Instance. Inherited from AudibleAsset.instanceFromObject.

number(key): number

ParameterType
keystring

Returns number. Inherited from AudibleAsset.number.

propertiesOfTarget(targetId): Property[]

ParameterType
targetIdstring

Returns Property[]. Inherited from AudibleAsset.propertiesOfTarget.

propertyFind(name): undefined | Property

ParameterType
namestring

Returns undefined | Property. Inherited from AudibleAsset.propertyFind.

propertyIds(targetId): `${string}.${string}`[]

ParameterType
targetIdstring

Returns `${string}.${string}`[]. Inherited from AudibleAsset.propertyIds.

scalarsRecord(idOrNames): ScalarRecord

ParameterType
idOrNamesstring[]

Returns ScalarRecord. Inherited from AudibleAsset.scalarsRecord.

setValue(nameOrId, scalar?, dontConstrain?): void

ParameterType
nameOrIdstring
scalar?Scalar
dontConstrain?boolean

Returns void. Inherited from AudibleAsset.setValue.

shouldSelectProperty(property): boolean

ParameterType
propertyProperty

Returns boolean. Inherited from AudibleAsset.shouldSelectProperty.

string(key): string

ParameterType
keystring

Returns string. Inherited from AudibleAsset.string.

toJSON(): UnknownRecord

Returns UnknownRecord. Inherited from AudibleAsset.toJSON.

tweenValues(key, time, range): Scalar[]

ParameterType
keystring
timeTime
rangeTimeRange

Returns Scalar[]. Inherited from AudibleAsset.tweenValues.

tweens(key): boolean

ParameterType
keystring

Returns boolean. Inherited from AudibleAsset.tweens.

value(key): undefined | Scalar

ParameterType
keystring

Returns undefined | Scalar. Inherited from AudibleAsset.value.

StorableRawAudio

Extends StorableMedia.AudioProperties.

PropertyType
createdAt?string
id?string
label?string
projectId?string
resources?StorableResource[]
sourcestring
typeMediaType
updatedAt?string

StoredRawAudio

Extends StoredAudio.

PropertyType
createdAt?string
idstring
label?string
projectId?string
resources?StoredResource[]
source"raw"
type"audio"
updatedAt?string