New Tool (3.0): Easy Tune

Detects the pitch of a sample and then sets the transpose and finetune values so that it plays at C. Works on all samples within an instrument so useful for building layered instruments and keeping layers in tune.
Works best on monophonic sounds.

Latest version is here: http://www.renoise.com/tools/easy-tune

Cheers…

Interesting, thanks!

Outstanding! I tip my hat to you, kind fellow. Wish to test this soon…

nice, will try it on drums, thanks

Awesome tool, I got this error on first use:

'C:\Documents and Settings\Ian\Application Data\Renoise\V2.8.1\Scripts\Tools\com.afta8.EasyTune.xrnx\' failed to execute in one of its menu entry functions.  
  
Please contact the author (afta8 | fathand@gmail.com ) for assistance...  
  
std::logic_error: 'can not access properties of a sample buffer with no sample data.'  
stack traceback:  
 [C]: ?  
 [C]: in function '__index'  
 [string "do..."]:36: in function   
 main.lua:190: in function <181><br>```

</181>

[quote=“Dunks, post:5, topic:38218”]
Awesome tool, I got this error on first use:

'C:\Documents and Settings\Ian\Application Data\Renoise\V2.8.1\Scripts\Tools\com.afta8.EasyTune.xrnx\' failed to execute in one of its menu entry functions.  
  
Please contact the author (afta8 | fathand@gmail.com ) for assistance...  
  
std::logic_error: 'can not access properties of a sample buffer with no sample data.'  
stack traceback:  
 [C]: ?  
 [C]: in function '__index'  
 [string "do..."]:36: in function   
 main.lua:190: in function <181><br>```

<br>[/quote]<br>
<br>
Thanks, to avoid this error you need to make sure the currently selected instrument has some sample data in it before running the tool <img src="https://files.renoise.com/forum/emoticons/default/wink.gif"><br>
I'll fix it for the next version.</181>

Updated to 1.1 - Pitch detection is much improved…
See OP for download… I’m quite surprised at how well the pitch detection works now, happy days!

Can you make it so there is a small gui in which you can choose to which key you want to tune a sample? :drummer:

Yeah, should be easy to do, however I quite like the speed of not having a GUI and just running it via keyboard shortcut.
How about it tunes to whatever key is set as the base note on the first sample and/or a a key specified in the instrument name?

Sounds like good alternatives, as long as you explain how it works :wink:

there’s a option in the Tools menu saying ‘Easy Tune…’ - it instantly tunes current sample to C.
I must say according to general GUI practice it should not have the … (that’s usually for entries that actually ‘take some time’ i.e. show windows with options first)

Makes sense, I think the tool making tool sticks them in there, i’ll fix it up in the next version :)

favorite tool so far

Thanks, you are very kind :)

I’m looking at this now, just for clarity, do you want it work so that the instrument is effectively transposed? For example, if it is tuned to F then when you hit C it is actually playing F?

Confused me as well, I think if the tool made sure the key zone base note is set to C it would make more sense

This tool is great; an essential addition to renoise. Thanks!

This is a big help. Thank you.

Sweet. Can’t wait to give it a go.

Is it possible for Easy Tune to detect the pitch of the sample based on a selection that we highlight manually? This would help with inconsistent sounds. For now I copy that section to a new sample and then copy what Easy Tune does to the pitch settings back to the original sample.

Hope this wasn’t mentioned already, I have a thousand Renoise tool tabs open and my brain is about to ooze out of my ears.