Skip to content

Commit

Permalink
New MaxScore demo
Browse files Browse the repository at this point in the history
  • Loading branch information
computermusik committed Oct 13, 2019
1 parent 9fe61ed commit 25d28a7
Show file tree
Hide file tree
Showing 9 changed files with 479 additions and 5,041 deletions.
3 changes: 2 additions & 1 deletion code/maxscore/render2Browser.js
Expand Up @@ -1586,6 +1586,7 @@ createSVG.local = 1;
function writeSVG()
{
f = new File(pathToScript + mediaFolder + svgFile, "write", "TEXT");
post("path", pathToScript + mediaFolder + svgFile, "\n");
f.open();
f.eof = 0;
f.writeline("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
Expand All @@ -1603,7 +1604,6 @@ function writeSVG()
if (!isNaN(id)){
var svgElement = oscAddress[3];
var svgAttribute = svgGroups[s][keys[i]];
//post("svg", svgElement, svgAttribute, "\n");
if (id == oldID) {
if (oscAddress[2] != "draw") {
svg.replace(j + "::" + svgElement, svgAttribute);
Expand Down Expand Up @@ -2181,6 +2181,7 @@ function scroll()
outlet(0, "dictionary", cursors.name);
break;
default:
post("msg", msg, "\n");
duration = msg[2]/1000;
eol = msg[1]
if (target == "socket") var trgt = "#main";
Expand Down

0 comments on commit 25d28a7

Please sign in to comment.