Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better OSC

Better OSC is a receive-only OSC/UDP Companion module.

Set the OSC Listen Port in the connection configuration. Multiple OSC devices, applications, and OSC addresses can send to that same UDP port.

Automatic variables

When Better OSC sees a new OSC address, it automatically creates variables for it.

For example, if these messages arrive:

  • /player/coins = 100
  • /player/health = 87.5
  • /player/name = Steve

Better OSC creates variables similar to:

  • $(betterosc:osc_player_coins) = 100
  • $(betterosc:osc_player_health) = 87.5
  • $(betterosc:osc_player_name) = Steve

It also creates an _address variable and an _args variable for each learned address.

The value variable always contains the first OSC argument. The _args variable contains all arguments separated by |.

Built-in variables

  • last_address — most recently received OSC address
  • last_value — first argument of the most recently received message
  • last_args — all arguments of the most recently received message
  • last_type — OSC type of the first argument
  • message_count — number of OSC messages received since the connection started
  • address_count — number of unique OSC addresses learned

Variables are created dynamically, so you do not need to configure a slot for every OSC command.


How to install Better OSC

  • Download better-osc-1.0.0.tgz
  • In Companion click on Modules, then click the "Import module package" button
  • Go to Connections and search for "Better OSC"
  • Install and open a port

About

Better OSC is a receive-only OSC/UDP Companion module. It supports multiple OSC commands to the same port and automatically exposes variables for the addresses and values.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages