Module xPatternSequencer
Static methods for working with the renoise.PatternSequence .
Functions
within_bounds (seq_idx) | [Static] Check if position is within actual song boundaries |
switch_to_sequence (pos) | [Static] Switch to the specified position, while attempting to keep the beat Intended for realtime usage, where jumping between differently-sized patterns can be tricky. |
loop_current_section () | [Static] Enable loop for the section that playback is currently located in |
loop_section_by_index (section_index) | [Static] Loop the specified section |
gather_section_positions () | [Static] Retrieve indices for sections in pattern-sequence |
get_section_index_by_seq_pos (seq_pos) | [Static] Retrieve section-index for a given position in the pattern-sequence |
set_scheduled_section (section_index) | [Static] Schedule a given section-index for playback |
get_playing_pattern () | [Static] Getplayingpattern |
get_number_of_lines (seq_idx) | [Static] Retrieve the pattern index OPTIMIZE how to implement a caching mechanism? |
get_pattern_at_index (seq_idx) | [Static] Retrieve the pattern at the specified sequencer index |
goto_previous () | simple sequence navigation (previous) |
goto_next () | simple sequence navigation (next) |
Functions
- within_bounds (seq_idx)
-
[Static] Check if position is within actual song boundaries
Parameters:
- seq_idx , int
Returns:
-
bool
- switch_to_sequence (pos)
-
[Static] Switch to the specified position, while attempting to keep the beat
Intended for realtime usage, where jumping between differently-sized patterns can be tricky.
Parameters:
- pos (renoise.SongPos)
- loop_current_section ()
- [Static] Enable loop for the section that playback is currently located in
- loop_section_by_index (section_index)
-
[Static] Loop the specified section
Parameters:
- section_index (number)
- gather_section_positions ()
- [Static] Retrieve indices for sections in pattern-sequence
- get_section_index_by_seq_pos (seq_pos)
-
[Static] Retrieve section-index for a given position in the pattern-sequence
Parameters:
- seq_pos (number)
- set_scheduled_section (section_index)
-
[Static] Schedule a given section-index for playback
Parameters:
- section_index
- get_playing_pattern ()
-
[Static] Getplayingpattern
Returns:
-
renoise.Pattern
- get_number_of_lines (seq_idx)
-
[Static] Retrieve the pattern index
OPTIMIZE how to implement a caching mechanism?
Parameters:
- seq_idx , sequence index
Returns:
- int (number of lines) or nil
- int (pattern index) or nil
- renoise.Pattern or nil
- get_pattern_at_index (seq_idx)
-
[Static] Retrieve the pattern at the specified sequencer index
Parameters:
- seq_idx
Returns:
- renoise.Pattern or nil
- int (pattern index) or nil
- goto_previous ()
- simple sequence navigation (previous)
- goto_next ()
- simple sequence navigation (next)