Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions src/midi_controller_scripting/mixer/__events.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,43 @@ def isTrackPluginValid(index: int, plugIndex: int) -> bool:
return False


def getPluginMixLevel(index: int, plugIndex: int) -> float:
"""
Returns the mix level of a plugin on the mixer.

## Args

* `index` (`int`): mixer track index.

* `plugIndex` (`int`): slot index on the given track.

## Returns

* `float`: mix level.

Included since API Version `TODO`.
"""
return 0.0


def setPluginMixLevel(index: int, plugIndex: int, value: float, pickupMode: int = 0) -> None:
"""
Sets the mix level of a plugin on the mixer.

## Args

* `index` (`int`): mixer track index.

* `plugIndex` (`int`): slot index on the given track.

* `value` (`float`): new mix level (between 0 and 1).

* `pickupMode` (`int`, optional): pickup mode. Defaults to `0`.

Included since API Version `TODO`.
"""


def getEventValue(
index: int,
value: int = midi.MaxInt,
Expand Down