Posts Tagged ‘Tools’

SyncTool GUI

September 17th, 2012

by Nick Gillian


This MATLAB function loads a GUI front end for the MATLAB SyncTool functions, which allows to synchronize multimodal recordings of signals with SMPTE Time Code. Therefore you need to download the SyncTool functions and add them to a directory that Matlab can search, as well as Python and FFmpeg.  The SyncToolGUI loads an XML file created by the XML Creator  which has a defined SIEMPRE experiment. The SyncToolGUI parses the XML code and searches for any data that has been tagged with the appropriate keywords (see the SyncToolGUI main help file for a full description of the group and sensor keywords). The user then needs to set the input file names for each of the data types (a number of macros have been added to help with this – again see the main help file for a full description of the macros) in addition to providing the GUI with the file path of a file containing the SMPTE cut times for each take. When the user has entered all the relevant information they can they hit the Perform Sync button which will load and validate all the data the user wants the GUI to sync, and pass this data to the relevant sync tool functions. The synced data can then either be exported to a Matlab variable or it can be exported to the SIEMPRE broadcast wave format (see the main help file for more information on this).

» Read more: SyncTool GUI


June 21st, 2012

HRtool MATLAB function

HRtool is a function for MATLAB to extract a HR vector from an ECG or POX signal. The function removes and replaces abnormal beats, based on user parameters (details below). Please send any comments to


» Read more: HRtool


February 28th, 2012

SYNCTOOLS – A set of MATLAB functions for synchronization of multimodal signals

by Javier Jaimovich (2012)


These functions have been created to synchronize (offline) a multimodal recording across multiple devices. The only condition is for each device to receive a SMPTE TimeCode (TC). Detailed information of each function is provided in the help and example files.

» Read more: SyncTools

Arduino Pulse Generator for Synchronization Tests

May 22nd, 2011

A simple arduino script that generates a simultaneous TTL and audio pulse sequence for synchronization tests among different recording equipment (see SyncTools). The scripts allows variable intervals and the addition of jitter.

Download latest version (2.0)

Please send any comments to


September 21st, 2010

A simple MATLAB function to decode SMPTE LTC from an audio stream based on the smpte specification

You can download the current version  in the SYNCTOOLS page

The zip file comes with the m function, an example script and a smpte wav files

Please send any comments to


March 8th, 2010

SARCduino is a sensor acquisition protocol developed for the Arduino and Max/MSP environments by PhD and Staff of SARC. It samples the 6 analog and 12 digital pins of the microcontroller, and sends them to Max/MSP via the serial port.

UPDATE: SARCduino has recently been updated to v0.19.  This version is compatible with Arduino 1.0.

Click here for the latest version of SARCduino.


  1. Download the latest version of SARCduino
  2. Unzip the contents of the zip file
  3. Copy the .pde file to a folder in your computer
  4. Upload the firmware to your Arduino (instructions)
  5. Copy the SARCduino Max/MSP patch for your OS (win or OSX) to a folder in your computer
  6. Rename the patch to SARCduino.maxpat
  7. Create your own patch in the same folder, and load the SARCduino patch as an object.
  8. Use the ‘select port’ menu to connect to your Arduino.

Aditional Information:

Default Sampling frequency is 100Hz (every 10ms)

This firmware/patch samples digital inputs 2-13 on the arduino board (labelled as 1-12 in the max patch). Digital pins 0 and 1 are reserved for serial communication.

An Arduino shield will be posted shortly to allow for easy connection of various standard sensors.

SARC EyesWeb Catalog [SEC]

February 1st, 2010

The SEC is a collection of blocks for the free open-source program EyesWeb that have been specifically designed by Nick Gillian for real-time gesture recognition. The latest version can be found at along with supporting documentation and example patches for all of the SEC blocks.