"; foreach($fx['FX Chain'] as $value) { foreach($fx_status as $fx_status_value) { if( strtoupper($fx_status_value[1])==strtoupper($value[1]) && $fx_status_value[0]=="Off" ){$notactive=true;} } if($notactive) { if($_GET['filter']!="true"){ $fxchain .= strtolower($value[1])."->";} } else { $fxchain .= strtoupper($value[1])."->"; } $notactive=false; } echo trim($fxchain)."[OUT]"; echo chr(13) . chr(10); echo chr(13) . chr(10); foreach($fx_order as $fx_order_value) { $fx_name=$fx_order_value; if($fx_status[$fx_name][0]!="Off" || $_GET['filter']!="true" || $fx_name=="Master" || $fx_name=="CTL Pedal" || $fx_name=="Expression Pedal Switch" || $fx_name=="Expression Pedal" || $fx_name=="Amp Control Switch") { if(eregi("FX", $fx_name)) { echo "[ ".strtoupper($fx_name).": ".$fx[$fx_name][0][3]." ]"; echo chr(13) . chr(10); } else { echo "[ ".strtoupper($fx_name)." ]"; echo chr(13) . chr(10); } foreach($fx[$fx_name] as $value) { if( eregi("Ch " ,$value[0]) ) { if( eregi(substr($value[0], 3, 1), "AB") && substr($value[0], 3, 1)!=$ch_num ) { echo chr(13) . chr(10); echo " [" .substr($value[0], 0, 5)."]"; echo chr(13) . chr(10); $ch_num = substr($value[0], 3, 1); } echo " " . substr($value[0], 5, strlen($value[0])) . ": " . $value[1]; //if($value[2]) echo chr(9) . " (" . $value[2] . ")"; echo chr(13) . chr(10); } else { echo " " . $value[0] . ": " . $value[1]; //if($value[2]) echo chr(9) . " (" . $value[2] . ")"; echo chr(13) . chr(10); } } echo chr(13) . chr(10); } } exit; } ?> GT-8 Patch/Sysex reader >
BOSS GT- 8
sysex reader



Msg:
File:   Size: bytes

Patch Name: ";; foreach($fx['Name'] as $value) { $patchname .= $value[1]; } echo trim($patchname); ?>
FX Chain: [IN]->";; foreach($fx['FX Chain'] as $value) { foreach($fx_status as $fx_status_value) { if( strtoupper($fx_status_value[1])==strtoupper($value[1]) && $fx_status_value[0]=="Off" ) { $notactive=true; } } if($notactive) { if($_GET['filter']!="true") { $fxchain .= strtolower($value[1])."->"; } } else { $fxchain .= "".strtoupper($value[1])."->"; } $notactive=false; } echo trim($fxchain)."[OUT]"; ?>
\n"; echo "
$value) { if($value[0]!="Off" && $index!="FX Chain" && $index!="Name") { $block_height_total = $block_height_total + ($fx_status[$index][2] * 12) + 18; } } } else { foreach($fx_status as $index => $value) { if($index!="FX Chain" && $index!="Name") { $block_height_total = $block_height_total + ($fx_status[$index][2] * 12) + 18; } } } $block_height_1 = ceil($block_height_total / 2 ); $block_height_2 = floor($block_height_total / 2 ); $block_height = 0; $column_num = 1; foreach($fx_order as $fx_order_value) { $fx_name=$fx_order_value; if($fx_status[$fx_name][0]!="Off" || $_GET['filter']!="true" || $fx_name=="Master" || $fx_name=="CTL Pedal" || $fx_name=="Expression Pedal Switch" || $fx_name=="Expression Pedal" || $fx_name=="Amp Control Switch") { if(eregi("FX", $fx_name)) { echo "
$fx_name: ".$fx[$fx_name][0][3]."
"; } else { echo "
$fx_name
"; } foreach($fx[$fx_name] as $value) { if( eregi("Ch " ,$value[0]) ) { if( eregi(substr($value[0], 3, 1), "AB") && substr($value[0], 3, 1)!=$ch_num ) { echo "   " .substr($value[0], 0, 5). "
"; $ch_num = substr($value[0], 3, 1); } echo "       ".substr($value[0], 5, strlen($value[0])).": ".$value[1]; if($value[2]) echo " [".$value[2]."]"; echo "
\n"; } else { echo "    ".$value[0].": ".$value[1]; if($value[2]) echo " [".$value[2]."]"; echo "
\n"; } } echo "
\n"; //echo "(". (($fx_status[$fx_name][2] * 12) + 18) . "-" . $block_height . ":" . $block_height_1 . "/" . $block_height_2 . ":". $block_height_total .")" ; $block_height_intermediate = ceil(($fx_status[$fx_name][2] * 12) / 1) + 18; if(($block_height + $block_height_intermediate) > $block_height_1 && $column_num == 1) { $column_num = 2; echo "
\n"; } $block_height = $block_height + ($fx_status[$fx_name][2] * 12) + 18; } } ?>