renoise.PatternTrack
- Properties
- alias_pattern_index :
integer
- alias_pattern_index_observable :
renoise.Document.Observable
- automation :
renoise.PatternTrackAutomation
[] - automation_observable :
renoise.Document.ObservableList
- color :
RGBColor``?
- color_observable :
renoise.Document.Observable
- is_alias :
boolean
- is_empty :
boolean
- is_empty_observable :
renoise.Document.Observable
- lines :
renoise.PatternLine
[]
- alias_pattern_index :
- Functions
- clear(self)
- copy_from(self, other :
renoise.PatternTrack
) - create_automation(self, parameter :
renoise.DeviceParameter
) - delete_automation(self, parameter :
renoise.DeviceParameter
) - find_automation(self, parameter :
renoise.DeviceParameter
) - line(self, index :
integer
) - lines_in_range(self, index_from :
integer
, index_to :integer
)
- Local Aliases
Properties
alias_pattern_index : integer
index or 0 when no alias is present
alias_pattern_index_observable : renoise.Document.Observable
Track changes to document properties or general states by attaching listener functions to it.
automation : renoise.PatternTrackAutomation
[]
Automation.
automation_observable : renoise.Document.ObservableList
Track changes to document lists by attaching listener functions to it. NB: Notifiers will not broadcast changes made to list items, but only changes to the lists layout (items got added, removed, swapped).
color : RGBColor
?
slot color of the pattern in the matrix, nil when no slot color is set
color_observable : renoise.Document.Observable
Track changes to document properties or general states by attaching listener functions to it.
is_alias : boolean
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
Track changes to document properties or general states by attaching listener functions to it.
lines : renoise.PatternLine
[]
READ-ONLY Get all lines in range [1, number_of_lines_in_pattern]. Use
renoise.Pattern:add/remove_line_notifier
for change notifications.
Functions
clear(self)
Deletes all lines & automation.
copy_from(self, other : renoise.PatternTrack
)
Copy contents from other pattern tracks, including automation when possible.
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.
find_automation(self, parameter : renoise.DeviceParameter
)
->
renoise.PatternTrackAutomation
?
Returns the automation for the given device parameter or nil when there is none.
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)
Local 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