Skip to content

Commit

Permalink
Format strophe tool page to make it readable.
Browse files Browse the repository at this point in the history
  • Loading branch information
craigsapp committed Feb 18, 2024
1 parent bbff9cb commit 1d2fa8a
Show file tree
Hide file tree
Showing 27 changed files with 1,094 additions and 686 deletions.
2 changes: 1 addition & 1 deletion Humdrum/Music824/Assignments/assignment2.help.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<P>
In order to understand what is going on, it is important to read
the documentation about the shell interpreter.
A <A HREF="http://csml.som.ohio-state.edu/Humdrum/guide08.html#Comment_(#)">
A <A HREF="https://csml.som.ohio-state.edu/Humdrum/guide08.html#Comment_(#)">
short description</A>
can be found in the <i>Humdrum User Guide</i>.
Now is a good time to read this description.
Expand Down
2 changes: 1 addition & 1 deletion Humdrum/Music824/Assignments/submitting.work.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
</ul>
<br>
<FONT SIZE=-1">This document is available at
http://csml.som.ohio-state.edu/Music824/Assignments/submitting.work.html</FONT>
https://csml.som.ohio-state.edu/Music824/Assignments/submitting.work.html</FONT>

</BODY>
</HTML>
Expand Down
12 changes: 6 additions & 6 deletions Humdrum/Music824/music824.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@
<li>
<A HREF="databases.index.html"><B>Index to On-line Musical Scores</B></A>
<li>
<A HREF="http://www.mcsr.olemiss.edu/unixhelp/manual/index.html">
<A HREF="https://www.mcsr.olemiss.edu/unixhelp/manual/index.html">
<B>Online Unix Manual</B></A>
<li>
<A HREF="http://www.mcsr.olemiss.edu/unixhelp/">
<A HREF="https://www.mcsr.olemiss.edu/unixhelp/">
<B>Online Unix Help</B></A>
<li>
<A HREF="http://www.themefinder.com/">
<A HREF="https://www.themefinder.com/">
<B>Themefinder</B></A>
</ul>
<li>
Expand All @@ -98,14 +98,14 @@
<B>Related links:</B>
<ul>
<li>
<A HREF="http://www.arts.ohio-state.edu/Music/"><B>OSU School of Music Home Page</B></A>
<A HREF="https://www.arts.ohio-state.edu/Music/"><B>OSU School of Music Home Page</B></A>
<li>
<A HREF="http://csml.som.ohio-state.edu/home.html"><B>OSU Music Cognition Home Page</B></A>
<A HREF="https://csml.som.ohio-state.edu/home.html"><B>OSU Music Cognition Home Page</B></A>
</ul>
<br>
<br>
<FONT SIZE=-1>This document is available at
http://csml.som.ohio-state.edu/Music824/index.html</FONT>
https://csml.som.ohio-state.edu/Music824/index.html</FONT>
<br>
<A HREF="Examination/exam.html">.</A>

Expand Down
4 changes: 2 additions & 2 deletions Humdrum/Music824/music824.starting.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <H4>CSML Lab Start-up (in Mershon 503)</H4>
<h4>CSML Lab Start-up (remotely)</h4>
<p>The computers can also be remotely accessed over the internet. You don't access humdrum through the website. You need to use an <em>SSH client</em> application to connect to the command line (the &quot;shell&quot;) on a CSML machine.</p>
<p>Putty is a good client for Windows:<br>
<a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">http://www.chiark.greenend.org.uk/~sgtatham/putty/</a></p>
<a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/">https://www.chiark.greenend.org.uk/~sgtatham/putty/</a></p>
<p>For OS X, it's easiest to use the built-in ssh client:</p>
<ol>
<li>In the <strong>Finder</strong>, from the <strong>Go</strong> menu, select the <strong>Utilities</strong> item to open the <strong>Utilities</strong> folder.</li>
Expand All @@ -94,7 +94,7 @@ <h4>Next Steps</h4>
<br>
<br>
<FONT SIZE=-1">This document is available at
http://csml.som.ohio-state.edu/Music824/music824.starting.html</FONT>
https://csml.som.ohio-state.edu/Music824/music824.starting.html</FONT>

</BODY>
</HTML>
Expand Down
6 changes: 3 additions & 3 deletions Humdrum/Music824/unix.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@
Useful information regarding UNIX can be found at innumerable web sites. Some useful sources are
</P>
<ul>
<li><A HREF="http://www.mcsr.olemiss.edu/unixhelp">UNIXhelp for Users</A></li>
<li><a href="http://www.tuxfiles.org/linuxhelp/cli.html">An introduction to the UNIX command line</a></li>
<li><A HREF="https://www.mcsr.olemiss.edu/unixhelp">UNIXhelp for Users</A></li>
<li><a href="https://www.tuxfiles.org/linuxhelp/cli.html">An introduction to the UNIX command line</a></li>
</ul>
<br>
<br>
<FONT SIZE=-1">This document is available at
http://csml.som.ohio-state.edu/Music824/unix.html</FONT>
https://csml.som.ohio-state.edu/Music824/unix.html</FONT>

</BODY>
</HTML>
Expand Down
2 changes: 1 addition & 1 deletion _includes/chapternav-rep.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
output += '" class="btn btn-primary btn-lg btn-responsive">Original HTML version</a>';

// output += '<a style="margin-top:8px;" target="_blank" href="';
// output += "http://ccarh.org/publications/manuals/humdrumuserguide/hug1998-chapter";
// output += "https://ccarh.org/publications/manuals/humdrumuserguide/hug1998-chapter";
// output += nnumber + ".pdf";
// output += '" class="btn btn-primary btn-lg btn-responsive">Scan of 1998 edition</a>';

Expand Down
2 changes: 1 addition & 1 deletion _includes/chapternav-tool.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
output += '" class="btn btn-primary btn-lg btn-responsive">Original HTML version</a>';

// output += '<a style="margin-top:8px;" target="_blank" href="';
// output += "http://ccarh.org/publications/manuals/humdrumuserguide/hug1998-chapter";
// output += "https://ccarh.org/publications/manuals/humdrumuserguide/hug1998-chapter";
// output += nnumber + ".pdf";
// output += '" class="btn btn-primary btn-lg btn-responsive">Scan of 1998 edition</a>';

Expand Down
4 changes: 2 additions & 2 deletions _includes/css/styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
}

p {
margin-bottom: 20px;
margin-top: 20px;
margin-bottom: 25px !important;
margin-top: 20px !important;
}


Expand Down
6 changes: 3 additions & 3 deletions _includes/scripts/spans.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
// openUnixManpage --
//
// Using the form:
// http://man7.org/linux/man-pages/man1/grep.1.html
// https://man7.org/linux/man-pages/man1/grep.1.html
//

function openUnixManpage(event) {
Expand Down Expand Up @@ -158,9 +158,9 @@

function getUnixUrl(tool) {
if (tool == "awk") {
return "http://www.cs.unibo.it/~renzo/doc/awk/nawkA4.pdf";
return "https://www.cs.unibo.it/~renzo/doc/awk/nawkA4.pdf";
}
var url = "http://man7.org/linux/man-pages/man1/";
var url = "https://man7.org/linux/man-pages/man1/";
url += tool;
url += ".1.html";
return url;
Expand Down
55 changes: 28 additions & 27 deletions _includes/scripts/verovio.html
Original file line number Diff line number Diff line change
@@ -1,49 +1,50 @@


{% include scripts/verovio_support_functions.html %}

<script>
// vim: ts=3

{% if page.verovio == "true" %}

// list of rendering jobs that need to be done once verovio has been loaded:
var VEROVIO_QUEUE = [];

var vrvToolkit;


//////////////////////////////
//
// Module -- this variable is needed by the WASM version of verovio.
// The Module.onRuntimeInitialize() function will be called when
// the verovio script has been loaded and is ready to render notation.
// Once ready, the onRuntimeInitialized() function will render any
// requests that were made for notation before verovio was ready.
//

var Module = {
onRuntimeInitialized: function() {
vrvToolkit = new verovio.toolkit();
console.log(`Verovio (WASM) ${vrvToolkit.getVersion()} loaded`);
console.log("QUEUE", VEROVIO_QUEUE);
for (var z=0; z<VEROVIO_QUEUE.length; z++) {
updateSvgDisplay(VEROVIO_QUEUE[z].id, VEROVIO_QUEUE[z].options);
}
VEROVIO_QUEUE = [];
function initializeVerovioScript() {
verovio.module.onRuntimeInitialized = () => {
vrvToolkit = new verovio.toolkit();
// Now process any queued rendering requests
// console.log("QUEUE", VEROVIO_QUEUE);
for (var z=0; z<VEROVIO_QUEUE.length; z++) {
// console.log("RUNNING QUEUED JOB", VEROVIO_QUEUE[z]);
updateSvgDisplay(VEROVIO_QUEUE[z].id, VEROVIO_QUEUE[z].options);
}
};
VEROVIO_QUEUE = [];
}
}



document.addEventListener("DOMContentLoaded", function() {
{% if site.local == "true" %}
var script=document.createElement('script');
script.src="/js/local/verovio-toolkit-wasm.js";
var script = document.createElement('script');
script.src="{{site.baseurl}}/js/local/verovio-toolkit-wasm.js";
script.onload = initializeVerovioScript;
document.body.appendChild(script);
{% else %}
var script=document.createElement('script');
script.src="https://verovio-script.humdrum.org/scripts/verovio-toolkit-wasm.js";
var script = document.createElement('script');
script.src = "https://verovio-script.humdrum.org/scripts/verovio-toolkit-wasm.js";
script.onload = initializeVerovioScript;
document.body.appendChild(script);
{% endif %}
});

</script>

{% endif %}

{% if page.verovio == "true" %}
{% include scripts/verovio_support_functions.html %}
{% endif %}



Loading

0 comments on commit 1d2fa8a

Please sign in to comment.