版本

menu_open

ak.wwise.core.audio.importTabDelimited


Scripted object creation and audio file import from a tab-delimited file.

(Required *)

Supported by

Graphical User Interface, Command-Line Interface.

Arguments

Name Type Description
importLocation   Object ID (GUID) or path used as root relative object paths.
importLanguage * string Import language for audio file import (see documentation for possible values).
importOperation * string Determines how import object creation is performed. For each object created:
  • createNew: will create a new object; the object will be given the desired name if possible, otherwise a new unique name will be used.
  • useExisting: will use the object if it exists, updating the specified properties; otherwise it will create a new object. This is the default value.
  • replaceExisting: will create a new object; if an existing object has the same name then the existing object is destroyed.
    Possible values : "createNew", "useExisting", "replaceExisting"
importFile * string Location of tab-delimited import file.


Arguments Details


importLocation

description : Object ID (GUID) or path used as root relative object paths.
Possibilities, one of the following :

1) type : string
pattern : ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$

2) type : string
pattern : ^\

importLanguage

type : string
description : Import language for audio file import (see documentation for possible values).

importOperation

type : string
description : Determines how import object creation is performed. For each object created:

  • createNew: will create a new object; the object will be given the desired name if possible, otherwise a new unique name will be used.
  • useExisting: will use the object if it exists, updating the specified properties; otherwise it will create a new object. This is the default value.
  • replaceExisting: will create a new object; if an existing object has the same name then the existing object is destroyed.
    Possible values : "createNew", "useExisting", "replaceExisting"

importFile

type : string
description : Location of tab-delimited import file.


Examples :

Importing an audio file

Imports an audio file from a tab-delimited file

Arguments:

{
    "importLocation": "{A076AA65-B71A-45BB-8841-5A20C52CE727}", 
    "importLanguage": "SFX", 
    "importOperation": "createNew", 
    "importFile": "C:\\MyWaves\\MyFolder\\myImportFile.txt"
}

Result:

{}


Detailed JSON Schema


Arguments :

{
    "type": "object", 
    "properties": {
        "importLocation": {
            "description": "Object ID (GUID) or path used as root relative object paths.", 
            "anyOf": [
                {
                    "type": "string", 
                    "pattern": *Must be a valid GUID*
                }, 
                {
                    "type": "string", 
                    "pattern": "^\\\\"
                }
            ]
        }, 
        "importLanguage": {
            "type": "string", 
            "description": "Import language for audio file import (see documentation for possible values)."
        }, 
        "importOperation": {
            "type": "string", 
            "description": "Determines how import object creation is performed. For each object created:
                - createNew: will create a new object; the object will be given the desired name if possible, otherwise a new unique name will be used.
                - useExisting: will use the object if it exists, updating the specified properties; otherwise it will create a new object. This is the default value.
                - replaceExisting: will create a new object; if an existing object has the same name then the existing object is destroyed.", 
            "enum": [
                "createNew", 
                "useExisting", 
                "replaceExisting"
            ]
        }, 
        "importFile": {
            "type": "string", 
            "description": "Location of tab-delimited import file."
        }
    }, 
    "required": [
        "importLanguage", 
        "importOperation", 
        "importFile"
    ], 
    "additionalProperties": false
}


Options :

{
    "type": "object", 
    "required": [], 
    "properties": {}, 
    "additionalProperties": false
}


Response :

{
    "type": "object", 
    "properties": {}, 
    "additionalProperties": false
}

Document version : 1


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅