-
Notifications
You must be signed in to change notification settings - Fork 27
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
D-50 Adaptation No Connect - wrong device ID sent #407
Comments
Thanks for reporting back! I am motivated to finish the D-50 adaptation, it has been sitting around for a long time now and I remember there was a peculiar problem with data addresses, but we can figure that out. You are correct the correct message is not used, what is used is the code in the GenericRoland class:
It seems though the D-50 is old enough that it doesn't play along with all other Rolands. Seems I need to extend the Generic Roland module (or copy the stuff over into the D-50 module first to get it working and later standardize. I think we'll do that). On the MIDI device thing - I am using the JUCE library which is using the OS functions for MIDI devices. Bypassing that is not feasible, we'd need to find out why JUCE is seeing only one of the interfaces. Which OS are you on? |
Thanks for the detailed response. I am using Windows 10 Enterprise 22H2 build 19045.5371. |
@summersetter There you go, this passes all internal tests, but as I don't have a device, suprises are likely: This should work with the current release, I copied all fixed code from the Generic Roland module into this file so it is standalone. |
Ah bummer, it was still in the Roland file. Try this: |
That fixed it.
I understand that a number of other functions are not yet implemented.
|
Oops, didn't mean to close this item. |
Ok, great! Rename should also work, and does bank sync work? The D-50 has a data format for full banks somehow, there is already an implementation but it might not be enabled. Also, adaptations currently can not create bank dumps other than list of program dumps/edit buffers, there is an open ticket somewhere for the DX7 who needs this as well. |
Uh, that log looks weird. Can you share the file so I can have a look? Did you open it via the Import from disk..menu? |
RobsColl.zip I tried about 5 different sysex files and they all had similar errors. Opened via 'Patches/Import from files into database'. I''ll try rename and bank sync next. |
I was correct, I needed to implement a special bank dump import function. Attached a new version. Due to a curious bug in KnobKraft you will need to set the environment variable ORM_MAX_MSG_PER_PATCH=200 before launching the Orm. I will make a new version with a bug fix, but for now that should get the 2.5.1 to load the D50 bank dumps when using this adaptation: The synth sync is just the expansion in the tree, when you open the "In Synth" node and click the bank. it does largely the same as the Import from synth menu item. The manual dump wouldn't work I think because of the bug above, you could give it a try. |
Oh, and I might have broken the edit buffers. Can you supply me the Vibraphone edit buffer you got from the synth? You can export it into a syx file or just copy it from the hex dump view in the patch view to the right. |
Here's the edit buffer you requested. Will try out the updated code shortly. Regards. |
Great! That's some very solid progress. Manual dump -> this is really just a window which will collect all messages you manage to trigger, and then run the same logic on it as if you open it as a file. But you only need that for Synths that have no way to respond to messages. I will look at the bulk rename. Else, this looks slay! I will need some time to integrate the changes I made into the release, but you're all set up. Thanks for the patience! |
I tested bulk rename and it now works. Could it be you still have old/incompletely imported data in the database? If yes, you probably should try to delete it. You can delete whole imports by selecting an import list in the tree, and then use the Edit menu. Delete Patches.. to delete all patches currently in the grid. |
Bulk rename test:
Error log attached. Perhaps I don't quite understand how bulk rename is supposed to work. I will do some more testing with the D-50, it is certainly a key milestone to be able to load, audition and then write new patches into the machine. Let me know if there is anything else I should test. Really appreciate your responsiveness on this (amazed actually, given my years of dealing with software dev teams and bug fix stacks). Regards. |
Interesting! It seems there might be a few D50 messages slipping into the database that are recognized as D50 messages, but not as proper part of edit buffer or program dumps, and those cannot be renamed and throw the rename dialog off (they shouldn't be in the database). You can clean the database by doing text search for Invalid and then using Edit menu delete. Can you give me the full MIDI log of the bank download? It will be in the MIDI log tab, and there is a save button... so you put it into a text file to upload here. There might also still be an error when converting edit buffers to programs and vice versa, but I have tests covering that, so that's a bit of a surprise. Happy to be of help, and happy to see the D-50 finally getting somewhere. The device is right at the border between the old school synths (MKS-80, MKS-70) and the new world of modern Roland data formats, which makes it a bit special and more complex than necessary. It has way more functions we haven't tapped into and hopefully don't need to given how far we are already, I just want to make sure we're not missing something strange. Also, I am suprised that it brings the "200 message" warning during the bulk download. That should not be happening when downloading 64 patches, in my tests 136 MIDI messages were all it took and I thought we're on the safe side with 200... Strange. |
Additionally you could also upload the database (or mail it to me if it has private patches in it), I can look and see what might be causing the rename errors. |
MIDI log of synth banks import: D50 bank import from synth - MIDI.zip I always start with a new empty database, so I imported all the banks from the synth, then used "Edit/Bulk rename patches". I modified a handful of names (appended a '2' to them), including the second and last patch. The result was similar: the first edited patch displayed as 'Invalid' and the last patch changed the name correctly. The synth was not set to the last patch this time. Log file attached. The updated database (after attempting the rename) is attached. Clean database 8Feb post rename.zip Regards. |
Running Orm version 2.5.1
Connecting to Roland D-50 original version (S/N 827746)
Using Focusrite Scarlett 4i4 interface
One anomaly noted is that the Scarlett 4i4 seems to have two logical MIDI interfaces. In Studio One I can select either of these interfaces, but in Orm only the second one appears "2- Focusrite USB MIDI ". Sending and receiving MIDI to the D-50 using Studio One works fine with either interface selected, but perhaps this is an issue for Orm?
Thanks for any help with this issue. Not ready to try digging into the main source.
The text was updated successfully, but these errors were encountered: