Jump to content


Photo
- - - - -

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


  • Please log in to reply
2 replies to this topic

#1 ffx

ffx

    Composes without Wires burns Directly from Brain to DVD that is already in Store Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3305 posts
  • Gender:Not Telling

Posted 17 May 2018 - 12:27

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

 
 

 


Test system: macOS 10.13.4, HFS+. Firewire Audio, i7 4770, 8GB Ram, GTX1050 2GB, 48kHz


#2 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1339 posts
  • Gender:Male
  • Location:Spain

Posted Today, 16:30

 

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!


Edited by Raul (ulneiz), Today, 16:33.

:excl: Development of my tools PhraseTouch  |  GT16-Colors (old)

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler

#3 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1339 posts
  • Gender:Male
  • Location:Spain

Posted Today, 16:39

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

Edited by Raul (ulneiz), Today, 16:42.

:excl: Development of my tools PhraseTouch  |  GT16-Colors (old)

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler