OSCMon:
Filter:
Classes (extension) | Modality | OSC

OSCMon : Object
ExtensionExtension

A Monitor for OSC traffic
Source: OSCMon.sc

Description

OSCMon monitors captures incoming OSC messages, keeping recent ones around for analyis and display. It can show the message sizes, relative arrival times for multiple sources.

Class Methods

OSCMon.colors

some colors to use in the visualisation

OSCMon.new(bufsize: 100, timeWindow: 60, action)

make a new OSCMon

Arguments:

bufsize

with a buffersize of how many messages to keep,

timeWindow

a length of time within which to keep messages

action

and an action to do when a new message comes in

Inherited class methods

Instance Methods

.bufsize

.bufsize = value

the maximum number of messages to store

.timeWindow

.timeWindow = value

the maximum time window in which to store messages

.listenFunc

internal: the function with which OSCMon listen to osc traffic.

.list

the list of recorded message entries

.addresses

the addresses from which messages have been sent

.msgNames

the msgNames monitored

.anaDict

a dict containing various analyses of the osc data

.postInfo

post info on current recorded messages

.enable

.disable

enable and disable listening

.enabled

get flag whether oscmon is listening

.verbose

.verbose = value

get or set flag whether to post info on incoming traffic

.trace(flag: true)

set verbose flag, default flag is true

.watchStatus

.watchStatus = value

get and set flag whether to record server status messages

.action

.action = value

a custom action to perform on all incoming messages

.addNickname(name, addr)

Arguments:

name
addr

add a nickname for an incoming address

.removeNickname(name)

Arguments:

name

remove a nickname

.free

free the resources of this oscmon

.refreshAddrsAndNames

refresh analysis of present addresses and names

.addAddr(addr)

.removeAddr(addr)

Arguments:

addr

add/remove an address to/from addrNames

.addMsgName(name)

.removeMsgName(name)

add or remove a messageName from msgNames

.postMessagesFrom(index)

post all messages from address at index

.show(name, bounds)

make a named display window for the oscmon

.w

.u

its display window and userview

.refresh

refresh display

.clearMsgNames

.clearAddrs

clear msgNames or addresses

.trackMsgs

.trackMsgs = value

.trackAddrs

.trackAddrs = value

get and set flags whether to track msgNames and addresses

Inherited instance methods