-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How send Sysex without Manufactory code? #117
Comments
This is an interesting problem which I have not yet stumbled upon. As it is currently, the Meanwhile, you should be able to use the WebMidi.outputs[0].send(0xF0, 0x7E, 0x7F, 0x06, 0x01, 0xF7); Please confirm that the above code works for you. Thank you! |
Hello, Yes, This method is working ok. As a workaround is ok. Your idea to create sendIdentityRequest() sounds fine to me. Thanks. |
The idea has been noted in the wiki. It should make it into v3. Thanks for reporting this use case to me. Cheers! |
A last question What is the difference between .send() and .sendSysex? |
The |
ahh Ok. May be .send() could be more flexible to me. I m developing a website to control synths, but it is in POC step. Soon when it is more developing I will present it to you. If you have or know of a use case for your webmidi.js, I will be pleased to see it. The big challenge is to ensure that the site will be able to work correctly in all user environments. Windows, MACos, iOS, Android, Chrome, Firefox, Edge, Safari, etc. Thank you |
Let me correct some information. The .send () method did not work. what worked was to use .sendSysex (0x7E, [0x7F, 0x06,0x01]) Anyway I managed to trick .sendSysex by putting the command in place of the manufacturer's code. I tried to use .send () in several ways, and they returned the following errors .send (0xF0, 0x7E, 0x7F, 0x06, 0x01, 0xF7); .send ([0xF0, 0x7E, 0x7F, 0x06, 0x01, 0xF7]); .send (128, [0xF0, 0x7E, 0x7F, 0x06, 0x01, 0xF7]); |
I have started building a list of projets that use WebMidi.js. It is a very incomplete list but gives you an idea of what is possible. You can see them on the Projects Using WebMidi.js page of the wiki. |
I made an error in my earlier example. The In the case of a system exclusive message, the status byte is WebMidi.outputs[0].send(0xF0, [0x7E, 0x7F, 0x06, 0x01, 0xF7]); Hope this helps. P.S. When you have usage questions, I encourage you to use the new forum which was set up not long ago. Cheers! |
How to send a Identity Request Message to device? the standard doesnt include the manufactory code. In fact the command is exactly to find out which manufacturer's code is connected to the interface.
In fact, the command is exactly to find out which manufacturer's code is connected to the interface.
I try to use the sendSysex command anyway including some code, 00 for example,
webMidi.sendSysex (0x00, [0x7E, 0x7F, 0x06,0x01])
But the synthesizer never responds. Monitoring the bytes sent to the device I see. F0 00 7E 7F 06 01 F7. And it should be F0 7E 7F 06 01 F7. That is, the command is including one more byte.
Would there be a way to work well without having to use it below?
webMidi.sendSysex (0x7E, [0x7F, 0x06,0x01])
best regards
Universal Non-realtimeSystemExclusive Messages
Identity Request Message
Status Data byte Status
F0H 7EH, dev, 06H, 01H F7H
Byte Explanation
F0H Exclusive status
7EH ID number (Universal Non-realtime Message)
dev Device ID (dev: 10H - 1FH, 7FH)
06H Sub ID#1 (General Information)
01H Sub ID#2 (Identity Request)
F7H EOX (End Of Exclusive)
The text was updated successfully, but these errors were encountered: