0 && $song < 10000) { $sql = "SELECT * FROM songs WHERE `id` = ".$song; //Do quick query to check if it is a song URL (expected with the new system!) $db00 = mysql_query($sql,$conn); $number00=@mysql_num_rows($db00); } if(!$number00) { $sql = "SELECT * FROM songs WHERE `url` = '".$song."'"; } else { $rs = mysql_query("SELECT * FROM `songs` WHERE `id` = '".$song."' LIMIT 1") or die("Initial query failed"); // while( $row = mysql_fetch_array($rs) ) // { //header("Location:".$row["url"]); // } // header("Location:index.html"); } } else if($_GET['songid']) { $songid = mysql_real_escape_string($_GET['songid']); $sql = "SELECT * FROM songs WHERE `url` = ".$songid; } $db = mysql_query($sql,$conn); $number=@mysql_num_rows($db); if(!$number) { //Now presume that it's the new format...// $tempstring = stripslashes(html_entity_decode($_GET['song'])); $tempstring = mysql_real_escape_string($tempstring); $tempstring = preg_replace("/[^\x9\xA\xD\x20-\x7F]/", "", $tempstring); $titlestring = split("_", $tempstring); $transarray = Array("-" > " ", "+" > "-"); $getartist = strtr($titlestring[0], $transarray); $gettitle = strtr($titlestring[1], $transarray); $newarray2 = split(" ", $gettitle); $emptystring = "%"; for($i=0;$i analyze('uploads/'.$row["url"].'.mid'); //print_r($ThisFileInfo); $duration = $ThisFileInfo['playtime_string']; ?>

MIDI Plaza Twitter

upload MIDI

"); } ?>
Random MIDIs
"); echo("
"); echo("
"); echo("\"play\" "); echo(""); echo(" ".stripslashes($pear["artist"])."
".stripslashes($pear["name"])."

"); echo("
"); echo("



">

Get the Flash Player to see this player.

We are currently converting all of our MIDI's using the much improved soundset.
Please check back soon!!


Download - MIDI
Download - MP3
To download, right click > save target as
Lyrics

"); $whatineed = iconv("UTF-8", "ISO-8859-1//TRANSLIT",$trackary[$banana]['name']); if(trim($trackary[$banana]['name'])) { $trname = makeclickable($whatineed); } else{ $trname = "---"; } if($trackary[$banana]['instrument']) { $instrument = $trackary[$banana]['instrument']; } echo(""); echo(""); if(!$instrument) { $instrument="Unknown Instrument"; } if($banana=="10") { $instrument="Drum Kit"; } echo(""); echo(""); } } } else { echo("Cannot retrieve track data"); } ?>
".$banana."".$trname."".$instrument."
MIDI Format  
Ticks per quarter  
Length  
Genre  
Uploader
Date Added
Redirected from ".$y; } if($numberart != 1) { $info="No info"; } else { $info = $rowart["description"]; } if(!$rowart["image"]) { $artistimage="/artistfiles/blank.jpg"; } else { $artistimage = "/artistfiles/".$rowart["image"]; } */ function getartist($x,$y) { //echo($x); require("parts/dbconnect.php"); $sqlart = "SELECT * FROM artists WHERE `artist` LIKE '".$x."' LIMIT 1"; mysql_query("SET NAMES utf8"); $dbart = mysql_query($sqlart,$conn); $numberart=mysql_num_rows($dbart); $rowart=@mysql_fetch_array($dbart); $redir = $rowart["redirect"]; if($redir) { $artist = $rowart["redirect"]; getartist($rowart["redirect"],$y); } else { if($x != $y) { $redir = " > Redirected from ".$y; } if($numberart != 1) { $info="No info"; } else { $info = $rowart["description"]; } if(!$rowart["image"]) { $artistimage="/artistfiles/blank.jpg"; } else { $artistimage = "/artistfiles/".$rowart["image"]; } ?>

<?php echo($artist); ?>
More MIDIs Play

 star Premium Quality MP3 (new!)
Star 48px This MIDI has been converted manually to a very high quality MP3 file, suitable for Audio CD or Karaoke Track for example.

Get the Flash Player to see this player.
 star MIDI Music video (brand new!!)
Star 48px Now you can upload MIDIs to MIDI City and Generate your own music video, using a virtual 3D Band!!
this will be replaced by the SWF.