Posreduj midi naprej, vec info v kalibraciji
parent
1e49d7811c
commit
6f403bc7c5
|
@ -213,6 +213,8 @@ if (MIDI) {
|
|||
// https://www.cs.cf.ac.uk/Dave/Multimedia/node158.html has some helpful
|
||||
// information interpreting the messages.
|
||||
console.log(`midi in: ${message} d: ${deltaTime}`);
|
||||
mo.send(message)
|
||||
|
||||
sendAll({
|
||||
address: '/midi-in',
|
||||
args: message
|
||||
|
|
4
test.js
4
test.js
|
@ -8,7 +8,9 @@ console.log("Hello, Sky!");
|
|||
var izbranKegel = 1;
|
||||
if (window.location.hash.indexOf('kegel') > -1) {
|
||||
izbranKegel = window.location.hash.split('=')[1];
|
||||
console.log('definiran kegel!');
|
||||
}
|
||||
console.log('izbran kegel: ', izbranKegel);
|
||||
|
||||
// Vidni kot
|
||||
var FOV = 90;
|
||||
|
@ -503,7 +505,7 @@ var keysPressed = [0, 0, 0, 0];
|
|||
const getVal = function (msg) {
|
||||
return msg.value;
|
||||
}
|
||||
var prepend = `/ww/1/ww/${izbranKegel}`;
|
||||
var prepend = `/ww/0/ww/${izbranKegel}`;
|
||||
console.log('prepend!', prepend);
|
||||
|
||||
var oscCallbacks = {};
|
||||
|
|
Loading…
Reference in New Issue