ABCSandbox: Difference between revisions

Find traditional instrumental music
No edit summary
No edit summary
Line 11: Line 11:
<p>Type or paste an abc tune in the area below and see it rendered as you type. Also notice that you can click on the drawn notes and
<p>Type or paste an abc tune in the area below and see it rendered as you type. Also notice that you can click on the drawn notes and
see the place in the text where that note is defined.</p>
see the place in the text where that note is defined.</p>
<p>For more information, see <a href="http://code.google.com/p/abcjs/" >the project page</a>. </p>
        <p>Author: <a href="mailto:paul@paulrosen.net"> &nbsp&nbsp Paul Rosen</a></p>
<textarea name="abc" id="abc" cols="80" rows="15">
<textarea name="abc" id="abc" cols="80" rows="15">
X:1
X:1
Line 53: Line 50:
} catch(err) {}
} catch(err) {}
</script>
</script>
<br>
<p>Author: <a href="  mailto:paul@paulrosen.net  ">Paul Rosen</a></p>
</body>
</body>
</html>
</html>
</addhtml>
</addhtml>

Revision as of 23:04, 7 August 2011

<addhtml> <!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>ABC Sandbox</title>

<script src="/w/JavaScript/abcjs_editor_1.0.7-min.js" type="text/javascript"></script> </head> <body> <p>Type or paste an abc tune in the area below and see it rendered as you type. Also notice that you can click on the drawn notes and see the place in the text where that note is defined.</p> <textarea name="abc" id="abc" cols="80" rows="15"> X:1 T:Admiral, The M:C L:1/8 R:Hornpipe S:Harding's All-Round Collection (1905), No. 89 Z:AK/Fiddler's Companion K:C G2|c2 ec d2 fd|e2 ge c2e2|f2 af e2 ge|dedc cBAG|c2ec d2 fd| e2 ge f2 af|gedc G2B2|c2e2c2::c2|cBcA Ggfe|fefg agfe| fd2f ec2e|d2 ec cBAG|c2 ec d2 fd|efge f2 ag|gedc G2B2|c2e2c2:|| </textarea>

<hr /> <div id="midi"></div> <div id="warnings"></div> <div id="music"></div> <div id="paper0"></div> <div id="paper1"></div> <div id="paper2"></div> <div id="paper3"></div>


<script type="text/javascript"> window.onload = function() { abc_editor = new ABCEditor("abc", { paper_id: "paper0", midi_id:"midi", warnings_id:"warnings" }); } </script> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-13012902-1"); pageTracker._trackPageview(); } catch(err) {} </script> <br> <p>Author: <a href=" mailto:paul@paulrosen.net ">Paul Rosen</a></p> </body> </html> </addhtml>