Here's my custom module
module.exports = {
oscInFilter:function(data)
{
var {address, args, host, port} = data
if (address !== '/control') return
if (args[1].value == 127)
{
send('midi', 'OSCtoDAW', '/control', 1,126,1)
return
}
return {address, args, host, port}
},
}
My external midi controller have a program change button.
But osc only recognize contol data.
I think this releated to my coustom module.
How should I do to osc process program change data?
Sorry this is too newbit question I think.
ps) I have zero knowledge about coding? script?
What should I learn to understand osc?
Thank you