Please help with getting Korg 05r/w panel to work.

Home Forums General Using Ctrlr Please help with getting Korg 05r/w panel to work.

Tagged: ,

Viewing 20 posts - 21 through 40 (of 49 total)
  • Author
    Posts
  • #102161
    goodweather
    Participant
      • Topics: 45
      • Replies: 550
      • Total: 595
      • ★★★

      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).

      #102173
      goodweather
      Participant
        • Topics: 45
        • Replies: 550
        • Total: 595
        • ★★★

        I’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.

        #103773
        Gnasher
        Participant
          • Topics: 0
          • Replies: 18
          • Total: 18

          Hi, hopefully I will be able to get back to you tonight on the matter.

          #103777
          Gnasher
          Participant
            • Topics: 0
            • Replies: 18
            • Total: 18

            I’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

            #103778
            Gnasher
            Participant
              • Topics: 0
              • Replies: 18
              • Total: 18

              Meanwhile 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 F7

              No inconsistancies.

              • This reply was modified 5 years ago by Gnasher.
              #103781
              Gnasher
              Participant
                • Topics: 0
                • Replies: 18
                • Total: 18

                When 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 F7

                #103782
                Gnasher
                Participant
                  • Topics: 0
                  • Replies: 18
                  • Total: 18

                  When 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 F7

                  #103784
                  Gnasher
                  Participant
                    • Topics: 0
                    • Replies: 18
                    • Total: 18

                    From 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 disabled

                    #105386
                    goodweather
                    Participant
                      • Topics: 45
                      • Replies: 550
                      • Total: 595
                      • ★★★

                      Thx for your replies. Will look at that (a bit ectic right now)

                      #105882
                      Gnasher
                      Participant
                        • Topics: 0
                        • Replies: 18
                        • Total: 18

                        Sucks right? Same reason for me for not responding as quick as I hoped to.
                        I’ll be patient 😉

                        #106253
                        Possemo
                        Participant
                          • Topics: 14
                          • Replies: 638
                          • Total: 652
                          • ★★★

                          • This reply was modified 5 years ago by Possemo.
                          • This reply was modified 5 years ago by Possemo.
                          • This reply was modified 5 years ago by Possemo.
                          • This reply was modified 5 years ago by Possemo.
                          #106258
                          Possemo
                          Participant
                            • Topics: 14
                            • Replies: 638
                            • Total: 652
                            • ★★★

                            • This reply was modified 5 years ago by dasfaker.
                            • This reply was modified 5 years ago by Possemo.
                            #106308
                            Possemo
                            Participant
                              • Topics: 14
                              • Replies: 638
                              • Total: 652
                              • ★★★

                              Edit: 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).

                              • This reply was modified 5 years ago by Possemo.
                              • This reply was modified 5 years ago by Possemo.
                              #106524
                              goodweather
                              Participant
                                • Topics: 45
                                • Replies: 550
                                • Total: 595
                                • ★★★

                                Can 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.

                                #106529
                                Possemo
                                Participant
                                  • Topics: 14
                                  • Replies: 638
                                  • Total: 652
                                  • ★★★

                                  Yes 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.
                                  #108107
                                  Possemo
                                  Participant
                                    • Topics: 14
                                    • Replies: 638
                                    • Total: 652
                                    • ★★★

                                    Ah, 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.
                                    #108110
                                    Gnasher
                                    Participant
                                      • Topics: 0
                                      • Replies: 18
                                      • Total: 18

                                      Hi 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.
                                      #108111
                                      goodweather
                                      Participant
                                        • Topics: 45
                                        • Replies: 550
                                        • Total: 595
                                        • ★★★

                                        About “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 🙂

                                        #108114
                                        Gnasher
                                        Participant
                                          • Topics: 0
                                          • Replies: 18
                                          • Total: 18

                                          Goodweather, 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…

                                          #108116
                                          Possemo
                                          Participant
                                            • Topics: 14
                                            • Replies: 638
                                            • Total: 652
                                            • ★★★

                                            @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.

                                          Viewing 20 posts - 21 through 40 (of 49 total)
                                          • The forum ‘Using Ctrlr’ is closed to new topics and replies.
                                          There is currently 0 users and 46 guests online
                                          No users are currently active
                                          Forum Statistics
                                          Threads: 2,495, Posts: 17,374, Members: 77,605
                                          Most users ever online was 12 on January 22, 2019 3:47 pm
                                          Ctrlr