function play(records, playCallback, doneCallback) {

  var tasks = [];

  // Default value for doneCallback
  if (typeof doneCallback === 'undefined') {
    doneCallback = null;
  }

  // Foreach record
  records.forEach(function(record) {

    tasks.push(function(callback) {

      setTimeout(function() {
        playCallback(record.content, callback);
      }, record.delay);
      
    });
    
  });

  di.async.series(tasks, function(error, results) {

    if (doneCallback) {
      doneCallback();
    }

  });
  
}
Play recording records

@param {Array}         records
@param {Function}      playCallback
@param {Function|Null} doneCallback