com.e1.mxdublin
Class DublinSystem

java.lang.Object
  extended by com.e1.mxdublin.DublinSystem

public class DublinSystem
extends Object

This class cover mxdublin static data of all dublin instances.


Field Summary
static PrintStream err
          The standard error stream used by dublin and python objects
static String MXDUBLIN_VERSION
          String representation of the mxdublin version
static PrintStream out
          The standard output stream used by dublin and python objects.
static Sequencer sequencer
          the sequencer
 
Constructor Summary
DublinSystem()
           
 
Method Summary
static Properties getConfigurationProperties()
          Returns the system wide mxdublin properties (configuration)
static boolean isInPureData()
          Returns true if it is running in pure-data with PDJ.
static void markqn()
          Marks the current time has a quater note.
static int quantizeqn(int qtz)
           
static void showException(Exception e)
          Show the exception content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sequencer

public static Sequencer sequencer
the sequencer


out

public static PrintStream out
The standard output stream used by dublin and python objects.


err

public static PrintStream err
The standard error stream used by dublin and python objects


MXDUBLIN_VERSION

public static final String MXDUBLIN_VERSION
String representation of the mxdublin version

See Also:
Constant Field Values
Constructor Detail

DublinSystem

public DublinSystem()
Method Detail

markqn

public static void markqn()
Marks the current time has a quater note. This is used to "quantize" start and stop message from a "quater-note" reference.


quantizeqn

public static int quantizeqn(int qtz)

isInPureData

public static boolean isInPureData()
Returns true if it is running in pure-data with PDJ.

Returns:
true if it is running in pure-data

getConfigurationProperties

public static Properties getConfigurationProperties()
Returns the system wide mxdublin properties (configuration)

Returns:
the mxdublin properties

showException

public static void showException(Exception e)
Show the exception content.

Parameters:
e - the exception