Jump to content


Photo

Duplicate Track Including Patterns oddity


  • Please log in to reply
6 replies to this topic

#1 Meef Chaloin

Meef Chaloin

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 475 posts
  • Gender:Male

Posted 17 August 2017 - 18:21

Why does the muted patterns (X) status get lost when duplicating a track including patterns? 


  • ffx likes this


#2 Raul (ulneiz)

Raul (ulneiz)

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 965 posts
  • Gender:Male
  • Location:Spain

Posted 18 August 2017 - 21:59

Why does the muted patterns (X) status get lost when duplicating a track including patterns? 

 

Duplication of a track has a specific predefined behavior...

  • If you duplicate a track without the parameters (CTRL + D) doubles track in active state ("PLAY").
  • If you duplicate a track with the parameters (CTRL + ALT + D) doubles track in off state ("OFF"). I guess it's for safety, since you're doubling the sound. Seem right.

But both cases ignore the X state of each pattern-track (it is not programmed, it seem). I think it should work just as you describe it. As it now works, you need to constantly check in the matrix editor. Group duplication is also a problem. I have always thought that duplication should be an exact mirror, with all the properties: order, color, color blend, subcolumns on or off ,muted, visible columns, same written parameters, etc. The effects chains is another story.

 

Months ago a related problem was solved that will come in the next version, supposedly. Perhaps this issue should be reviewed?


  • Meef Chaloin likes this

:excl: Development of my tool: GT16-Colors

 

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

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 18 July 2017):

Spoiler

#3 Meef Chaloin

Meef Chaloin

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 475 posts
  • Gender:Male

Posted 19 August 2017 - 09:35

It is very tedious, I can't really imagine many scenarios when you want to duplicate a track and have the patterns not follow what was muted in the original track. Having to manually go through the whole song muting all the parts by hand is such a waste of time. 



#4 ffx

ffx

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2899 posts
  • Gender:Not Telling
  • Interests:Renoise sidechaining, macOS fanboying

Posted 19 August 2017 - 11:11

it gets lost because the track duplicate function was written pre sequence matrix era.


MacOS 10.12.6 Retina, Renoise 3.1 64 bit   -   Tuned Shortcuts | Multi-Jump From/To Send | Quick Template | Insert Native DSP Menu (incl. deprecated)


#5 Raul (ulneiz)

Raul (ulneiz)

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 965 posts
  • Gender:Male
  • Location:Spain

Posted 19 August 2017 - 12:32

It is very tedious, I can't really imagine many scenarios when you want to duplicate a track and have the patterns not follow what was muted in the original track. Having to manually go through the whole song muting all the parts by hand is such a waste of time. 

True!

 

it gets lost because the track duplicate function was written pre sequence matrix era.

 

I think it is lost because the function does not contemplate it. It is possible to duplicate the track and then check the status of each pattern-track in the same function.


:excl: Development of my tool: GT16-Colors

 

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

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 18 July 2017):

Spoiler

#6 Raul (ulneiz)

Raul (ulneiz)

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 965 posts
  • Gender:Male
  • Location:Spain

Posted 19 August 2017 - 12:57

By the way, I have a function that duplicates the track as it is. You may even have specific options. But it does not contemplate the state of the X (and muted). I suspect it is an oblivion.

 

 

In the API documentation, this is for the muted state:

-- Access to sequencer slot mute states. Mute slots are memorized in the sequencer and not in the patterns.
renoise.song().sequencer:track_sequence_slot_is_muted(track_index, sequence_index)-> [boolean]
renoise.song().sequencer:set_track_sequence_slot_is_muted(track_index, sequence_index, muted)

What code would be for the X state?

 

Edit:

 

I have not tried it yet. But I think the state of the X is this equivalent to muted patternrenoise.song().sequencer:track_sequence_slot_is_muted(track_index, sequence_index)-> [boolean]

 

It actually applies in the sequence, not in the pattern. And constant for muted track: renoise.Track.MUTE_STATE_MUTED

 


Edited by Raul (ulneiz), 19 August 2017 - 13:08.

:excl: Development of my tool: GT16-Colors

 

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

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 18 July 2017):

Spoiler

#7 Raul (ulneiz)

Raul (ulneiz)

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 965 posts
  • Gender:Male
  • Location:Spain

Posted 19 August 2017 - 13:34

OK! Agree added to my cloning function:

 

Spoiler

 

@Mef Chaolin. If you need a tool with a button for cloning (only track type), tell me. Simply add this function to a clean tool and you're done. The code responsible:

  for s = 1, #song.sequencer.pattern_sequence do
    tr = song.patterns[ s ].tracks
    tr[ sti + 1 ]:copy_from( tr[ sti ] )
    --mute state
    if song.sequencer:track_sequence_slot_is_muted( sti, s ) then
      song.sequencer:set_track_sequence_slot_is_muted( sti + 1, s, true )
    end
  end

  • Meef Chaloin likes this

:excl: Development of my tool: GT16-Colors

 

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

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 18 July 2017):

Spoiler