Config file formats.

Config file (xml/config.xml)

The config file should be named config.xml and be located at XML_PATH/config.xml - this is the main config file for the software.

XML PathData formatDescription
/config/hosts/host Host element
/config/hosts/host/@addrhostname/ipaddrto other OSC software.
/config/hosts/host/@rcvPortportthat timeline recieves OSC on.
/config/hosts/host/@sndPortportthat the other software recieves on.
/config/midi/device Config for a MIDI device
/config/midi/device/@idStringThe prefix for the midi device name (e.g. without [hw x,y] on the end), OSCMIDI:x is a special name that treats /midi x <part> <val> (this is because my hercules is a joystick under linux)
/config/classpathStringThe class path for compilation purposes set TIMELINE_UNPACK/timeline/Timeline/classes.
/config/datapathStringarbitrary
/config/mappathStringthis isnt used anymore

Controller mapping Config file (/config/mappath )

The mapping config file should be located at /config/mappath (from config.xml) - this is the main config file for MIDI controller config the software.

In the MIDI window using the middle button a rect can be drawn, the coords are shown in the to right of the MIDI window, clicking on the square next to it copies the XML to the clipboard (useful for pasting into this config file )

XML PathData formatDescription
/controlConfig/device Config for a device
/controlConfig/device/@timeLineIdStringThe id the timeline uses - this is stored in files
/controlConfig/device/@midiIdStringThe id the OS gives the midi device i.e. which one to actually open can exclude the [hwx,y]
/controlConfig/device/@imageFile PathThe full path to the image file
/controlConfig/device/control/intconfigure a control
/controlConfig/device/control/@numintcontrol number
/controlConfig/device/control/@descStringshort description (to display on image)
/controlConfig/device/control/@widthintthe width of the rect to map
/controlConfig/device/control/@heightintthe height of the rect to map
/controlConfig/device/control/@topintthe top of the rect to map
/controlConfig/device/control/@leftintthe left of the rect to map
/controlConfig/device/notes/ configure a keyboard
/controlConfig/device/notes/@widthintthe width of the rect to map the whole area of the keys
/controlConfig/device/notes/@heightintthe height of the rect to map
/controlConfig/device/notes/@topintthe top of the rect to map
/controlConfig/device/notes/@leftintthe left of the rect to map
/controlConfig/device/notes/@octavesintthe number of octaves
/controlConfig/device/notes/@textAlignString''vertical'' (else assumed horizontal)
/controlConfig/device/notes/@blackKeyWidthintthe width of a single black key
/controlConfig/device/notes/@blackKeyHeightintthe height of a single black key

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 1.6.1.13621 - Documentation