get_track_peak_hold
Retrieve the highest peak level of a track since the last meter reset to set gain levels after stopping playback.
Instructions
Get the peak hold level of a track (highest peak since meters were last reset).
Returns the max peak from a previous playback without needing to be actively playing - play the project, stop, then call this for gain staging.
Args: channel: Channel (0=left, 1=right).
Returns: Object with peak hold value in dB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | ||
| track_index | Yes |