Page 1 of 2

OSC

Posted: Mon Dec 18, 2006 2:50 pm
by frankobeat
Hello guys!
Does Modul8 support OSC!?
I'm new member of this forum and probably someone else have done this question. But I'm lazy :wink: and I don't want to make search in the posted topics...

Posted: Mon Dec 18, 2006 6:52 pm
by Akira
No, just MIDI.

Cheers!

Posted: Fri Dec 22, 2006 3:28 pm
by boris
Akira, this is not completly true.
Modul8 can be support OSC through the module system and python.
But you need code a bit in python.

Posted: Fri Dec 22, 2006 5:47 pm
by bratch
yes, indeed, i'm working with the wonderful Jazz mutant "LEMUR", it works with OSC !!!so coooool !

Posted: Fri Dec 22, 2006 8:45 pm
by boris
We have a 'test' module for the lemur, send us an email at the support...
Best !

Posted: Thu Aug 14, 2008 11:20 am
by queglay
does modul8 support bidirectional osc? so if i change a control on modul8 will it go back out to my lemur? or when i change clip slots will all that information update?

Posted: Thu Aug 14, 2008 12:51 pm
by boris
queglay wrote:does modul8 support bidirectional osc?


Yes, the osc module is bidirectional

queglay wrote:so if i change a control on modul8 will it go back out to my lemur? or when i change clip slots will all that information update?


Yes :-)

Posted: Thu Aug 14, 2008 1:31 pm
by queglay
thats pretty cool, and i got it working. howerver it really only seems to work with single values. the lemur doesn't handle input from objects that use multiple values like the multi ball or multisliders. im guessing this is a jazzmutant problem though.

i suppose max msp could handle it but that might be a bit annoying.

Posted: Mon Sep 01, 2008 3:04 pm
by vanakaru
I am exhausted trying to get OSC working. What does this OSC modul actually do and how can we use it to control some parameters in Modul8?

Posted: Mon Sep 01, 2008 9:01 pm
by boris
The Module work also with multiples value.

queglay wrote:thats pretty cool, and i got it working. howerver it really only seems to work with single values. the lemur doesn't handle input from objects that use multiple values like the multi ball or multisliders. im guessing this is a jazzmutant problem though.

i suppose max msp could handle it but that might be a bit annoying.

Posted: Mon Sep 01, 2008 9:02 pm
by boris
vanakaru wrote:I am exhausted trying to get OSC working. What does this OSC modul actually do and how can we use it to control some parameters in Modul8?



Description :

With this module Modul8 can receive and send OSC messages.
OSC message can control all the elements of the the main interface.
This module uses the internal keyword process included in the modules system. In this way you can also control some functionalities that are not included in the main interface of Modul8.
All Modul8 keywords can be found the "Keyword browser" in the Module menu.

For modul8 to receive an OSC message the "keyword listener" in the Module needs to be active.

The address in the OSC message must be:
/md8key/[modul8 keword]/[layer Position]

The layer Position is a value from 1 to 10 or a special value, the special values are:
0 = selected layer
-1 = all layers

Example:
An OSC message that changes the alpha channel to 0.5 of the selected layer:
['md8key/ctrl_layer_alpha/0','f',0.5]

The same nomeclature will be used to send an OSC message to the target when the "feedback sender" is active on the Module.

v 0.91 -> add bundle support, add multiples values, feed back for multiples values

Posted: Mon Sep 08, 2008 8:05 am
by queglay
thanks for the reply. bidirectional osc seems to work with most stuff, and modul8 so far seems to be the best program i've used as an interface with osc (not including max/msp of course). it doesn't seem to work on some extra modules though, like the one that lets you scratch video. although midi can be mapped to it. can you use bidirectional midi, or is that only one way?

Posted: Mon Sep 08, 2008 4:17 pm
by mowgli_uk
MIDI only works one way as far as I know.

Posted: Mon Sep 08, 2008 5:28 pm
by videomasta
never tryed it, but should be possible. here an exerpt from the documentation.
normaly the documentation is full of errors and outdated, but it is a startpoint.

sending midi messages
It is possible to send midi messages from Modul8 to an external or virtual midi device.
The function to send midi message is:
modul8.sendMidi(endpoint,channel,message,value1,value2)
The endpoint is the name of the device that should receive the message. If you pass an integer instead of a string, it will be the index in the device list (for instance zero for the first device). You can obtain the
midi device list, using the modul8.getMidiDestinationsList() function.
The message can be either directly a numerical message or a string. For string, possible values are: NOTE_OFF, NOTE_ON, POLY_AFTERTOUCH, CONTROL_CHANGE, MODE_CHANGE, AFTERTOUCH, PITCHBEND, SYSTEM.
The value1 and value2 represents the midi value. Possible values depend of the message type.

Posted: Tue Sep 09, 2008 9:34 am
by queglay
thanks guys, ill take all that on board.