RapidLib issueshttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues2017-08-30T12:04:59Zhttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/36Umbrella NPM module2017-08-30T12:04:59ZMichael ZbyszyńskiUmbrella NPM moduleCombine module from #35 with ircam modules to create unified RapidMix moduleCombine module from #35 with ircam modules to create unified RapidMix moduleAPI demonstratorsMichael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/35Make RapidLib node module2017-09-01T14:12:33ZMichael ZbyszyńskiMake RapidLib node moduleWe can import RapidLib into node, but it would be useful for a simple npm install rapidlib command. This would allow an umbrella module that includes rapidlib and ircam dependancies.We can import RapidLib into node, but it would be useful for a simple npm install rapidlib command. This would allow an umbrella module that includes rapidlib and ircam dependancies.API demonstratorsMichael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/113Explore nbind2017-11-04T13:04:30ZMichael ZbyszyńskiExplore nbindThis nbind project:
https://github.com/charto/nbind#readme
Seems to combine native Node libraries with Emscripten-transpiled browser libraries. It might be just the thing for RapidLib. We should experiment with it if we ever have time.This nbind project:
https://github.com/charto/nbind#readme
Seems to combine native Node libraries with Emscripten-transpiled browser libraries. It might be just the thing for RapidLib. We should experiment with it if we ever have time.Future APIhttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/112seriesClassifcation crash in Node2017-11-15T16:32:39ZMichael ZbyszyńskiseriesClassifcation crash in NodeThis code crashes in NodeJS:
```javascript
var rapidMix = require('rapidlib');
var testDTW = new rapidMix.SeriesClassification();
testSet2 = [];
for (let i = 0; i < 5; ++i) {
testSet2.push([0.1, 0.1, 0.1]);
}
let series2 = {input: ...This code crashes in NodeJS:
```javascript
var rapidMix = require('rapidlib');
var testDTW = new rapidMix.SeriesClassification();
testSet2 = [];
for (let i = 0; i < 5; ++i) {
testSet2.push([0.1, 0.1, 0.1]);
}
let series2 = {input: testSet2, label: "yyy"};
let series1 = {input: testSet2, label: "zzz"};
let sset = [series1, series2];
console.log(testDTW.train(sset));
console.log(testDTW.run(testSet2));
```
It doesn't crash in the browser here:
https://live.codecircle.com/d/oma4nGEEk8SXvZ6hg
It doesn't crash in C++.
It doesn't crash if the feature vector has 2 or 4 members. It also doesn't crash for many power of two, or similar, set lengths.
It calls ```_abort``` from the emscripten ``_free()`` method.Future APIMichael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/38Make node-red nodes2018-01-19T12:52:25ZMichael ZbyszyńskiMake node-red nodesIt would be great to have some node-red nodes. Usefull for Agile, R-pie, etc.It would be great to have some node-red nodes. Usefull for Agile, R-pie, etc.Future APIFrancisco BernardoFrancisco Bernardohttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/37Create IML API overview2017-08-30T12:15:17ZMichael ZbyszyńskiCreate IML API overviewOnce all of our stuff and ircam's stuff are together in a Node module ( #35 #36 ), write up a quick overview of the functions, overlaps, and conflicts.Once all of our stuff and ircam's stuff are together in a Node module ( #35 #36 ), write up a quick overview of the functions, overlaps, and conflicts.Future APIMichael ZbyszyńskiMichael Zbyszyńskihttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/97Using RapidLib in a React/Webpack application2017-10-08T08:16:06ZFrancisco BernardoUsing RapidLib in a React/Webpack applicationI've been trying to use RapidLib in a React/Webpack application and haven't been able to do it.
I tried to use both versions of RapidLib. The one in code circle, supposedly client side JS library,
https://www.doc.gold.ac.uk/eavi/rapid...I've been trying to use RapidLib in a React/Webpack application and haven't been able to do it.
I tried to use both versions of RapidLib. The one in code circle, supposedly client side JS library,
https://www.doc.gold.ac.uk/eavi/rapidmix/RapidLib.js
and the "node" one (which I just learned that it isn't a node module, but unsure of what it really is)
http://doc.gold.ac.uk/eavi/rapidmixapi.com/examples/RapidLib.js.zip
So far I've had errors while trying to figure out what had a constructor and what is a function (given that this doesn't seem to be documented anywhere) referring that there is no constructor for RapidLib, Regression/Classification is not a function, or there is no constructor
`Failed to compile.
./src/rapidLib/RapidLib.js
Line 2: 'RapidLib' is not defined no-undef
Line 26: 'path' is not defined no-undef
Line 41: 'read' is not defined no-undef
Line 63: Unexpected use of 'print' no-restricted-globals
Line 64: 'printErr' is not defined no-undef
Line 66: 'read' is not defined no-undef
Line 74: 'readbuffer' is not defined no-undef
Line 76: 'read' is not defined no-undef
Line 81: 'scriptArgs' is not defined no-undef
Line 105: 'dump' is not defined no-undef
Line 109: 'importScripts' is not defined no-undef
Line 367: 'EmterpreterAsync' is not defined no-undef
Line 373: 'EmterpreterAsync' is not defined no-undef
Line 2536: 'readline' is not defined no-undef
Line 3460: 'FileReaderSync' is not defined no-undef
Line 4598: 'path' is not defined no-undef
Line 4609: 'node' is not defined no-undef
Line 5426: 'SOCKFS' is not defined no-undef
Line 5433: '__read_sockaddr' is not defined no-undef
Line 5435: 'DNS' is not defined no-undef
Line 5670: 'FUNCTION_TABLE' is not defined no-undef
Line 6396: 'SDL' is not defined no-undef
Line 6396: 'SDL' is not defined no-undef
Line 6396: 'SDL' is not defined no-undef
Line 6484: 'MozBlobBuilder' is not defined no-undef
Line 6484: 'WebKitBlobBuilder' is not defined no-undef
Line 6647: 'GL' is not defined no-undef
Line 6649: 'GL' is not defined no-undef
Line 6659: 'GL' is not defined no-undef
Line 6846: 'SDL' is not defined no-undef
Line 6847: 'SDL' is not defined no-undef
Line 6937: 'SDL' is not defined no-undef
Line 6939: 'SDL' is not defined no-undef
Line 6945: 'SDL' is not defined no-undef
Line 6947: 'SDL' is not defined no-undef
Line 6968: Unexpected use of 'screen' no-restricted-globals
Line 6969: Unexpected use of 'screen' no-restricted-globals
Line 6969: Unexpected use of 'screen' no-restricted-globals
Line 29674: 'quit' is not defined no-undef
`Francisco BernardoFrancisco Bernardohttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/96ES6 wrapper JS code2017-08-30T13:18:45ZJoseph LarraldeES6 wrapper JS codeIt would be nice to be able to write the wrapping code in es6 and transpile it with babel before passing it to emscriptenIt would be nice to be able to write the wrapping code in es6 and transpile it with babel before passing it to emscriptenJoseph LarraldeJoseph Larraldehttps://gitlab.doc.gold.ac.uk/rapid-mix/RapidLib/-/issues/60Rapid-Myo building block in Node.js + React.js2017-09-07T14:44:09ZFrancisco BernardoRapid-Myo building block in Node.js + React.jsFrancisco BernardoFrancisco Bernardo