Command · Set Track 5.1 Panner
track.setSurroundPan
The 5.1 panner of a mono or stereo track on a 5.1 master (Premiere's track 5.1 panner): the puck x (-1 left .. +1 right) and y (-1 back .. +1 front; front centre plays stereo on L/R and mono on C) and the LFE send in dB (-144 = off).
- v1
- Capability EditSequence
- Tool
track_setSurroundPan
Request
{
"command": "track.setSurroundPan",
"params": {
"track": "A1",
"x": -0.5,
"y": 0.5
}
}Parameters
lfeDbnumber (-144.0..0.0)- The LFE send, dB.
sequenceinteger (1..)- Sequence id; only needed when the project has several.
trackinteger | stringRequired- The audio track. A label ("A1") or a track id.
xnumber (-1.0..1.0)- Left .. right.
ynumber (-1.0..1.0)- Back .. front.
Discussion
The 5.1 panner of a mono or stereo track on a 5.1 master (Premiere's track 5.1 panner): the puck x (-1 left .. +1 right) and y (-1 back .. +1 front; front centre plays stereo on L/R and mono on C) and the LFE send in dB (-144 = off). One undo step.
Run it with wabcut-cli cmd <project> --json, from an MCP client as track_setSurroundPan, or from an extension. See Edit commands for requests, references and results.
See also
track.*
- track.mask
Track Mask. Tracks a mask through the clip's media, frame by frame from "time" (forward or backward, to the clip's end or "frames" frames), with pyramidal Lucas-Kanade on features inside the mask and a robust fit of its motion ("model").
- track.setFormat
Set Track Channel Format. An audio track's channel format (Premiere's mono, stereo, 5.1 and adaptive tracks): clips are mixed to it (mono averages, 5.1 to stereo is ITU-R BS.775), and it to the master's format; adaptive passes channels through one to one.
- track.setPan
Set Track Pan. Sets an audio track's panner: -1 = left .. 0 = centre .. +1 = right, a balance on the track's stereo mix (centre leaves it unchanged; towards a side the other side follows the -3 dB constant-power curve down to silence).
- track.setRecordArm
Set Track Record Arm. Arms an audio track for voice-over recording or disarms it (the R button of Premiere's track headers and Audio Track Mixer).
- track.setRole
Set Track Role. What an audio track carries: dialogue, music or effects (Premiere's Essential Sound types), or none. audio.autoDuck lowers music-role tracks under dialogue-role tracks.
- track.setState
Set Track State. Changes track header toggles: lock, target, sync lock, mute, solo, output, name.
- track.setVolume
Set Track Volume. Sets an audio track's fader (Premiere's track Volume): dB, 0 = unity, applied to the track's mix after its effects.
- track.transform
Track Motion. Tracks a region of a clip ("region": {x, y, width, height} 0..1 of the frame, {"mask": id}, or {"detect": "face"} once a detector is installed) and keys a clip's Motion with it (one undo step): "follow" moves "target" with the region (position; with the similarity model also scale and rotation), "stabilize" keys the tracked clip so the region stays still.