バージョン

menu_open
Wwise SDK 2023.1.3
ak.wwise.core.audio.importTabDelimited

タブ区切りファイルから、スクリプトによるオブジェクト作成とオーディオファイルインポート。

Arguments

Name タイプ 概要
importLocation any of: ルート相対オブジェクトパスとして使う、Object ID (GUID)、または名前、またはパス。
string The name of the object qualified by its type or Short ID in the form of type:name or Global:shortId. Only object types that have globally-unique names or Short Ids are supported. Ex: Event:Play_Sound_01, Global:245489792
string オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
string Wwiseオブジェクトへのプロジェクトパスで、カテゴリと、ワークユニットを含みます。例えば: \Actor-Mixer Hierarchy\Default Work Unit\New Sound SFX.
importLanguage * string オーディオファイルインポート用のランゲージをインポートします(WPROJファイルのLanguageListにある、プロジェクトに定義されたランゲージから入手します)。
importOperation * string インポートオブジェクト作成の実行方法を指定します。作成されたオブジェクトごとに: - createNew: 新しいオブジェクトを作成し、オブジェクト名は可能であれば希望する名前とし、それ以外の場合は新しい固有名を使います。- useExisting: 既存のオブジェクトがあればそれを使い、指定したプロパティを更新します。それ以外の場合は新しいオブジェクトを作成します。これがデフォルト値です。- replaceExisting: 新しいプロジェクトを作成します。同名の既存オブジェクトがある場合、既存オブジェクトを破棄します。可能な値:
  • createNew
  • useExisting
  • replaceExisting
importFile * string タブ区切りインポートファイルの場所。WAAPIをMacで使う場合は、 MacでWAAPIを使う を参照してください。
autoAddToSourceControl boolean Determines if Wwise automatically performs a source control Add operation on the imported files. デフォルトはtrueです。
autoCheckOutToSourceControl boolean Determines if Wwise automatically performs a source control Checkout operation (when applicable) on the modified files. デフォルトはtrueです。

(必須*)

引数スキーマ

Options

Name タイプ 概要
return array オブジェクトごとに、何が返されるのかを指定します。使用可能なプロパティやリファレンスの詳細については、 Wwiseオブジェクトリファレンス を参照してください。
return式のアレイで、Wwiseオブジェクトのどのエレメントを返すのかを定義します。例えば、名前やIDなどの内蔵アクセサや、VolumeやPitchなどのオブジェクトプロパティが含まれます。
return [...] any of: return式。
string Wwiseオブジェクト用の内蔵アクセサを、1つまたは複数、指定します。可能な値:
  • id
  • name
  • notes
  • type
  • pluginName
  • shortId
  • classId
  • category
  • filePath
  • workunit
  • parent
  • owner
  • path
  • isPlayable
  • childrenCount
  • totalSize
  • mediaSize
  • objectSize
  • structureSize
  • sound:convertedWemFilePath
  • sound:originalWavFilePath
  • soundbank:bnkFilePath
  • music:transitionRoot
  • music:playlistRoot
  • audioSource:playbackDuration
  • audioSource:maxDurationSource
  • audioSource:trimValues
  • audioSource:maxRadiusAttenuation
  • audioSource:language
  • workunit:isDefault
  • workunit:type
  • workunit:isDirty
  • switchContainerChild:context
  • convertedWemFilePath
  • originalFilePath
  • originalRelativeFilePath
  • convertedFilePath
  • originalWavFilePath
  • soundbankBnkFilePath
  • musicTransitionRoot
  • musicPlaylistRoot
  • playbackDuration
  • duration
  • maxDurationSource
  • audioSourceTrimValues
  • maxRadiusAttenuation
  • audioSourceLanguage
  • workunitIsDefault
  • workunitType
  • workunitIsDirty
  • switchContainerChildContext
  • isExplicitMute
  • isExplicitSolo
  • isImplicitMute
  • isImplicitSolo
  • isIncluded
  • points
  • stateProperties
  • stateGroups
string クエリを構成し、値またはオブジェクトリファレンスを出す、ドット区切りのアクセサを、1つまたは複数、指定します。1つの@マークを指定すると、関連するオブジェクトのプロパティ値を返します。2つの@マークを指定すると、オーバーライドのソースのプロパティ値を返します。 Wwiseオブジェクトリファレンス を参照してください。
platform any of: プラットフォームのID (GUID)または名前。これは任意の引数です。指定がなければ、現在のプラットフォームを使います。
string プラットフォームの名前。
string プラットフォームのID。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
language any of: ランゲージのID (GUID)または名前。
string ランゲージの名前。
string ランゲージのID。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。

オプションスキーマ

Result

Name タイプ 概要
objects array オブジェクトのアレイ。
objects [...] object タブ区切りインポートの過程でインポートされたオブジェクト。該当する場合、オブジェクトにはreturnオプションで指定されたプロパティがあります。
Wwiseオブジェクト。必須のプロパティを指定するには、returnオプションを使います。
objects[...].id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].name string オブジェクト名。
objects[...].notes string オブジェクトのnotes。
objects[...].type string オブジェクトのタイプ。使用可能なタイプの詳細については、 Wwiseオブジェクトリファレンス を参照してください。
objects[...].pluginName string Source、Effect、Mixer、Device、Metadataプラグインの、プラグイン名。
objects[...].path string プロジェクトルートからオブジェクトへのパス。例: '\Actor-Mixer Hierarchy\Default Work Unit\Sound1'
objects[...].parent object 階層におけるオブジェクトの親。
objects[...].parent.id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].parent.name string オブジェクト名。
objects[...].owner object オブジェクトのオーナー。カスタムエフェクトやカスタム減衰など、ほかのオブジェクトにローカルで所有されているオブジェクトが、該当します。
objects[...].owner.id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].owner.name string オブジェクト名。
objects[...].isPlayable boolean オブジェクトをTransportで再生できる場合は、trueです。
objects[...].shortId integer オブジェクトのShort ID。
objects[...].classId integer オブジェクトのクラスID。
符号なし整数32-bit。範囲: [0,4294967295]
objects[...].category string オブジェクトのカテゴリ。例: 'Actor-Mixer Hierarchy'
objects[...].filePath string オブジェクトを含むファイルへのパス。パスは、Work Unitファイルまたはプロジェクトファイルとします。WAAPIをMacで使う場合は、 MacでWAAPIを使う を参照してください。
objects[...].workunit object オブジェクトを含む、親Work Unit。'id'と'name'を返します。
objects[...].workunit.id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].workunit.name string オブジェクト名。
objects[...].childrenCount number このオブジェクトの子の数。注:これは非推奨です。The same result can be obtained with children.count().
objects[...].totalSize integer このオブジェクトと、その全ての子が、SoundBankに占めるスペース(単位byte)。objectSizeは含まれません。なお、正確な値を得るには、SoundBankを生成する必要があります。
objects[...].mediaSize integer このオブジェクトとその全ての子のメディアファイルの、変換後の合計サイズ(単位bytes)。なお、正確な値を得るには、SoundBankを生成する必要があります。
objects[...].objectSize integer このオブジェクトのメタデータがSoundBankに占めるスペース(単位byte)。メディアファイルは含まれません。なお、正確な値を得るには、SoundBankを生成する必要があります。
objects[...].structureSize integer このオブジェクトとその全ての子のメタデータが、SoundBankに占めるスペース(単位byte)。メディアファイルは含まれません。なお、正確な値を得るには、SoundBankを生成する必要があります。
objects[...].musicTransitionRoot object (DEPRECATED) The music transition root containing all other music transitions recursively. 注:これは非推奨です。The TransitionRoot reference should be used instead.
objects[...].musicTransitionRoot.id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].musicPlaylistRoot object (DEPRECATED) The music playlist root containing all other music playlist items recursively. これが適用されるのは、Music Playlist Containerだけです。注:これは非推奨です。The PlaylistRoot reference should be used instead.
objects[...].musicPlaylistRoot.id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].originalWavFilePath string (DEPRECATED) Absolute path to the original wav file. これは、SoundオブジェクトとAudio Sourceオブジェクトだけで有効です。WAAPIをMacで使う場合は、 MacでWAAPIを使う を参照してください。
objects[...].originalFilePath string Absolute path to the original file. これは、SoundオブジェクトとAudio Sourceオブジェクトだけで有効です。WAAPIをMacで使う場合は、 MacでWAAPIを使う を参照してください。
objects[...].originalRelativeFilePath string Relative (from project's Originals Folder) path to the original file. これは、SoundオブジェクトとAudio Sourceオブジェクトだけで有効です。WAAPIをMacで使う場合は、 MacでWAAPIを使う を参照してください。
objects[...].activeSource object The active source of the sound object.
objects[...].activeSource.id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].activeSource.name string オブジェクト名。
objects[...].convertedWemFilePath string (DEPRECATED) Absolute path to the converted wem file. 選択肢からプラットフォームを指定。これは、SoundオブジェクトとAudio Sourceオブジェクトだけで有効です。WAAPIをMacで使う場合は、 MacでWAAPIを使う を参照してください。
objects[...].convertedFilePath string Absolute path to the converted file. 選択肢からプラットフォームを指定。これは、SoundオブジェクトとAudio Sourceオブジェクトだけで有効です。WAAPIをMacで使う場合は、 MacでWAAPIを使う を参照してください。
objects[...].soundbankBnkFilePath string SoundBankオブジェクトに関連する、生成後のSoundBankファイルへの絶対パス。これは、SoundBankオブジェクトだけで有効です。WAAPIをMacで使う場合は、 MacでWAAPIを使う を参照してください。
objects[...].playbackDuration object 最小と最大のdurationと、durationタイプを含む、durationルート。注:これは非推奨です。The duration should be used instead. これは、Audio Sourceオブジェクトをソースとして直接含むことができるオブジェクト、または子孫を通して間接的に含むことができるオブジェクト全てに、適用されます。
objects[...].playbackDuration.playbackDurationMin number 再生にかかる最短時間。
objects[...].playbackDuration.playbackDurationMax number 再生にかかる最長時間。
objects[...].playbackDuration.playbackDurationType string durationタイプ。
objects[...].duration object 最小と最大のdurationと、durationタイプを含む、durationルート。これは、Audio Sourceオブジェクトをソースとして直接含むことができるオブジェクト、または子孫を通して間接的に含むことができるオブジェクト全てに、適用されます。
objects[...].duration.min number 再生にかかる最短時間。
objects[...].duration.max number 再生にかかる最長時間。
objects[...].duration.type string durationタイプ。
objects[...].maxDurationSource object 最長のdurationのオーディオソース。これは、Audio Sourceオブジェクトをソースとして直接含むことができるオブジェクト、または子孫を通して間接的に含むことができるオブジェクト全てに、適用されます。
objects[...].maxDurationSource.id string 最長の長さのオーディオソースオブジェクトの、ID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].maxDurationSource.trimmedDuration number トリムした最長のソースの、durationを秒単位で示します。
objects[...].audioSourceTrimValues object オーディオソースをトリムした時間の範囲。
objects[...].audioSourceTrimValues.trimBegin number トリム開始の時間値を、秒単位で示します。
objects[...].audioSourceTrimValues.trimEnd number トリム終了の時間値を、秒単位で示します。
objects[...].maxRadiusAttenuation object 半径が最大の減衰。これは、Audio Sourceオブジェクトをソースとして直接含むことができるオブジェクト、または子孫を通して間接的に含むことができるオブジェクト全てに、適用されます。
objects[...].maxRadiusAttenuation.id string 半径が最大の減衰オブジェクトの、ID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].maxRadiusAttenuation.radius number 減衰オブジェクトの半径。
objects[...].audioSourceLanguage object オーディオソースに関連付けられたランゲージ。これは、Audio Sourceオブジェクトに、直接適用されるだけです。
objects[...].audioSourceLanguage.id string Audio Sourceオブジェクトに関連するLanguageオブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].audioSourceLanguage.name string Audio Sourcオブジェクトか関連付けられているLanguageオブジェクトの名前。
objects[...].workunitIsDefault boolean ワークユニットがデフォルトであれば、true。
objects[...].workunitType string Work Unitのタイプ。なお、Work Unitsと同様に、物理フォルダにも"WorkUnit"というタイプがあります。物理フォルダには、workunitType "folder"があります。可能な値:
  • folder
  • rootFile
  • nestedFile
objects[...].workunitIsDirty boolean Work UnitまたはProject(wprojファイル)がダーティである場合、つまり変更したあとに保存していない場合は、true。
objects[...].switchContainerChildContext object Switch Containerの子に関連付けられた、コンテキストオブジェクト。子に関連する、Switch Containerのコンテキストに依存するプロパティを、このオブジェクトが保持します(例えば、'1st only'チェックボックスのプロパティなど)。
objects[...].switchContainerChildContext.id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].isExplicitMute boolean Whether or not the object has been muted explicitly. Explicitly muting an object implicitly mutes the descendant objects.
objects[...].isExplicitSolo boolean Whether or not the object has been soloed explicitly. Soloing an object silences all the other objects in the project except this one.
objects[...].isImplicitMute boolean Whether or not the object has been muted implicitly. Explicitly muting an object implicitly mutes the descendant objects.
objects[...].isImplicitSolo boolean Whether or not the object has been soloed implicitly. Soloing an object silences all the other objects in the project except this one.
objects[...].isIncluded boolean Whether or not the object is Included. 選択肢からプラットフォームを指定。This takes into consideration the Inclusion status of the object's ancestors.
objects[...].points array This only applies to Curve objects.
An array of points defining a curve.
objects[...].points [...] object カーブ上の点。
objects[...].points[...].x * number カーブの点の、X座標。
objects[...].points[...].y * number カーブの点の、Y座標。
objects[...].points[...].shape * string この点から、次の点までの、カーブセグメントの形状。可能な値:
  • Constant
  • Linear
  • Log3
  • Log2
  • Log1
  • InvertedSCurve
  • SCurve
  • Exp1
  • Exp2
  • Exp3
objects[...].stateProperties array An array of state properties to set.
objects[...].stateProperties [...] string The name of the property to set.
objects[...].stateGroups array The State Group objects associated with this object.
objects[...].stateGroups [...] object A State Group object.
objects[...].stateGroups[...].id string The ID (GUID) of the State Group object.
An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
objects[...].stateGroups[...].name string The name of the State Group object.
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$) any of: クエリを構成し、プロパティ値またはオブジェクトリファレンスを出す、ドット区切りのアクセサを指定します。1つの@マークは、関連するオブジェクトのプロパティ値を示します。2つの@マークは、ソースがオーバーライドするプロパティ値を示します。使用可能なすべてのタイプの、プロパティやリファレンスの詳細については、 Wwiseオブジェクトリファレンス を参照してください。
string 文字列値。
array An array of string values.
number 数値。
array An array of numeric values.
boolean ブール値。
array An array of boolean values.
object オブジェクトのリファレンス値。
array オブジェクトリストのリファレンス値。
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$) [...] string 文字列値。
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$) [...] number 数値。
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$) [...] boolean ブール値。
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$).id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$).name string オブジェクト名。
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$) [...] object オブジェクトのリファレンス値。
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$)[...].id string オブジェクトのID(GUID)。
オブジェクトGUIDで、その形式は: {aabbcc00-1122-3344-5566-77889900aabb}。
objects[...].regex(^((@?@?[a-zA-Z0-9:_\(\),]+)|[a-zA-Z\(\),]+\(.+\))(\.@?@?[a-zA-Z0-9:_\(\),]+|[a-zA-Z\(\),]+\(.+\))*$)[...].name string オブジェクト名。

結果スキーマ

関連情報

Wwise Authoring APIの詳細は、 Wwise Authoring API (WAAPI)を使用する を参照してください。


このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう