Global Osc Actions

Hi,

I’m experiencing a problem with the velocity argument when I trigger notes through OSC:

a value between -1 & 129 does nothing ( I know it’s supposed to be 0 - 127 )
under - 1 & above 129 nothing is triggered at all.

What am I doing wrong ?

Cheers

How are you triggering notes? And what are you expecting?

It works for me using this PHP class.

Example:

  
require 'OSC.php';  
  
$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);  
  
$m = new OSCMessage("/renoise/trigger/note_on", array(  
 -1, 1, 101, 80  
 ));  
$c->send($m);  
  
$m = new OSCMessage("/renoise/trigger/note_on", array(  
 -1, 2, 102, -10  
 ));  
$c->send($m);  
  
$m = new OSCMessage("/renoise/trigger/note_on", array(  
 -1, 3, 103, 200  
 ));  
$c->send($m);  
  
$m = new OSCMessage("/renoise/trigger/note_on", array(  
 -1, 4, 104, 128  
 ));  
$c->send($m);  
  

Invalid data rejected, the rest is fine?

I send this : /renoise/trigger/note_on 1 0 60 90

then it plays the right instrument on the right track at the right pitch, but the velocity isn’t received.
(the server in renoise shows “/trigger/note_on with 4 arguments” & the first 3 arguments are fine so I assume
my message is received correctly)

Could that possibly come from any global setting that could interfere ?

Maybe, aren’t you unchecking the “Velocities” in the MIDI Preferences panel??

oh!

That was it, I forgot about that midi preferences panel… :wacko:

Cheers.