Renoise.API.lua
-- Bumped to 6.1
renoise.API_VERSION
-> [number]
Renoise.Document.API.lua
-- Serialize the whole document tree to a XML string.
doc:to_string()
-> [string]
-- Parse document tree from the given string data. See doc:load_from for details
-- about how properties are parsed and errors are handled.
doc:from_string(string)
-> [boolean, error_String]
Renoise.ScriptingTool.API.lua
-- Invoked when the tool finished loading/initializing and no errors happened. When
-- the tool has preferences, they are loaded here as well when the notification fires,
-- but 'renoise.song()' may not yet be available.
-- See also 'renoise.tool().app_new_document_observable'.
renoise.tool().tool_finished_loading_observable
-> [renoise.Document.Observable object]
-- Invoked right before a tool gets unloaded: either because it got disabled, reloaded
-- or the application exists. You can cleanup resources or connections to other devices
-- here if necessary.
renoise.tool().tool_will_unload_observable
-> [renoise.Document.Observable object]
Renoise.Song.API.lua
song
-- Inject/fetch custom XRNX scripting tool data into the song. Can only be called
-- from scripts that are running in Renoise scripting tool bundles; attempts to
-- access the data from e.g. the scripting terminal will result in an error.
-- Returns nil when no data is present.
--
-- Each tool gets it's own data slot in the song, which is resolved by the tool's
-- bundle id, so this data is unique for every tool and persistent accross tools
-- with the same bundle id (but possibly different versions).
-- If you want to store renoise.Document data in here, you can use the
-- renoise.Document's 'to_string' and 'from_string' functions to serialize the data.
-- Alternatively, write your own serializers for your custom data.
renoise.song().tool_data
-> [string or nil]
instruments
-- Valid object for successfully loaded plugins, otherwise nil. Alias plugin
-- instruments of FX will return the resolved device, will link to the device
-- the alias points to.
-- The observable is fired when the device changes: when a plugin gets loaded or
-- unloaded or a plugin alias is assigned or unassigned.
renoise.song().instruments[].plugin_properties.plugin_device, _observable
-> [renoise.InstrumentPluginDevice object or renoise.AudioDevice object or nil]
-- Valid for loaded and unloaded plugins.
renoise.song().instruments[].plugin_properties.alias_instrument_index, _observable
-> [read-only, number or 0 (when no alias instrument is set)]
renoise.song().instruments[].plugin_properties.alias_fx_track_index, _observable
-> [read-only, number or 0 (when no alias FX is set)]
renoise.song().instruments[].plugin_properties.alias_fx_device_index, _observable
-> [read-only, number or 0 (when no alias FX is set)]
-- Valid for loaded and unloaded plugins. target instrument index or 0 of the
-- plugin's MIDI output (when present)
renoise.song().instruments[].plugin_properties.midi_output_routing_index, _observable
-> [read-only, number. 0 when no routing is set]
sample_modulation_sets
-- DEPRECATED: use 'is_active' instead
renoise.song().instruments[].sample_modulation_sets[].devices[].enabled, _observable
-> [boolean]
-- Enable/bypass the device.
renoise.song().instruments[].sample_modulation_sets[].devices[].is_active, _observable
-> [boolean, not active = bypassed]
-- Maximize state in modulation chain.
renoise.song().instruments[].sample_modulation_sets[].devices[].is_maximized, _observable
-> [boolean]
-- Scaling mode.
renoise.song().instruments[].sample_modulation_sets[].devices[].scaling, _observable
-> [enum = SCALING]
-- Delay.
renoise.song().instruments[].sample_modulation_sets[].devices[].delay
-> [renoise.DeviceParameter object, 0-1]
device_names
-- The device name as displayed in browser when paths are hidden or in the mixer
renoise.song().tracks[].devices[].short_name
-> [read-only, string]
renoise.song().instruments[].sample_modulation_sets[].devices[].short_name
-> [read-only, string]
renoise.song().instruments[].plugin_properties.plugin_device.short_name
-> [read-only, string]
Renoise.ViewBuilder.API.lua
-- Get/set inc/dec step amounts when clicking the <> buttons.
-- First value is the small step (applied on left clicks), second value is the
-- big step (applied on right clicks)
valuebox.steps
-> [{1=Number,2=Number}]
slider.steps
-> [{1=Number,2=Number}]
-- Get/set the default value (applied on double-click).
slider.default
-> [number]
minislider.default
-> [number]
rotary.default
-> [number]