Records OSC traffic to and from a Server and displays this in a browseable searchable interface. Greatly speeds problem solving and identifies probably causes
Numerical commands ( 9 = /s_new ) are converted to human readable equivalents. Nodes and defNames are displayed with consistent color coding to increase visual clarity. Integrated with inspect so that defNames can be clicked on in the log display and the SynthDef itself can be quickly examined. Integrated with ServerTreeGui so the current state of the tree can be cross checked with the log. Cross check of Synth and SynthDef is performed so it flags probably errors like misnamed arguments.
TODO: add refresh, scrolling, search
Note: When ServerLog is activated it inserts itself into the Server object by replacing the NetAddr. It then records traffic and forwards it. I'm not sure how much it has to eat before it bloats up and dies, I've never had it happen. So it should be harmless but I usually only turn it on when there is a problem to investigate.
Creates and activates a ServerLog for the specified Server. If one already exists for the Server then it will used. (its idimpotent). If the ServerLog has previously been stopped then this will restart it.
server |
default: default Server |
a ServerLog
Stops recording and removes the ServerLog from the Server's NetAddr slot.
server |
a ServerLog
identical to ServerLog.start
server |
default: default Server |
a ServerLog
internal
server |
default: default Server |
a ServerLog
server | |
func |
A type of search function: shows all OSC messages that referenced a Synth, creating a small ServerLogGui inteface to display them. Used in many debugging views. This matches both sent and received messages (like node end).
synth |
the Synth object |
layout |
the parent view, FlowView or window |
showTimes |
boolean: to show the sending times. some small debugging interfaces can get too cluttered with the times. |
A type of search function: shows all messages that referenced a SynthDef name, creating a small ServerLogGui inteface to display them. Used in many debugging views.
defName |
SynthDef name to search for |
layout |
the parent view, FlowView or window |
server |
default: default Server. the Server to search for traffic |
showTimes |
boolean: to show the sending times. some small debugging interfaces can get too cluttered with the times. |
A type of search function: shows all messages that referenced a Bus. It matches by looking for arguments named "*bus*" followed by an index argument matching this bus. Creates a small ServerLogGui inteface to display them. Used in many debugging views.
index |
index number of bus |
rate |
rate of bus |
layout |
the parent view, FlowView or window to place the results on |
server |
which server the bus is on |
showTimes |
boolean: to show the sending times. some small debugging interfaces can get too cluttered with the times. |
converts an integer Server OSC command name to its human string name.
cmd |
integer or string. if already a string or if the cmd number is unknown then it returns cmd |
string
private
performList | |
server | |
layout |
the parent view, FlowView or window |
showTimes |
boolean: to show the sending times. some small debugging interfaces can get too cluttered with the times. |
title |
array of ServerLogSentEvent/ServerLogReceivedEvent
print all OSC messages to console as they are sent to server. like unix tail
a Server
(returnvalue)
defName |
(returnvalue)
nodeID |
(returnvalue)
index | |
rate |
(returnvalue)
matchFunc |
(returnvalue)
s |
(returnvalue)
... args |
(returnvalue)
time | |
... args |
(returnvalue)
(returnvalue)
tail | |
callback |
(returnvalue)