... to the Renoise Lua Scripting repository! This site targets developers who want to write their own scripts & tools for Renoise.
If you are only interested in downloading tools for Renoise, not developing your own tools, then please have a look at the Renoise Tools Page.
We offer a scripting starter-pack, which is highly recommended for everyone who wants to start getting into all this Renoise scripting. Please download and read this first, in order to get an overview about all that's needed to develop tools for Renoise. It contains example tools, the full API documentation, an introduction text and some code snippets. The starter pack also contains a HTML version of the API reference which is not available here on github.
Link: XRNX Starter Packer for Renoise 3.0
The main documentation and API references can also be read online, on this site. You'll find them right here in the XRNX code repository.
A few words on the overall folder/file Structure:
"Tools"
Here are XRNX tools that are already distributed, and tools which are still in progress. Even though the trunk is a "working version", all scripts and tools in here should at least parse and load in Renoise, without spitting out errors. If you are working on something that is not yet ready for other developers, create a branch for this and do your changes temporarily there please...
"Libraries"
Here are Lua files you want to share with other tools and developers, aka Lua code that was made to be reused in multiple tools. !! Note: Distributed XRNX files should never rely on ANY external Libraries!! If your tools depends on a library, copy and paste this library locally into your tool before distributing it: make sure your distributed tools are always self-contained! The "Libraries" folder should only used temporarily for developers who are working with the trunk.
"Snippets"
Some useful (or not) Renoise related Lua code that does not make up a "tool", but still might be interesting to share.
"Documentation"
"Official" Renoise Scripting API documentation can be found here.
By default Renoise has all the scripting stuff hidden to keep things as easy as possible for those who don't want to mess around with code. If you want to write scripts, the first thing you have to do is enable the hidden development tools that are built into Renoise. This can be done by:
- Launching the Renoise executable with the argument "
--scripting-dev
" - Opening Renoise's config.xml file from the preferences folder, and set the ShowScriptingDevelopmentTools property to "
true
". This way, you don't have to pass the above mentioned argument all the time. If you don't know where to find the Renoise preference folder, open Renoise and click on "Help" -> "Show Preferences Folder..."
Enabling this option will add a new main menu entry "Tools" (or add new entries there if it already exists). In the "Tools" menu you will find:
- "Reload All Tools": This will force a reload of all installed and running scripting tools (extensions). This can be handy when adding new tools by hand or when changing them.
- "Scripting Console & Editor": This is the main developing scripting tool. It allows you to:
- Evaluate scripts or commands in realtime with a small terminal (command-line)
- Watch any script's output (all "
print
"s and errors from scripts will be redirected here) - Create, view and edit Lua, text, and XML files that will make up tools / extensions for Renoise.
Have a look at !Introduction.txt in the XRNX code repository for more info.
This site contains various complete scripting tools written by the Renoise team. The existing tools may help you to get more info about how your tools could be done.
For any questions regarding the Lua API, or this repository, have a look at the Renoise Scripting Development Forum please.
Have fun scripting and hacking Renoise!