Jump to content


Photo
- - - - -

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


  • Please log in to reply
3 replies to this topic

#1 ___

___

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

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3352 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
  • 1410 posts
  • Gender:Male
  • Location:Spain

Posted 22 May 2018 - 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), 22 May 2018 - 16:33.

  • ___ likes this

:excl: Development of my tools: SamRenderPhraseTouch  |  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
  • 1410 posts
  • Gender:Male
  • Location:Spain

Posted 22 May 2018 - 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), 22 May 2018 - 16:42.

  • esaruoho likes this

:excl: Development of my tools: SamRenderPhraseTouch  |  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

#4 esaruoho

esaruoho

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2678 posts
  • Gender:Male
  • Location:Kontula, Helsinki, Finland
  • Interests://Varying Interests//

Posted 24 May 2018 - 11:18

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


http://lackluster.org | on Bandcamp | on YouTube | on Facebook | on Spotify | on iTunes | on TiDAL | on Soundcloud | 

http://twitter.com/esaruoho | http://esaruoho.tumblr.com | GitHubesaruoho@gmail.com | 

| macOS 10.13 High Sierra | MacBook Pro 2.8 GHz Intel Core i7 / 16 Gb 1600 MHz DDR 3 |

| http://renoise.com/tools/paketti | BTC: 1BoZ9rvb8wT7dFNyVPwSX7DLj3stNo7844 | http://paypal.me/esaruoho |

| Latent Impulse Tracker/Scream Tracker 3/Schism Tracker <-> Renoise fanatic |

More API functions, please! ;) http://forum.renoise.com/index.php/topic/26329-the-api-wishlist-thread/page-3#entry240266