Jump to content


Photo

New Tool (3.0) Render and Slice


  • Please log in to reply
23 replies to this topic

#1 afta8

afta8

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 751 posts
  • Gender:Male
  • Location:London

Posted 08 February 2015 - 11:36

This tool works exactly like the native 'Render To Sample' function but goes one step further and slices the resulting sample based on where the note positions are in the source tracks.

For example if you have 4x4 drum beat and use this tool it will render the sample and insert 4 slices, one on every beat.

 

Optionally, the tool will also create a new track with the slice pattern data on it, so that it can be played back like the original source.

 

Usage

-Similar to 'Render To Sample' highlight a range in the pattern editor over a single track or multiple tracks.

-Right click in the pattern editor and select 'Render and Slice' (This can also be set as a keyboard shortcut)

-The tool will then render the selection and load it into the next available empty instrument (or it will create it if there isn't one)

-The rendered output will be sliced based on the note positions in the selected source range.

-A new track will also be created to the right of the range and the slice pattern data will be written to that, playback of this track will match the source material. You can disable this creation of a new track as a default behaviour in the Tools menu under 'Render and Slice'.

 

If you want to render multiple track but only slice based on the note data of some of the tracks then you can use mute and solo in the mixer to specify this as the tool will ignore slice data from muted tracks.

 

For example:

Screenshot 2015-02-08 10.14.49.png

With mixer settings like this, the audio will be rendered from all 3 tracks, but the slices will only be based on the note data from the first (unmuted) track.

 

In the tools menu you can set:

  • Render output settings can also be adjusted from the tools menu.
  • Write slices to a new track - Creates a new track with the pattern data
  • Write phrases to instrument - Creates a phrase for each slice

 

 

Enjoy :)

 

Also thanks to Djeroek for helping out with this.

Attached Files


Edited by afta8, 03 April 2015 - 14:12.

  • jiku, danoise, keith303 and 11 others like this

#2 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6798 posts
  • Gender:Male
  • Location:Borneo

Posted 08 February 2015 - 16:22

Don't sleep on this people, wicked tool for in track freezing, auto-placing the renders inside the pattern.

 

Made a quick lill demo, automating fx, rendering the result in a sliced instrument, re-shuffling the notes in another pattern and automate more dsp on top - rinse and repeat.

 

https://www.mediafir...8lxar8whbm8lamq

 

 


  • jiku, danoise and afta8 like this

#3 Meef Chaloin

Meef Chaloin

    Big Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPip
  • 527 posts
  • Gender:Male

Posted 08 February 2015 - 16:55

This is fantastic, thank you very much. Great demo as well.


  • Djeroek likes this


#4 emre_k

emre_k

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 432 posts

Posted 09 February 2015 - 08:04

Looks quite interesting, thanks guys!


  • Djeroek likes this

#5 afta8

afta8

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 751 posts
  • Gender:Male
  • Location:London

Posted 09 February 2015 - 11:09

Thanks Meef and emre_k.. 

That demo is very cool Djeroek, slick chops and I like how the DSP automations build up.. shows a good use of the tool, doing that level of slicing manually would take ages!


  • Djeroek likes this

#6 pat

pat

    Big Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPip
  • 515 posts
  • Gender:Male

Posted 10 February 2015 - 17:39

awesome!


  • Djeroek and afta8 like this

#7 tL One

tL One

    Member

  • Normal Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:Earth
  • Interests:Nature & Space. MMA. K1/Pride. Heavyweight Boxing.
    Black History.

Posted 20 February 2015 - 00:16

This is uber-big! 

 

Useful to me beyond explanation.

 

thanks man, really!

 

tL.


  • afta8 likes this

#8 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6798 posts
  • Gender:Male
  • Location:Borneo

Posted 22 February 2015 - 04:51

Got this error;

 

 

'C:\Users\plugexpert\AppData\Roaming\Renoise\V3.0.1\Scripts\Tools\com.afta8.RenderAndSlice.xrnx\main.lua' failed in one of its notifiers.

 
Please contact the author (afta8 | fathand@gmail.com  ) for assistance...
 
main.lua:150: attempt to index field '?' (a nil value)
stack traceback:
  main.lua:150: in function 'write_notes'
  main.lua:252: in function 'notes_to_slices'
  main.lua:334: in function <main.lua:292>

 

trying to render a  track with 2 command rows, 120 line pattern length, though it rendered without problems before in the same song. There is a rendered sample result, but it isn't sliced and put in a the render & slice track.

 

If I delete the (previously created) render & slice track and try again, it does render & slice correctly without this error notice appearing.



#9 Akiz

Akiz

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1000 posts
  • Gender:Male

Posted 22 February 2015 - 15:19

... I wanted to say that i´ve needed this for a long time and i thank you so much but then i´ve realized that it doesnt work for matrix editor but pattern editor. But it is still cool ;)


Edited by Akiz, 22 February 2015 - 15:21.

  • afta8 likes this

#10 hazeltine

hazeltine

    Member

  • Normal Members
  • PipPip
  • 42 posts
  • Gender:Male

Posted 25 February 2015 - 20:31

Thank you!


  • afta8 likes this

#11 afta8

afta8

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 751 posts
  • Gender:Male
  • Location:London

Posted 03 April 2015 - 14:08

Updated to v0.7

 

Added option to create phrases from pattern data, see the tools menu to make the setting (on by default)

 

With this option set, the rendering and slicing will happen as usual, however for each note where a slice would usually be triggered it will trigger a phrase which starts with that slice note but then goes on to play the rest of the pattern data from there.

 

I could explain it better but just try it out and look at the phrase data and this will make more sense.

 

See first post for the file.


  • Djeroek likes this

#12 esaruoho

esaruoho

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 04 April 2015 - 12:18

very interesting tool & nice demo. will def try this out somehow


  • afta8 likes this

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

#13 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6798 posts
  • Gender:Male
  • Location:Borneo

Posted 05 April 2015 - 11:09

Updated to v0.7

 

this tool is so good! :)

 

...can't wait for the new Renoise to drop so my disneyland magic feature request can make it inside the tool. An option to render and replace the source selection, automatically muting used dsp track fx for the duration of the selection so it'll be a seamless transition from original to bounced. Afaik currently not really possible without workaround hacks, not having the active/bypassed parameter available to control through lua, 


  • afta8 likes this

#14 TheBellows

TheBellows

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2580 posts
  • Gender:Male
  • Location:Oslo, Norway
  • Interests:Jepp

Posted 08 May 2015 - 14:08

It seems i never need to worry about tools and features because afta8 has already made a tool for it. :)

 

I have a suggestion to make this even more useful (or maybe for another tool): When i autoslice a sample the beats are all over the place and it's hopelessly tedious to try and fit those slices into a pattern. If there was a function that distributes the already sliced sample to a pattern so that it plays like the original, it would be a lot more convenient.  


Edited by TheBellows, 08 May 2015 - 14:32.

  • afta8 likes this


#15 dblue

dblue

    Dodgy Geezer

  • Admins
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5832 posts
  • Gender:Male
  • Location:Berlin
  • Interests:Code. Music. Graphics.

Posted 08 May 2015 - 14:48

If there was a function that distributes the already sliced sample to a pattern so that it plays like the original

Check out my Slices to Pattern tool. Link in my sig below. :)
  • TheBellows and afta8 like this

#16 TheBellows

TheBellows

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2580 posts
  • Gender:Male
  • Location:Oslo, Norway
  • Interests:Jepp

Posted 08 May 2015 - 14:57

Check out my Slices to Pattern tool. Link in my sig below. :)

Great!

I actually already had a like on your tool, but i must have forgotten about it. ^_^  

Thanks dblue!



#17 ••H∑X∑R••

••H∑X∑R••

    Advanced Member

  • Normal Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Iowa
  • Interests:sonic driving/entrainment, trance states, music and imagery, additive and modal rhythm, synthesis, sound design, permaculture, hand percussion, capoeira angola

Posted 25 May 2015 - 13:38

@afta8: you are the boss. Thank you so much for all of the awesome tools and functionality you add to an already great program!!!


  • Djeroek, afta8 and emre_k like this

dark psychedelic sludge music

https://soundcloud.com/zensphere

 

 


#18 afta8

afta8

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 751 posts
  • Gender:Male
  • Location:London

Posted 25 May 2015 - 22:04

Thanks @hexeye; your comment has made day :D



#19 Djeroek

Djeroek

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6798 posts
  • Gender:Male
  • Location:Borneo

Posted 10 October 2015 - 03:30

This one isn't auto updated correctly in 3.1 because of changes under the hood I guess, but you can manually update the manifest to 5 in the scripting terminal to get it working somewhat.

 

Although I get a result using the tool, the terminal gives the following notice;

 

 

*** std::runtime_error: 'internal error. failed to resolve a phrase mapping for a phrase.'

*** stack traceback:
***   [C]: ?
***   [C]: in function '__index'
***   [string "do..."]:37: in function <[string "do..."]:35>
***   main.lua:215: in function 'notes_to_slices'
***   main.lua:334: in function <main.lua:292>

 

Would be great to have this tool in full effect for 3.1  :drummer: ,  even better after some pimping now that this is addressed; http://forum.renoise...-to-automation/ ?   :yeah:


  • afta8 likes this

#20 afta8

afta8

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 751 posts
  • Gender:Male
  • Location:London

Posted 10 October 2015 - 13:18

For now, disable the 'Write phrases to instrument' setting in the tools menu, this will stop the error message coming up. The way phrases are done seems to have been overhauled so need to get my head around all that, maybe change the way it is done given new features etc..

 

And yes extra pimping is also on the cards :)


  • Djeroek likes this

#21 istlf

istlf

    New Member

  • Normal Members
  • Pip
  • 6 posts

Posted 28 December 2015 - 17:33

really interesting, great way of getting deeper and deeper in the resampling.... thank you!

 

hope the write to phrases functino will come up and running in 3.x soon : )



#22 thalamus

thalamus

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 441 posts
  • Gender:Male
  • Location:Cambridge, UK
  • Interests:Sound

Posted 29 December 2015 - 12:04

I've been thinking about this excellent tool and how I often use it along side some others such as the 'easy tune' and the slices to Midi tool.

I wonder if it would be possible to have the tool analyse the fundamental of a given slice, tune it to C and, when putting it in place on the pattern, assign the correct note to the slice.

Maybe it could also autoloop the slices (like a ReCycle kind of thing) and build a multisampled instrument as an option.

I imagine this working with material that is originally an imported loop as well.

So basically you'd start with a loop from a library or wherever but end up with a carbon copy of the loop in place with all its slices broken out and represented as the correct notes for the original pitch, but each of them would now be a sustaining instrument in its own right.
Packaging all of this into a parent instrument would be essential to keep the number of instrument slots used rational :)

Would need to be optional for percussion stuff where it's maybe less useful.

I think this would be an allmighty tool not just for freezing VSTi but also reworking prerecorded loops. A bit like Melodyne (but not quite, of course).

Great tool!

Edited by thalamus, 29 December 2015 - 13:34.

  • Djeroek likes this

#23 pat

pat

    Big Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPip
  • 515 posts
  • Gender:Male

Posted 11 May 2017 - 16:30

Is there a version of this that works for 3.1 ? or an alternate tool that provides this functionality?



#24 4Tey

4Tey

    Big Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPip
  • 555 posts
  • Gender:Male

Posted 11 May 2017 - 19:18

Maybe just a tiny modification is needed?  But shhhhh don't tell anyone :ph34r: