FMOD Studio User Manual 2.02
Types:
Extension Methods:
model.Parameter specified.The base class for tracks that can contain instruments.
See Also: model.Sound
A track within an event that is associated with a mixer group.
See Also: model.Event, model.MixerGroup
A logic track containing logic markers.
Creates an automation track for a given property of an automatable object.
AudioTrack.addAutomationTrack(
automatableObject,
propertyName
)
Returns the automation track ManagedObject.
Automation can be present even if the automation track is hidden.
Example:
// adds an automation track for a master track's volume
var event = studio.project.workspace.addEvent("New Event", true);
var masterTrack = event.masterTrack;
var automationTrack = masterTrack.addAutomationTrack(masterTrack.mixerGroup, "volume");
// adds an automation track for a gain effect's gain
var gainEffect = masterTrack.mixerGroup.effectChain.addEffect("GainEffect");
var automationTrack2 = masterTrack.addAutomationTrack(gainEffect, "gain");
See Also: Tracks
Adds an instrument to the track on the model.Parameter specified.
GroupTrack.addSound(
parameter,
soundType,
start,
length
)
Returns the model.Sound ManagedObject.
See Also: Tracks
Retrieves the mixer bus at the relative path specified.
GroupBus.getItem(
path
)
Returns the model.MixerBus at the relative path specified. Returns undefined if the bus cannot be found.
Example:
var bus = studio.project.workspace.mixer.masterBus.getItem("sfx/player");
Adds a destination marker to the marker track at the given position.
MarkerTrack.addNamedMarker(
name,
position
)
string value to assign the marker when created.Returns the named marker ManagedObject.
Adds a destination region to the marker track at the given position with the given length.
MarkerTrack.addRegion(
position,
length,
name,
loopMode
)
string value to assign the new region.project.regionLoopMode.Looping if loopMode is undefined. The loop mode can be set by passing in a valid loopMode argument, as described by the Project.regionLoopMode enum.Returns the newly created region's ManagedObject.
Adds a sustain point to the track at the given position.
MarkerTrack.addSustainPoint(
position
)
Returns the SustainPoint ManagedObject.
Adds a transition marker to the track at the given position.
MarkerTrack.addTransitionMarker(
position,
destination
)
NamedMarker or LoopRegion.Returns the newly created TransitionMarker ManagedObject.
Adds a transition region to the track at the given position with the given length.
MarkerTrack.addTransitionRegion(
position,
length,
destination
)
NamedMarker or a LoopRegion.Returns the TransitionRegion ManagedObject.