# New Tool (3.0): Slices to Midi notes

**URL:** <https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241>\
**Category:** Renoise Tools\
**Created:** [March 5, 2013, 3:58pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241 "2013-03-05T15:58:19Z")\
**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:** [March 5, 2013, 3:58pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/1 "2013-03-05T15:58:19Z")

</div>

An experimental mashup of my [Easy Tune](https://forum.renoise.com/t/new-tool-3-0-easy-tune/38218) tool and dblue’s [Slices to Pattern](https://forum.renoise.com/t/new-tool-2-7-2-8-slices-to-pattern/31593) tool.

3906 [![Screen shot 2013-03-07 at 21.17.21.png](https://files.renoise.com/forum/uploads/3906-Screen%20shot%202013-03-07%20at%2021.17.21.png)](https://files.renoise.com/forum/uploads/3906-Screen%20shot%202013-03-07%20at%2021.17.21.png)

It detects the pitch of each slice and writes the note values to the pattern. Usage is pretty much the same as Slices to Pattern with an added GUI that lets you select the destination instrument and also a low pass filter control for fine tuning the pitch detection.

Pitch detection can vary depending on the type of sample, it is by no means as good as something like melodyne and is really more of a fun experiment/proof of concept…

Video shows it in action…

Get it on the tools page here:[http://www.renoise.com/tools/slices-to-midi](http://www.renoise.com/tools/slices-to-midi)

---

<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:** [March 5, 2013, 4:10pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/2 "2013-03-05T16:10:37Z")

</div>

Haha, very cool ![:)](https://files.renoise.com/forum/emoticons/default/smile.gif)

---

<div class="post-metadata">

**Author:** ![vvoois](https://forum.renoise.com/letter_avatar/vvoois/32/6_449c533f586939b6e5f246632a46421f.png) [@vvoois](https://forum.renoise.com/u/vvoois)\
**Post date:** [March 5, 2013, 4:18pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/3 "2013-03-05T16:18:27Z")

</div>

Instant cool-award…  
Sing your song instead of jamming it in.

---

<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:** [March 5, 2013, 4:30pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/4 "2013-03-05T16:30:23Z")

</div>

Haha, thanks ![](https://files.renoise.com/forum/emoticons/default/cool.gif)

Hmm, this could evolve into something that lets you record a sample first and then write in the notes… If only slicing was scriptable!!

---

<div class="post-metadata">

**Author:** ![phuture](https://forum.renoise.com/letter_avatar/phuture/32/6_449c533f586939b6e5f246632a46421f.png) [@phuture](https://forum.renoise.com/u/phuture)\
**Post date:** [March 5, 2013, 4:38pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/5 "2013-03-05T16:38:05Z")

</div>

holy o0 !!!

testing now… having GREAT FUN ![:w00t:](https://files.renoise.com/forum/emoticons/default/w00t2.gif)/\>

thanks! nice day to release… ![B)](https://files.renoise.com/forum/emoticons/default/cool.gif)/\>

---

<div class="post-metadata">

**Author:** ![00.1](https://forum.renoise.com/user_avatar/forum.renoise.com/00.1/32/542_2.png) [@00.1](https://forum.renoise.com/u/00.1)\
**Post date:** [March 5, 2013, 4:47pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/6 "2013-03-05T16:47:00Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![lowkey](https://forum.renoise.com/user_avatar/forum.renoise.com/lowkey/32/712_2.png) [@lowkey](https://forum.renoise.com/u/lowkey)\
**Post date:** [March 5, 2013, 4:47pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/7 "2013-03-05T16:47:32Z")

</div>

Thank you!!! ![:D](https://files.renoise.com/forum/emoticons/default/biggrin.gif)

---

<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:** [March 5, 2013, 5:49pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/8 "2013-03-05T17:49:09Z")

</div>

> [@phuture](#):
>
> nice day to release… ![](https://forum.renoise.com/uploads/default/original/3X/1/9/196bd4662947e797ef8567d4c1de4c4d84512d32.gif)/\>

Haha, I just realised what you meant by that… I guess I won’t need to upgrade now ![](https://forum.renoise.com/uploads/default/original/2X/c/cc6810a6a8ecbfcb592ca3fd490fb59d90ec9739.gif)

---

<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:** [March 5, 2013, 10:42pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/9 "2013-03-05T22:42:24Z")

</div>

Thank you sir! ![B)](https://files.renoise.com/forum/emoticons/default/cool.gif)

---

<div class="post-metadata">

**Author:** ![Cie](https://forum.renoise.com/user_avatar/forum.renoise.com/cie/32/71_2.png) [@Cie](https://forum.renoise.com/u/Cie)\
**Post date:** [March 5, 2013, 11:57pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/10 "2013-03-05T23:57:02Z")

</div>

What for an great idea! ![:)](https://files.renoise.com/forum/emoticons/default/smile.gif)  
Thanks a lot!!!

---

<div class="post-metadata">

**Author:** ![Shiroshii](https://forum.renoise.com/user_avatar/forum.renoise.com/shiroshii/32/1709_2.png) [@Shiroshii](https://forum.renoise.com/u/Shiroshii)\
**Post date:** [March 7, 2013, 10:47am UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/11 "2013-03-07T10:47:45Z")

</div>

this could become something really great if it was worked on a lot more! \<3 this

---

<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:** [March 7, 2013, 5:10pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/12 "2013-03-07T17:10:27Z")

</div>

> [@Shiroshii](#):
>
> this could become something really great if it was worked on a lot more! \<3 this

Thanks, do you have suggestion on what you would like to see added?

Currently I’m thinking about:

- Volume/Velocity detection.
- Better and automatic slice detection, the built in slicer is good for drums but not so good for melodic loops where the pitch changes but volume doesn’t.
- Better pitch detection and no need for the filter control.

The first one is easy to do, the next two are a lot more difficult, I really need to get my head around FFT ![](https://forum.renoise.com/uploads/default/original/3X/f/f/ffb23377f7f29b287e961e7b2e2fbd620b0035b7.gif)

Cheers

---

<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:** [March 7, 2013, 9:25pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/13 "2013-03-07T21:25:27Z")

</div>

Updated to 0.2 - Detects note volume (using RMS or Peak) and writes it to the pattern.

See OP for download…

---

<div class="post-metadata">

**Author:** ![slippycurb](https://forum.renoise.com/user_avatar/forum.renoise.com/slippycurb/32/914_2.png) [@slippycurb](https://forum.renoise.com/u/slippycurb)\
**Post date:** [March 7, 2013, 9:35pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/14 "2013-03-07T21:35:18Z")

</div>

hey ya, i seem to be getting this when opening renoise…(and when i dragged the tool onto renoise to install)

ScriptingTools: Initializing Scripting Tool: ‘C:\Users\slippy\AppData\Roaming\Renoise\V2.8.1\Scripts\Tools\de.cie-online.LiveDive.xrnx’…

ScriptingEngine: main.lua: bad header in precompiled chunk

Error Message: ‘C:\Users\slippy\AppData\Roaming\Renoise\V2.8.1\Scripts\Tools\de.cie-online.LiveDive.xrnx’ failed to load.  
Error Message: Please remove this tool or contact the author (Cie | [cie@cie-online.de](mailto:cie@cie-online.de)) for assistance…  
Error Message: main.lua: bad header in precompiled chunk

---

<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:** [March 7, 2013, 9:39pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/15 "2013-03-07T21:39:24Z")

</div>

> [@slippycurb](#):
>
> hey ya, i seem to be getting this when opening renoise…(and when i dragged the tool onto renoise to install)
> 
> ScriptingTools: Initializing Scripting Tool: 'C:\Users\slippy\AppData\Roaming\Renoise\V2.8.1\Scripts\Tools\de.cie-online.LiveDive.xrnx'…
> 
> ScriptingEngine: main.lua: bad header in precompiled chunk
> 
> Error Message: 'C:\Users\slippy\AppData\Roaming\Renoise\V2.8.1\Scripts\Tools\de.cie-online.LiveDive.xrnx' failed to load.  
> Error Message: Please remove this tool or contact the author (Cie | [cie@cie-online.de](mailto:cie@cie-online.de)) for assistance…  
> Error Message: main.lua: bad header in precompiled chunk

Looks like the error is to do with the ‘LiveDive’ tool, maybe you should post in that thread? ![:)](https://forum.renoise.com/uploads/default/original/2X/f/f31646767a12ff3f4d6b8c4766d2ea41b23d4ab9.gif)

---

<div class="post-metadata">

**Author:** ![slippycurb](https://forum.renoise.com/user_avatar/forum.renoise.com/slippycurb/32/914_2.png) [@slippycurb](https://forum.renoise.com/u/slippycurb)\
**Post date:** [March 8, 2013, 3:40pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/16 "2013-03-08T15:40:14Z")

</div>

ahh, sorry, i was throwing posts around without checking their trajectory…duh…

---

<div class="post-metadata">

**Author:** ![f\_d\_k](https://forum.renoise.com/user_avatar/forum.renoise.com/f_d_k/32/1289_2.png) [@f\_d\_k](https://forum.renoise.com/u/f_d_k)\
**Post date:** [March 8, 2013, 4:28pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/17 "2013-03-08T16:28:21Z")

</div>

Thanks! ![:yeah:](https://files.renoise.com/forum/emoticons/default/yeah.gif)

---

<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 11, 2013, 9:41am UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/18 "2013-04-11T09:41:05Z")

</div>

Is it possible you create a hack version of this tool that uses the pitches of slices to set the pitch envelope of a destination instrument? (The pitch envelope in the instrument settings)

Maybe you can look into vV’s arpeggiator tool code in which he does something similar, using the note-event value’s in the pattern editor to set the pitch envelope.

---

<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 12, 2013, 10:20am UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/19 "2013-04-12T10:20:58Z")

</div>

I think it’s possible and its a great idea, it will take me a while to get onto it as I have little free time at the moment but I will try add this to the next version.  
BTW, big respect to you for consistently coming up with great ideas and feature suggestions for tools, its probably as (if not more) valuable than being able to code… keep em coming ![](https://files.renoise.com/forum/emoticons/default/drummer.gif)

---

<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 12, 2013, 10:23pm UTC](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241/20 "2013-04-12T22:23:30Z")

</div>

Nice to hear you take it into consideration! ![:drummer:](https://forum.renoise.com/uploads/default/original/3X/d/8/d8de14651f84a970ea99309d226c50100acaff4c.gif)

> [@afta8](#):
>
> BTW, big respect to you for consistently coming up with great ideas and feature suggestions for tools, its probably as (if not more) valuable than being able to code… keep em coming

Hah, thanks for the incentive, this makes me feel less ashamed next time I see a tool option and post up another request ![;)](https://forum.renoise.com/uploads/default/original/2X/c/cc6810a6a8ecbfcb592ca3fd490fb59d90ec9739.gif) .

[Next page](https://forum.renoise.com/t/new-tool-3-0-slices-to-midi-notes/38241.md?page=2)
