• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

renoise/xrnx: The official Renoise Lua Scripting repository

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

renoise/xrnx

开源软件地址(OpenSource Url):

https://github.com/renoise/xrnx

开源编程语言(OpenSource Language):

Lua 51.2%

开源软件介绍(OpenSource Introduction):

Welcome

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

Getting Started

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

Documentation & API Reference

The main documentation and API references can also be read online, on this site. You'll find them right here in the Documentation folder.

A pretty HTML version of the API documentation can be found at https://files.renoise.com/xrnx/documentation/.

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.

How to Enable the Scripting Developer Tools in Renoise

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:
  1. Evaluate scripts or commands in realtime with a small terminal (command-line)
  2. Watch any script's output (all "print"s and errors from scripts will be redirected here)
  3. 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.

Need More Help?

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!




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
BanMing/BanMingLuaLab: Lua学习实验发布时间:2022-08-16
下一篇:
opq-osc/LuaPlugins: IOTQQ -- Lua插件发布时间:2022-08-16
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap