Welcome to %s forums

BrainModular Users Forum

Login Register

controlling renoise via osc in usine?is there a small tutorial somewhe

I need help on a Patch
Post Reply
ErotiCore SteNch
Member
Posts: 165
Contact:

Unread post by ErotiCore SteNch » 29 Aug 2011, 15:05

i need to make a small "controller"for controlling simpel controls in renoise via OSC in usine

something i need to control is the /renoise/transport/start
and the //renoise/transport/stop

and some other smaller things,i looked around but i really cant get my head around how i connect usine to renoise via OSC so i can control renoise parameters in usine

can anyone give some hints or if theres a small tutorial somewhere that shows how to set this up?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 29 Aug 2011, 15:56

First you can read this tip :
Using OSC
then i suppose you have to refer to Renoise manual to set receive port and address
have you yet work with OSC or..?


User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 29 Aug 2011, 17:11

ok, gone to check


User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 29 Aug 2011, 21:28

not easy
I've test quickly
using the message give in the renoise manual
here for example to send note one

/renoise/trigger/note_on(number, number, number, number)

Trigger a Note-On.
arg#1: instrument (-1 for the currently selected one)
arg#2: track (-1 for the current one)
arg#3: note value (0-119)
arg#4: velocity (0-127)


but I've always a message like this in renoise OSC console
/trigger/note_on/ with 4 arguments (REJECTED)
maybe you have to ask on renoise forum or maybe there's some renoise users here
Image

ErotiCore SteNch
Member
Posts: 165
Contact:

Unread post by ErotiCore SteNch » 29 Aug 2011, 21:37

hi nay-seven

thanks for your efforts,yeah i also kept getting those REJECTED messages

i have posted on the renoise forum and linked to this topic hopefully they can look into it

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 29 Aug 2011, 21:45

ok
i've also test in integer or array mode , same results...

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 29 Aug 2011, 21:58

also test without the last / in the address
so I've this message
/trigger/note_on with 4 arguments
so no more rejected but no results too...

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 29 Aug 2011, 22:07

ok, so first result
I've use a fresh empty song in renoise and double click on a sample
in usine I've use a trunc module on parameters 3 ( note number )
and Renoise react
Image

ErotiCore SteNch
Member
Posts: 165
Contact:

Unread post by ErotiCore SteNch » 29 Aug 2011, 23:11

thats good news i got this responds on the renoise forum
will test some more tommorow its bedtime soon


Can you link this thread back to the admin so he can post here? Is the replier the developer?

OSC works with dozens of other configs and controllers that I know of. I can't test Usine because I'm on OSX and there doesn't appear to be a Mac version. Here's a python example. Here's the code that does note_on in that package.

OSC is a standard like HTML is a standard. It takes a lot of fiddling around to get it to "do what you want", it's not necessarily trivial or the same for everyone.

Tell him/her to look for this file https://code.google.com/p/xrnx/source/b ... ctions.lua, override it, and mess around from there.

Using this PHP class I can trigger a note via UDP like so:


$c = new OSCClient();
$c->set_destination("127.0.0.1", 8000);

$m = new OSCMessage("/renoise/trigger/note_on", array(
-1, 0, 100, 60
));
$c->send($m);



If i send garbage, it of course won't play:

$m = new OSCMessage("/renoise/trigger/note_on", array(
-1, 5000, 100, 60
));
$c->send($m);



The above doesn't work because there is no track 5000.

Regards,

ErotiCore SteNch
Member
Posts: 165
Contact:

Unread post by ErotiCore SteNch » 30 Aug 2011, 00:29

i think i already knows the answer to this one but here goes

i HAVE to use OSC to control renoise from usine right i cant use midi ???

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 30 Aug 2011, 08:35

i can't help you with PHP, Usine don't use php to send OSC,
and it's certainly better if it's you who post on the Renoise forum..?

about midi , yes with a virtual midi drivers no problems and more easy for you to send informations to renoise..?

ErotiCore SteNch
Member
Posts: 165
Contact:

Unread post by ErotiCore SteNch » 30 Aug 2011, 12:16

nay-seven wrote:i can't help you with PHP, Usine don't use php to send OSC,
and it's certainly better if it's you who post on the Renoise forum..?

about midi , yes with a virtual midi drivers no problems and more easy for you to send informations to renoise..?
the above message IS from the renoise forum

http://www.renoise.com/board/index.php? ... -problems/

thanks for your help,will try to mess with different stuff

Post Reply

Who is online

Users browsing this forum: No registered users and 76 guests