# New Tool (3.0) Render and Slice

**URL:** <https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102>\
**Category:** Renoise Tools\
**Created:** [February 8, 2015, 10:36am UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102 "2015-02-08T10:36:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![afta8](https://forum.renoise.com/user_avatar/forum.renoise.com/afta8/32/410_2.png) [@afta8](https://forum.renoise.com/u/afta8)\
**Post date:** [February 8, 2015, 10:36am UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/1 "2015-02-08T10:36:25Z")

</div>

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:

5496 [![Screenshot 2015-02-08 10.14.49.png](https://files.renoise.com/forum/uploads/5496-Screenshot%202015-02-08%2010.14.49.png)](https://files.renoise.com/forum/uploads/5496-Screenshot%202015-02-08%2010.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._

---

<div class="post-metadata">

**Author:** ![Jonas](https://forum.renoise.com/user_avatar/forum.renoise.com/jonas/32/6937_2.png) [@Jonas](https://forum.renoise.com/u/Jonas)\
**Post date:** [February 8, 2015, 3:22pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/2 "2015-02-08T15:22:20Z")

</div>

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.mediafire.com/?8lxar8whbm8lamq](https://www.mediafire.com/?8lxar8whbm8lamq)

---

<div class="post-metadata">

**Author:** ![Meef\_Chaloin](https://forum.renoise.com/user_avatar/forum.renoise.com/meef_chaloin/32/2227_2.png) [@Meef\_Chaloin](https://forum.renoise.com/u/Meef_Chaloin)\
**Post date:** [February 8, 2015, 3:55pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/3 "2015-02-08T15:55:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![keno\_f](https://forum.renoise.com/user_avatar/forum.renoise.com/keno_f/32/2057_2.png) [@keno\_f](https://forum.renoise.com/u/keno_f)\
**Post date:** [February 9, 2015, 7:04am UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/4 "2015-02-09T07:04:11Z")

</div>

Looks quite interesting, thanks guys!

---

<div class="post-metadata">

**Author:** ![afta8](https://forum.renoise.com/user_avatar/forum.renoise.com/afta8/32/410_2.png) [@afta8](https://forum.renoise.com/u/afta8)\
**Post date:** [February 9, 2015, 10:09am UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/5 "2015-02-09T10:09:45Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![patmaddox](https://forum.renoise.com/user_avatar/forum.renoise.com/patmaddox/32/2830_2.png) [@patmaddox](https://forum.renoise.com/u/patmaddox)\
**Post date:** [February 10, 2015, 4:39pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/6 "2015-02-10T16:39:05Z")

</div>

awesome!

---

<div class="post-metadata">

**Author:** ![Lytz1](https://forum.renoise.com/user_avatar/forum.renoise.com/lytz1/32/1790_2.png) [@Lytz1](https://forum.renoise.com/u/Lytz1)\
**Post date:** [February 19, 2015, 11:16pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/7 "2015-02-19T23:16:49Z")

</div>

This is uber-big!

Useful to me beyond explanation.

thanks man, really!

tL.

---

<div class="post-metadata">

**Author:** ![Jonas](https://forum.renoise.com/user_avatar/forum.renoise.com/jonas/32/6937_2.png) [@Jonas](https://forum.renoise.com/u/Jonas)\
**Post date:** [February 22, 2015, 3:51am UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/8 "2015-02-22T03:51:45Z")

</div>

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](mailto: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.

---

<div class="post-metadata">

**Author:** ![Akiz](https://forum.renoise.com/user_avatar/forum.renoise.com/akiz/32/27753_2.png) [@Akiz](https://forum.renoise.com/u/Akiz)\
**Post date:** [February 22, 2015, 2:19pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/9 "2015-02-22T14:19:01Z")

</div>

… 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 😉

---

<div class="post-metadata">

**Author:** ![hazeltine](https://forum.renoise.com/letter_avatar/hazeltine/32/6_449c533f586939b6e5f246632a46421f.png) [@hazeltine](https://forum.renoise.com/u/hazeltine)\
**Post date:** [February 25, 2015, 7:31pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/10 "2015-02-25T19:31:04Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![afta8](https://forum.renoise.com/user_avatar/forum.renoise.com/afta8/32/410_2.png) [@afta8](https://forum.renoise.com/u/afta8)\
**Post date:** [April 3, 2015, 1:08pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/11 "2015-04-03T13:08:09Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![esaruoho](https://forum.renoise.com/user_avatar/forum.renoise.com/esaruoho/32/795_2.png) [@esaruoho](https://forum.renoise.com/u/esaruoho)\
**Post date:** [April 4, 2015, 11:18am UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/12 "2015-04-04T11:18:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jonas](https://forum.renoise.com/user_avatar/forum.renoise.com/jonas/32/6937_2.png) [@Jonas](https://forum.renoise.com/u/Jonas)\
**Post date:** [April 5, 2015, 10:09am UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/13 "2015-04-05T10:09:24Z")

</div>

> **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,

---

<div class="post-metadata">

**Author:** ![TheBellows](https://forum.renoise.com/user_avatar/forum.renoise.com/thebellows/32/335_2.png) [@TheBellows](https://forum.renoise.com/u/TheBellows)\
**Post date:** [May 8, 2015, 1:08pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/14 "2015-05-08T13:08:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dblue](https://forum.renoise.com/user_avatar/forum.renoise.com/dblue/32/153_2.png) [@dblue](https://forum.renoise.com/u/dblue)\
**Post date:** [May 8, 2015, 1:48pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/15 "2015-05-08T13:48:11Z")

</div>

> 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. 🙂

---

<div class="post-metadata">

**Author:** ![TheBellows](https://forum.renoise.com/user_avatar/forum.renoise.com/thebellows/32/335_2.png) [@TheBellows](https://forum.renoise.com/u/TheBellows)\
**Post date:** [May 8, 2015, 1:57pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/16 "2015-05-08T13:57:52Z")

</div>

> 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!

---

<div class="post-metadata">

**Author:** ![xenobaba](https://forum.renoise.com/user_avatar/forum.renoise.com/xenobaba/32/28431_2.png) [@xenobaba](https://forum.renoise.com/u/xenobaba)\
**Post date:** [May 25, 2015, 12:38pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/17 "2015-05-25T12:38:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![afta8](https://forum.renoise.com/user_avatar/forum.renoise.com/afta8/32/410_2.png) [@afta8](https://forum.renoise.com/u/afta8)\
**Post date:** [May 25, 2015, 9:04pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/18 "2015-05-25T21:04:59Z")

</div>

Thanks @hexeye; your comment has made day 😃

---

<div class="post-metadata">

**Author:** ![Jonas](https://forum.renoise.com/user_avatar/forum.renoise.com/jonas/32/6937_2.png) [@Jonas](https://forum.renoise.com/u/Jonas)\
**Post date:** [October 10, 2015, 2:30am UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/19 "2015-10-10T02:30:38Z")

</div>

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;[https://forum.renoise.com/t/how-to-write-device-active-bypass-state-to-automation/43116](https://forum.renoise.com/t/how-to-write-device-active-bypass-state-to-automation/43116) ? :yeah:

---

<div class="post-metadata">

**Author:** ![afta8](https://forum.renoise.com/user_avatar/forum.renoise.com/afta8/32/410_2.png) [@afta8](https://forum.renoise.com/u/afta8)\
**Post date:** [October 10, 2015, 12:18pm UTC](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102/20 "2015-10-10T12:18:47Z")

</div>

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 🙂

[Next page](https://forum.renoise.com/t/new-tool-3-0-render-and-slice/43102.md?page=2)
