OSCMon:
Filter:
Modality-toolkit/Classes (extension) | Modality | OSC

OSCMon
ExtensionExtension

A Monitor for OSC traffic

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

.colors

some colors to use in the visualisation

.new

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

Instance Methods

.bufsize

the maximum number of messages to store

.timeWindow

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

get or set flag whether to post info on incoming traffic

.trace

set verbose flag, default flag is true

.watchStatus

get and set flag whether to record server status messages

.action

a custom action to perform on all incoming messages

.addNickname

Arguments:

name
addr

add a nickname for an incoming address

.removeNickname

Arguments:

name

remove a nickname

.free

free the resources of this oscmon

.refreshAddrsAndNames

refresh analysis of present addresses and names

.addAddr

.removeAddr

Arguments:

addr

add/remove an address to/from addrNames

.addMsgName

.removeMsgName

add or remove a messageName from msgNames

.postMessagesFrom

post all messages from address at index

.show

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

.trackAddrs

get and set flags whether to track msgNames and addresses