Methods
addTier(tier, tierIndexopt)
Adds a tier to the textgrid. Added to the end, unless an index is specified.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
tier |
TextgridTier | |||
tierIndex |
number |
<optional> |
null | The index to insert at. If null, add it to the end. |
- Source:
removeTier(name)
Removes the given tier from this textgrid.
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
- Source:
renameTier(oldName, newName)
Renames one tier. The new name must not exist in the textgrid already.
Parameters:
Name | Type | Description |
---|---|---|
oldName |
string | |
newName |
string |
- Source:
replaceTier(name, newTier)
Replace the tier with the given name with a new tier
Parameters:
Name | Type | Description |
---|---|---|
name |
string | |
newTier |
TextgridTier |
- Source: