midi data problems
Posted: Thu Nov 12, 2009 8:01 am
I started this thread on the development group and found that is was not an sdk problem but a sfp problem.
I am working on a surface/mixer system using multiple devices on muliple midi channels. When you load a project, all the current settings of the devies are sent. The problem is if you have too many devices is stops working correctly. Here is how I tested the problem with stand sfp devices.
I have a laptop with a midi device, and software that logs all the data comming in. I created a project that uses the scope midi out to send the data. I then added a dynamixer to the project, set 16 channels, set if for channel 1, and set the fader to controller 1-16, 17 for the master. I saved the project. Then reloaded the project. The midi monitor showed I get 35 midi controllers sent, 2 for each controller, 1 off, then 1 to the current setting. By this I expected 34 controllers, 2 for each so this was a good test.
I then added a 16 midi merger so I could send all dynamixers output to the same midi device.
I then added another dynmixer setup the same way but on channel 2. I got about 75 controllers. Still ok.
I keep adding dynamixers. When I have 5, I get about 175 controllers, still ok.
But when I add the 6th I only get 195 controllers. At this point there is atleast 10 missing controllers.
I then added one more dynamixer. I still get 195 controllers. I got no controllers from the 7th mixer.
At first I thought it may be the midi merger getting too much data. So I connected the 7th dynamixer directly to the scope midi out, an hooked the merger out to the midi monitor of spf. When I load the project I get data to the scope monitor as expected. But the external data gets 0, sometimes 1 controller only.
Except for not getting all the controllers at load time, every thing else works as I expected.
Does anyone know of a limitation in sfp about this? It appears there is a limit of 195 midi messages that can be sent when the projects load. I don't understand how this could be.
Is there anyway short of loading a preset to get a device to resend all it midi data again?
Mark.
I am working on a surface/mixer system using multiple devices on muliple midi channels. When you load a project, all the current settings of the devies are sent. The problem is if you have too many devices is stops working correctly. Here is how I tested the problem with stand sfp devices.
I have a laptop with a midi device, and software that logs all the data comming in. I created a project that uses the scope midi out to send the data. I then added a dynamixer to the project, set 16 channels, set if for channel 1, and set the fader to controller 1-16, 17 for the master. I saved the project. Then reloaded the project. The midi monitor showed I get 35 midi controllers sent, 2 for each controller, 1 off, then 1 to the current setting. By this I expected 34 controllers, 2 for each so this was a good test.
I then added a 16 midi merger so I could send all dynamixers output to the same midi device.
I then added another dynmixer setup the same way but on channel 2. I got about 75 controllers. Still ok.
I keep adding dynamixers. When I have 5, I get about 175 controllers, still ok.
But when I add the 6th I only get 195 controllers. At this point there is atleast 10 missing controllers.
I then added one more dynamixer. I still get 195 controllers. I got no controllers from the 7th mixer.
At first I thought it may be the midi merger getting too much data. So I connected the 7th dynamixer directly to the scope midi out, an hooked the merger out to the midi monitor of spf. When I load the project I get data to the scope monitor as expected. But the external data gets 0, sometimes 1 controller only.
Except for not getting all the controllers at load time, every thing else works as I expected.
Does anyone know of a limitation in sfp about this? It appears there is a limit of 195 midi messages that can be sent when the projects load. I don't understand how this could be.
Is there anyway short of loading a preset to get a device to resend all it midi data again?
Mark.