custom module: expose messages converted from midi input to custom module (#266)
This commit is contained in:
parent
711688df7f
commit
c2e9232a90
2 changed files with 7 additions and 1 deletions
|
|
@ -8,6 +8,8 @@
|
|||
- zeroconf: unpublish when shutting down
|
||||
- widgets
|
||||
- modal: added `popupLeft` and `popupTop` properties
|
||||
- custom module
|
||||
- messages converted from midi inputs can be filtered
|
||||
|
||||
|
||||
## 0.28.3
|
||||
|
|
|
|||
|
|
@ -197,7 +197,11 @@ if (customModule.init) {
|
|||
customModule.init()
|
||||
}
|
||||
|
||||
if (midi) midi.init(receiveOsc)
|
||||
if (midi) midi.init((data)=>{
|
||||
var data = oscInFilter({address: data.address, args: data.args, host: data.host, port: data.port})
|
||||
if (!data) return
|
||||
receiveOsc(data)
|
||||
})
|
||||
|
||||
module.exports = {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue