This class provides the functionality to register all incoming OSC-SpatDIF messages and save them in a textfile, which can be afterwards played by a SpatDifPlayer.
A SpatDifLogger is created and managed by the SpatialRender instance, so normally the user doesn't need to deal with it directly.
Most of the arguments of this method are optional parameters for the Meta Section headers of the SpatDIF file, as defined in http://redmine.spatdif.org/attachments/download/105/SpatDIF-specs-V0.3.pdf
fn |
File name where save the messages. |
path |
Path to file |
extensions |
Array with the names of the used SpatDif extensions, for the Meta section |
author |
Name of the author, for the Meta section |
host |
Authoring tool used, for the Meta section |
date |
Date, for the Meta section |
session |
Session number, for the Meta section |
location |
Venue location, for the Meta section |
annotation |
General comments, for the Meta section |
Write a new SpatDIF command in the Time Section
msg |
An Array containing a valid SpatDIF message, as formatted after NetAddr: -sendMsg |
time |
Timestamp of the message |
Reset the internal time
Save the file
Close the file
Get/set the minimum time interval, below which two messages are considered simultaneous. Default to 10 miliseconds.
Get/set whether to log incoming messages. Default to true.