Skip to content

webmidi.js usage #171

Answered by djipco
schoko11 asked this question in Q&A
Oct 23, 2021 · 4 comments · 5 replies
Discussion options

You must be logged in to vote

VAR should make those object global... ?

No. If you want it global, declare the variable outside the function and assign a value to it inside the function.

Listening to outgoing signals would be really fine, my "old" project relies quite a lot on filtering outgoing messages...

You are the one responsible for sending outbound messages so you can filter them anyway you want without having to add a listener. Adding an event for outbound messages merely adds another way to do it.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@schoko11
Comment options

Comment options

You must be logged in to vote
2 replies
@schoko11
Comment options

@schoko11
Comment options

Answer selected by schoko11
Comment options

You must be logged in to vote
2 replies
@schoko11
Comment options

@djipco
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants