renoise.PatternTrack
- Properties
- is_alias :
boolean - alias_pattern_index :
integer - alias_pattern_index_observable :
renoise.Document.Observable - color :
RGBColor? - color_observable :
renoise.Document.Observable - is_empty :
boolean - is_empty_observable :
renoise.Document.Observable - lines :
renoise.PatternLine[] - automation :
renoise.PatternTrackAutomation[] - automation_observable :
renoise.Document.ObservableList
- is_alias :
- Functions
- clear (self)
- copy_from (self,
renoise.PatternTrack) - line (self,
integer)->renoise.PatternLine - lines_in_range (self,
integer,integer)->renoise.PatternLine[] - find_automation (self,
renoise.DeviceParameter)->renoise.PatternTrackAutomation? - create_automation (self,
renoise.DeviceParameter)->renoise.PatternTrackAutomation - delete_automation (self,
renoise.DeviceParameter)
- Aliases
Properties
is_alias : boolean
Ghosting (aliases) READ-ONLY
alias_pattern_index : integer
index or 0 when no alias is present
alias_pattern_index_observable : renoise.Document.Observable
READ-ONLY
color : RGBColor?
slot color of the pattern in the matrix, nil when no slot color is set
color_observable : renoise.Document.Observable
READ-ONLY
is_empty : boolean
Returns true when all the track lines are empty. Does not look at automation.
is_empty_observable : renoise.Document.Observable
READ-ONLY
lines : renoise.PatternLine[]
Get all lines in range [1, number_of_lines_in_pattern]. Use
renoise.Pattern:add/remove_line_notifierfor change notifications. READ-ONLY
automation : renoise.PatternTrackAutomation[]
Automation.
automation_observable : renoise.Document.ObservableList
READ-ONLY
Functions
clear(self)
Deletes all lines & automation.
copy_from(self, other : renoise.PatternTrack)
Copy contents from other pattern tracks, including automation when possible.
line(self, index : integer)
Access to a single line by index. Line must be in Range: (1 - MAX_NUMBER_OF_LINES). This is a !lot! more efficient than calling the property: lines[index] to randomly access lines.
lines_in_range(self, index_from : integer, index_to : integer)
Get a specific line range. Index must be Range: (1 - Pattern.MAX_NUMBER_OF_LINES)
find_automation(self, parameter : renoise.DeviceParameter)
->renoise.PatternTrackAutomation?
Returns the automation for the given device parameter or nil when there is none.
create_automation(self, parameter : renoise.DeviceParameter)
->renoise.PatternTrackAutomation
Creates a new automation for the given device parameter. Fires an error when an automation for the given parameter already exists. Returns the newly created automation. Passed parameter must be automatable, which can be tested with ‘parameter.is_automatable’.
delete_automation(self, parameter : renoise.DeviceParameter)
Remove an existing automation the given device parameter. Automation must exist.
Aliases
RGBColor
{ 1 : integer, 2 : integer, 3 : integer }
A table of 3 bytes (ranging from 0 to 255) representing the red, green and blue channels of a color. {0xFF, 0xFF, 0xFF} is white {165, 73, 35} is the red from the Renoise logo