示例#1
0
 /**
  * Loops on mesure headers to read
  * 
  * @param Song $song
  * @param integer $count
  */
 private function readMeasureHeaders(Song $song, $count)
 {
     $timeSignature = new TimeSignature();
     for ($i = 0; $i < $count; $i++) {
         $song->addMeasureHeader($this->factory('GuitarPro3MeasureHeader')->readMeasureHeader($i + 1, $song, $timeSignature));
     }
 }