-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from jamiefaye/dev
Dev
- Loading branch information
Showing
22 changed files
with
501 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1, maximum-scale=1, user-scalable=no"> | ||
<meta charset="UTF-8"> | ||
<title>Midian</title> | ||
<!-- https://stackoverflow.com/questions/951791/javascript-global-error-handling --> | ||
<div id="npoptemp" style="display: none;"></div> | ||
<script type="text/javascript"> | ||
|
||
window.onerror = function(msg, url, line, col, error) { | ||
var extra = !col ? '' : '\ncolumn: ' + col; | ||
extra += !error ? '' : '\nerror: ' + error; | ||
alert("Error: " + msg + "\nurl: " + url + "\nline: " + line + extra); | ||
return true; | ||
}; | ||
|
||
var buildType='mpc'; | ||
</script> | ||
<link rel="stylesheet" href="filewidget.css"> | ||
<link rel="stylesheet" href="edit.css"> | ||
<link rel="stylesheet" href="midian.css"> | ||
|
||
</head> | ||
<body> | ||
This program converts Midi-format files into mpcpattern files for the Akai Force and other Akai products. | ||
<p> | ||
To use this program, press the "Choose File" button and select a Midi file to work with. You will then see one or more Midi tracks displayed graphically. To convert a track into a mpcpattern, click on the "+ MPC" button and the track will be converted and downloaded. | ||
<p> | ||
<table class='nobord'><tr> | ||
<td><input id='midiopenlocal' name="file" type="file" accept=".mid,.MID,.midi"/></td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div id='popupspot'></div> | ||
<p class='tinygap'/> | ||
<div id='midiview'> | ||
</div> | ||
|
||
<div id='docspot'> | ||
</div> | ||
<div id='midiantab'> | ||
</div> | ||
|
||
<ul> | ||
<li>You can select a subset of a track to extract by clicking and dragging.</li> | ||
<li>At present, the program only converts Note On/Note Off events.</li> | ||
<li>The Midi file you choose and the mpcpattern file are processed entirely on your own computer. No information about it is sent anywhere else.</li> | ||
<li>The program is experimental and no liability is assumed for bugs, crashes, etc. by Catnip or Akai Professional. | ||
</ul> | ||
© 2019 Catnip/Jamie Faye Fenton. | ||
<script src="midian.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1, maximum-scale=1, user-scalable=no"> | ||
<meta charset="UTF-8"> | ||
<title>Midian</title> | ||
<!-- https://stackoverflow.com/questions/951791/javascript-global-error-handling --> | ||
<div id="npoptemp" style="display: none;"></div> | ||
<script type="text/javascript"> | ||
<!-- | ||
window.onerror = function(msg, url, line, col, error) { | ||
var extra = !col ? '' : '\ncolumn: ' + col; | ||
extra += !error ? '' : '\nerror: ' + error; | ||
alert("Error: " + msg + "\nurl: " + url + "\nline: " + line + extra); | ||
return true; | ||
}; | ||
--> | ||
|
||
var buildType = 'web'; | ||
</script> | ||
<link rel="stylesheet" href="edit.css"> | ||
<link rel="stylesheet" href="midian.css"> | ||
</head> | ||
<body> | ||
This program converts Midi-format files into Synthstrom Deluge SONG.XML files.<p> | ||
This beta version also allows you to convert SONG.XML files into Midi-format files. | ||
<p> | ||
To use this program, press the "Choose File" button and select a Midi file to work with. You will then see one or more Midi tracks displayed graphically. To add a track, click on the "+ Song" button and the track will be converted and appended. The "+ Midi" button does the opposite.<p> | ||
|
||
<div id='filegroupplace'> | ||
<table class='nobord'><tr> | ||
<td>Midi File:</td> | ||
<td><input id='midiopenlocal' name="file" type="file" accept=".mid,.MID,.midi"/></td> | ||
<td><input id='mididownload' type="button" value="Download" style="width:55pt" ></td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div id='popupspot'></div> | ||
<p class='tinygap'/> | ||
<div id='midiview'> | ||
</div> | ||
<hr> | ||
|
||
<hr> | ||
<div id='midiantab'> | ||
</div> | ||
<div id='filegroupsong'> | ||
<table class='nobord'><tr> | ||
<td>Song File:</td> | ||
<td><input id='songopenlocal' name="file" type="file" accept=".xml,.XML" value='Open Song'/></td> | ||
<td><input id='songdownload' type="button" value="Download" style="width:55pt" ></td> | ||
<td><input id='songconvert' type="button" value="Convert" style="width:55pt" ></td> | ||
</tr></table> | ||
</div> | ||
<div id='docspot'> | ||
</div> | ||
<hr> | ||
<ul> | ||
<li>Download the updated song by clicking on the Download button at the bottom.</li> | ||
<li>Download the updated Midi file by clicking on the Download button at the top.</li> | ||
<li>To add to an existing song or midi document, open it with the "Choose File" button.</li> | ||
<li>Select a subset of a track to extract by clicking and dragging.</li> | ||
<li>The "Convert" button converts the entire arrangement into a group of Midi tracks. If there isn't an arrangement, it converts each track individually. | ||
<li>The "→ Clip" button puts the midi track data on the clipboard. You can then paste it into the <a href="../xmlView/index.html">main XML viewer program.</a></li> | ||
<li>At present, the program only converts Note On/Note Off events.</li> | ||
<li>The Midi file you choose and the SONG.XML file are processed entirely on your own computer. No information about it is sent anywhere else.</li> | ||
<li>The program is experimental and no liability is assumed for bugs, crashes, etc. by Catnip or Synthstrom Audible. | ||
</ul> | ||
<hr> | ||
© 2019 Catnip/Jamie Faye Fenton. | ||
<script src="midian.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.