Improve shortcuts "jump to 0, 16, 32, 48"


#1

Would be great if there also were shortcuts for 1/8th jumps (for a common 128 rows pattern), so instead above, this:

jump to start

jump to 1/8

jump to 1/4

jump to 3/8

jump to middle

jump to 5/8

jump to 3/4

jump to 7/8

jump to end


#2

Would be great if there also were shortcuts for 1/8th jumps (for a common 128 rows pattern), so instead above, this:

jump to start

jump to 1/8

jump to 1/4

jump to 3/8

jump to middle

jump to 5/8

jump to 3/4

jump to 7/8

jump to end

Well, it is possible to jump according to the value of the "step lenght"using the following command:

  • Up: CTRL + SHIFT + Up
  • Down: CTRL + SHIFT + Down

Then you just have to set this value to perform the exact jump.Can not this help you?

Edit:You should be able to do odd and even jumps!


#3

This is a function that I built that does exactly that, even jumping between patterns:

-----------------------------------------------------------------------------------------------
--up/down edit_step
function pht_kh_nav_edit_step( value )
  local song = renoise.song()
  local sli = song.selected_line_index
  local nol = song.selected_pattern.number_of_lines
  local edit_step = song.transport.edit_step
  if ( value > 0 ) then
    if ( nol >= sli + edit_step ) then
      song.selected_line_index = sli + edit_step
    else
      local difference = edit_step - ( nol - sli )
      --print(difference)
      if ( song.selected_sequence_index + 1 <= #song.sequencer.pattern_sequence ) then
        song.selected_sequence_index = song.selected_sequence_index + 1
        if ( difference <= song.selected_pattern.number_of_lines ) then
          song.selected_line_index = difference
        else
          song.selected_line_index = 1
        end
      else
        song.selected_line_index = song.selected_pattern.number_of_lines
      end
    end
  else
    local difference = edit_step - sli
    --print(difference)
    if ( sli > edit_step ) then
      song.selected_line_index = song.selected_line_index - edit_step
    else
      if ( song.selected_sequence_index - 1 >= 1 ) then
        song.selected_sequence_index = song.selected_sequence_index - 1
        if ( 1 <= song.selected_pattern.number_of_lines - difference ) then
          song.selected_line_index = song.selected_pattern.number_of_lines - difference
        end
      else
        song.selected_line_index = 1
      end
    end
  end
end

up: function pht_kh_nav_edit_step( -1 )

down: function pht_kh_nav_edit_step( 1 )

With keyhandler:

function pht_keyhandler( dialog, key )
  --up/down edit_step
  if ( key.modifiers == "shift + control") and not ( key.modifiers == "control" ) and ( key.name == "up" ) then
    if not ( key.repeated ) then pht_kh_nav_edit_step( -1 ) else pht_kh_nav_edit_step( -1 )end
  end
  ---
  if ( key.modifiers == "shift + control") and not ( key.modifiers == "control" ) and ( key.name == "down" ) then
    if not ( key.repeated ) then pht_kh_nav_edit_step( 1 ) else pht_kh_nav_edit_step( 1 )end
  end
end

#4

Hmm… Maybe I should add “go to start, go to end, go to middle of pattern length” into Paketti too. Should be easy.