Hello,
I’m doing some testing with ossia mostly with the serial protocol. My code is base on Thibaud qml files, but I keep having this error popping at every 5 secondes. Anyone have a idea of what I am missing?
osc::listener::ProcessPacket error: element size must be multiple of four
and in this scenario I have nothing that should connect to the OSC
Here is my code
import QtQuick 2.0
import Ossia 1.0 as Ossia
Ossia.Serial
{
function openListening(address) {}
function closeListening(address) {}
function onMessage(message) {}// evaluated each time a message is received
function createTree() {
return [
{
name: "Servo_l",
type: Ossia.Type.Int,
access: Ossia.Access.Set,
bounding: Ossia.Bounding.Clip,
request: "l$val",
repetition_filter:
Ossia.Repetitions.Filtered
},
{
name: "Servo_c",
type: Ossia.Type.Int,
access: Ossia.Access.Set,
bounding: Ossia.Bounding.Clip,
request: "c$val",
repetition_filter:
Ossia.Repetitions.Filtered
},
{
name: "Servo_r",
type: Ossia.Type.Int,
access: Ossia.Access.Set,
bounding: Ossia.Bounding.Clip,
request: "r$val",
repetition_filter:
Ossia.Repetitions.Filtered
}
];
}
}