Home › Forums › General › Using Ctrlr › Please help with getting Korg 05r/w panel to work.
Tagged: Error, Korg 05r/w
- This topic has 48 replies, 7 voices, and was last updated 3 years, 4 months ago by Nercromix.
-
AuthorPosts
-
March 26, 2019 at 8:52 pm #102161
Yes as in Acknowledge (0x23 see p116 of manual on right side)
I think it is the answer to the switch to edit mode.Sorry (not easy to communicate by text)…
Can you ONLY send the dump request message F0 42 30 36 10 F7 and check what you get in return?
Please post it here.
Should be 194 bytes long (I use HxD to look at the dumps).March 27, 2019 at 1:35 pm #102173I’m already back…
Good news: I split the file you gave me to separate the ACK message from the dump message. Then I tested loading the dump and it works fine. The ACK message is also recognized separately fine.
So, the issue you are facing is due to the speed of reception of messages or something like that.
I propose you (please reply what you think):
– send another program request F0 42 30 36 10 F7 and give me the reply (so I can check what you get back)
– switch the device to another program (I understand that the message above is requesting the current program – Don’t know how to request a dump of any program based on its number. Will look for that)
– send another program request F0 42 30 36 10 F7 and give me the reply (so I have different files)
– send switch to edit mode and give me the reply if any
– open Ctrlr and the panel
– before doing anything, open the console by doing Panel – Lua console. We should get some messages there
– try again Program – Read from Device
– give me what pops up in the console (it will fail as before but I hope it will say something)Based on all of that, I will make a first adaptation of the panel so we can see more what’s going on and where it fails. I may directly do some adaptation to separate messages/requests and secure processing.
April 3, 2019 at 5:54 pm #103773Hi, hopefully I will be able to get back to you tonight on the matter.
April 3, 2019 at 7:27 pm #103777I’ve sent the request (F0 42 30 36 10 F7) and it is indeed 194 bytes long:
F0 42 30 36 40 00 50 69 61 6E 6F 20 31 00 36 27 20 00 00 00 00 01 7F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 00 00 00 00 00 00 00 02 00 00 00 00 00 32 00 00 00 00 00 00 08 00 06 3D 5C 5A 2D 0D 00 53 00 63 54 3A 60 28 00 63 0A 27 38 00 4B 29 00 02 00 57 40 62 59 00 00 27 02 02 06 06 00 00 00 00 33 0F 00 00 32 00 00 00 00 00 00 00 00 63 00 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 3C 00 00 00 00 00 00 63 00 63 00 63 00 00 00 00 00 00 00 00 00 00 00 0F 00 13 01 13 13 15 00 15 65 01 0F 63 07 03 00 00 0C 00 05 08 00 00 40 11 00 00 3C 3E 00 76 00 02 00 00 F7
April 3, 2019 at 7:41 pm #103778Meanwhile I have tested a second Korg 05R/W and it reacts the same. So finally I simply cannot understand how others users would not run into these same problems.
Anyhoo, same request again for confirmation if I understood you well:
F0 42 30 36 40 00 50 69 61 6E 6F 20 31 00 36 27 20 00 00 00 00 01 7F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 00 00 00 00 00 00 00 02 00 00 00 00 00 32 00 00 00 00 00 00 08 00 06 3D 5C 5A 2D 0D 00 53 00 63 54 3A 60 28 00 63 0A 27 38 00 4B 29 00 02 00 57 40 62 59 00 00 27 02 02 06 06 00 00 00 00 33 0F 00 00 32 00 00 00 00 00 00 00 00 63 00 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 32 3C 00 00 00 00 00 00 63 00 63 00 63 00 00 00 00 00 00 00 00 00 00 00 0F 00 13 01 13 13 15 00 15 65 01 0F 63 07 03 00 00 0C 00 05 08 00 00 40 11 00 00 3C 3E 00 76 00 02 00 00 F7No inconsistancies.
- This reply was modified 5 years ago by Gnasher.
April 3, 2019 at 7:48 pm #103781When clicked on edit mode while previously on combi mode:
TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT
001F05A3 1 2 F0 Buffer: 8 Bytes System Exclusive
SYSX: F0 42 30 36 4E 01 00 F7
001F060B 1 2 F0 Buffer: 162 Bytes System Exclusive
SYSX: F0 42 30 36 49 00 41 74 6F 6D 69 63 20 00 53 75 6E 00
SYSX: 13 03 28 00 28 26 26 65 01 0F 3C 00 09 03 00 0A 00 00
SYSX: 00 00 00 00 1F 00 29 50 2E 00 00 01 01 00 00 28 63 00
SYSX: 00 00 0C 00 7F 00 7F 00 01 3E 00 11 15 00 00 00 12 00
SYSX: 7F 00 7F 01 3E 00 00 00 63 00 00 0F 00 00 7F 00 7F 01
SYSX: 3F 10 00 00 63 00 00 0F 00 7F 00 00 7F 01 3F 10 00 63
SYSX: 00 00 00 0F 00 7F 00 7F 01 00 3F 10 00 63 00 00 0F 00
SYSX: 00 7F 00 7F 01 3F 10 00 00 63 00 00 0F 00 7F 00 00 7F
SYSX: 01 3F 10 00 63 00 00 00 0F 00 7F 00 7F 00 01 3F 10 F7
001F060E 1 2 F0 Buffer: 10 Bytes System Exclusive
SYSX: F0 42 30 36 41 00 00 29 00 F7
001F0610 1 2 F0 Buffer: 6 Bytes System Exclusive
SYSX: F0 42 30 36 23 F7
001F066A 1 2 F0 Buffer: 6 Bytes System Exclusive
SYSX: F0 42 30 36 23 F7
001F066C 1 2 F0 Buffer: 6 Bytes System Exclusive
SYSX: F0 42 30 36 23 F7April 3, 2019 at 7:50 pm #103782When clicked on edit mode while previously on program mode:
TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT
0020E48D 1 2 F0 Buffer: 8 Bytes System Exclusive
SYSX: F0 42 30 36 4E 03 00 F7
0020E4FE 1 2 F0 Buffer: 194 Bytes System Exclusive
SYSX: F0 42 30 36 40 00 50 69 61 6E 6F 20 31 00 36 27 20 00
SYSX: 00 00 00 01 7F 00 00 00 00 00 00 00 00 00 00 00 00 00
SYSX: 00 00 00 00 32 00 00 00 00 00 00 00 02 00 00 00 00 00
SYSX: 32 00 00 00 00 00 00 08 00 06 3D 5C 5A 2D 0D 00 53 00
SYSX: 63 54 3A 60 28 00 63 0A 27 38 00 4B 29 00 02 00 57 40
SYSX: 62 59 00 00 27 02 02 06 06 00 00 00 00 33 0F 00 00 32
SYSX: 00 00 00 00 00 00 00 00 63 00 3C 00 00 00 00 00 00 00
SYSX: 00 00 00 00 00 00 00 00 32 3C 00 00 00 00 00 00 63 00
SYSX: 63 00 63 00 00 00 00 00 00 00 00 00 00 00 0F 00 13 01
SYSX: 13 13 15 00 15 65 01 0F 63 07 03 00 00 0C 00 05 08 00
SYSX: 00 40 11 00 00 3C 3E 00 76 00 02 00 00 F7
0020E501 1 2 F0 Buffer: 10 Bytes System Exclusive
SYSX: F0 42 30 36 41 00 00 00 00 F7
0020E504 1 2 F0 Buffer: 6 Bytes System Exclusive
SYSX: F0 42 30 36 23 F7
0020E581 1 2 F0 Buffer: 6 Bytes System Exclusive
SYSX: F0 42 30 36 23 F7
0020E584 1 2 F0 Buffer: 6 Bytes System Exclusive
SYSX: F0 42 30 36 23 F7April 3, 2019 at 8:39 pm #103784From the Lua console after clicking ‘read prog names frm dev’:
Received all combi dump
Callback error: [midiParseReceived]
At line [68]: [string “Backup”]
What: Lua
Namewhat: global
Name: saveBackup
Error message: [string “Backup”]:68: attempt to index global ‘BackupfileToWrite’ (a nil value)
At line [68]: [string “Backup”]
What: Lua
Namewhat: global
Name: saveBackup
Error message: [string “Backup”]:68: attempt to index global ‘BackupfileToWrite’ (a nil value).
Method disabledApril 9, 2019 at 11:19 am #105386Thx for your replies. Will look at that (a bit ectic right now)
April 10, 2019 at 4:04 pm #105882Sucks right? Same reason for me for not responding as quick as I hoped to.
I’ll be patient 😉April 11, 2019 at 7:36 pm #106253April 11, 2019 at 7:43 pm #106258April 11, 2019 at 10:34 pm #106308Edit: sorry for the two empty posts. The forum wrecked havoc…
I almost forgot that I do have a 05R/W collecting dust for the last few centuries. It turns out that it is not as bad of a synth as I thought.
The panel is nicely done. Mauro De Carolis gets my deepest respect for this well coded panel. Heh, it is funny that the most complex panels don’t cost a cent.
The problem comes from a typo in the following Methods: “InitPanel” (most important) and “Backup”.
Change the name of the variable “backupfileToWrite” into “BackupfileToWrite”. Note first charcter should be uppercase.I am working on an enhanced version of the panel. For now the objective will be to adapt the layout for higher resolution screens (about 1920×1080). Don’t hold your breath. It will probably take months until I will publish somtehing (if ever).
April 12, 2019 at 9:57 am #106524Can you test and publish now an adapted version of this panel?
OR
Shall I do it (but I don’t have a 05R/W)? I’m just doing this to help people.So, we have 2 errors:
– In InitPanel and Backup: change the name of the variable “backupfileToWrite” into “BackupfileToWrite”. Note first character should be uppercase.
– In File Utilities, button Read Prog Names: modify the sysex to F0 42 32 36 1C 00 F7 (should be 1C io 1D)Just let me know.
April 12, 2019 at 1:15 pm #106529Yes these are the errors. I guess Gnasher will be able to fix that himself. I thought it does not make sense to upload a fixed panel as I am already working on an enhanced version. To my understanding the button we are talking about “Read prog names frm dev” is on the wrong tab. It will load the program names into the uiCombos of the “COMBI” tab. The panel has some other issues concerning keeping the state after quit/restart. Maybe I will fix it, but I ain’t sure. I have to think about the 05R/W being really worth the effort.
If you think it makes sense I will upload a fixed panel, but maybe Gnasher could do that?
- This reply was modified 5 years ago by Possemo.
April 13, 2019 at 7:40 pm #108107Ah, I saw another big problem now. I already discussed that on a thread about the Korg Wavestation. At that time I was convinced that MIDI hard- and software in general won’t allow sending data at speeds beyond midi specifications (31.25 kBPS). What would be the spec good for if nobody cares? In fact PC/Mac MIDI interfaces seem to send data much faster. You have to throttle the speed in order to meet MIDI specs. This is a thing you cannot do with Ctrlr. You can insert delays between several small messages but if you have one big message there is no way to affect transfer speed.
So this means: there is no way to restore “all Program Data”, “all Combi Data” and “entire Dataset”. Data is sent too fast for the old Korg synth. Therefore the Button “Restore” does not make much sense. You can backup these data to disk but you will need a sysex tool like MIDIOX if you want to restore the data.
This is probably true for all AI synths from korg such as M1, M3, 01R/W, X5 etc. and a big lot of other synths from Yamaha and Roland. That annoys me terribly. I had plans to make panels for a couple of somewhat more complex synths. Well… I’d better forget it.
I won’t put too much work into the 05R/W panel. Gnasher: if you are ok with a big layout needing a 1920×1080 screen just wait a bit. I will probably publish it in about a week or so.
- This reply was modified 5 years ago by Possemo.
April 13, 2019 at 7:42 pm #108110Hi Possemo, quite honestly I’m not that of a tech wizard. I figured out some stuff thanks to Goodweather forcing me, some of which was posted previously, but where exactly to adjust that typo is currently beyond my comprehension of this application.
Could you send me an adjusted version and send it, that would be grand.
I read that you meanwhile stumbled on the major problem, shame that can’t be solved within Ctrlr, but it ought to be possible as it is with other apps.- This reply was modified 5 years ago by Gnasher.
April 13, 2019 at 7:47 pm #108111About “All program data” or similar messages, did you check the content of the sysex?
Usually, it is a juxtaposition of single programs.If this is the case then you can send program by program with some delay in between by using a timer.
I’m doing that in my Pro2 panel so you can take the code there.If this is not the case, you could apply the same principle but send byte by byte using a timer as well.
Just looping on the memory block content.Let me know if you need any help (I keep following this topic even if I will thus not make any modification as you take over with a new panel). Cheers 🙂
April 13, 2019 at 7:57 pm #108114Goodweather, with regard to the ‘new panel’, I guess we have to wait and see.
Personally I’m not looking forward to a HD version as it won’t fit my ole’ MacBook…April 13, 2019 at 8:03 pm #108116@Gnasher: ok in that case I will upload a panel with just the above mentioned fixes.
@goodweather: No this is one big message. if you manage to send just raw data without starting with F0 and ending with F7 you would be my hero. -
AuthorPosts
- The forum ‘Using Ctrlr’ is closed to new topics and replies.