Posreduj midi naprej, vec info v kalibraciji

kegel
Jurij Podgoršek 2023-06-11 18:35:04 +02:00
parent 1e49d7811c
commit 6f403bc7c5
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 = {};