Opts["Dur"])) { if ($oType=="Note") settype($o->Opts["Pos"], "array"); foreach (array("Pos", "Pos2") as $p) { for ($i = 0; $i < count($o->Opts[$p]); $i++) { $notepitchObj = new NWC2NotePitchPos($o->Opts[$p][$i]); $notepitchObj->Position += $shiftPos; $o->Opts[$p][$i] = $notepitchObj->ReconstructClipText(); } } } } echo $o->ReconstructClipText()."\n"; } } echo NWC2_ENDCLIP."\n"; // exit(NWC2RC_REPORT); // debug exit(NWC2RC_SUCCESS); ?>