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
13 changes: 13 additions & 0 deletions src/edison_scripting/enveditor/__sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,19 @@ def SilenceFromTo(
* `end` (`int`): the ending position
"""

def AddRegion(self, name: str, start: int, end: int = -1) -> None:
"""
Add a region or marker to this sample.

## Args:
* `name` (`str`): the name of the region

* `start` (`int`): the starting position of the region

* `end` (`int`, optional): the ending position of the region. If this
is less than `0`, then the region is a marker. Defaults to `-1`
"""

def SineFromTo(
self,
start: int,
Expand Down