extended MIDI support. Some new general purpose nodes like sequencer, string, cast to number.

This commit is contained in:
tamat
2019-01-05 23:54:44 +01:00
parent 8dce8acb91
commit ac11db37b4
16 changed files with 2274 additions and 837 deletions

View File

@@ -81,6 +81,23 @@ Bypass.prototype.onExecute = function()
LiteGraph.registerNodeType("math/bypass", Bypass );
function ToNumber()
{
this.addInput("in");
this.addOutput("out");
}
ToNumber.title = "to Number";
ToNumber.desc = "Cast to number";
ToNumber.prototype.onExecute = function()
{
var v = this.getInputData(0);
this.setOutputData(0, Number(v) );
}
LiteGraph.registerNodeType("math/to_number", ToNumber );
function MathRange()
{