there is a way to send current note_value of line played by renoise?
there is a variable current_position, something like it?
i’m trying to send the value of note played by Renoise to Processing…
for i = 1, 2000, 1 do
client:send(
OscMessage("/note", {
{tag = “s”, value = renoise.song().patterns[1].tracks[1].lines[i].note_columns[1].note_string},
{tag = “f”, value = renoise.song().patterns[1].tracks[1].lines[i].note_columns[1].note_value},
{tag = “f”, value = 127}
})
)
Renoise has an Idle Notifier that polls a Lua function every 10msecs and in that function you could retreive the current sequence position, but that is not real-time precise so it would not be of much use.
For real time processing, a faster Lua interpreter is needed.
The current JIT Lua which is in development by the Lua team still has no stable edition available.
It more or less does what is possible using the idle notifier but you can already see the note about skipping a line.
The faster a song goes (higher LPB) the more lines are skipped.