m.tarenskeen

Forum Replies Created

Viewing 20 posts - 81 through 100 (of 113 total)
  • Author
    Posts
  • in reply to: Midi Channel (0y or yy) in LUA #35467
    m.tarenskeen
    Participant
      • Topics: 30
      • Replies: 113
      • Total: 143
      • ★★

      Thanks dasfaker!
      I have used the feature a lot while working on the newest version of my Korg DS-8 editor.
      The DS-8 has a Multi FX section. There are 6 parameters/knobs. But both the function, visible name, and even SysEx command for 5 of the 6 parameters changes when the first parameter (which selects the Effect mode) is changed. This needed some serious Lua+Ctrl magic to get right 🙂
      Now in the Panels download section for who is interested.

      MT

      in reply to: Midi Channel (0y or yy) in LUA #35373
      m.tarenskeen
      Participant
        • Topics: 30
        • Replies: 113
        • Total: 143
        • ★★

        Thanks. I knew it had to be something like that! But rather than asking friendly and skilled Ctrlr/Lua users in this forum to tell me things like this I’d rather know where I can find such information myself?

        in reply to: Midi Channel (0y or yy) in LUA #35356
        m.tarenskeen
        Participant
          • Topics: 30
          • Replies: 113
          • Total: 143
          • ★★

          I solved this by adding a method that I use with “called when a MIDI channel changes for a panel”, using the values that are automatically passed as arguments there and storing the channel number in a global variable.
          Works for what I want to do.

          in reply to: Lua in Ctrlr – list of frequently used commands #35285
          m.tarenskeen
          Participant
            • Topics: 30
            • Replies: 113
            • Total: 143
            • ★★

            This old thread is still very useful – but hard to find – for starting panel designers like me. Unfortunately I found these posts *after* I already found out how things like this work 🙂

            Maybe a “Lua in Ctrlr – list of frequently used commands” page can be added to the “Documentation” section of this website.

            in reply to: Korg DS-8 and 707 #35055
            m.tarenskeen
            Participant
              • Topics: 30
              • Replies: 113
              • Total: 143
              • ★★

              Korg DS-8 and (especially) Korg 707 panel version 20150107 includes several bugfixes and improvements. Please download again from the Downloads/Panels section if you are using the older versions.

              in reply to: font not loaded first time #34927
              m.tarenskeen
              Participant
                • Topics: 30
                • Replies: 113
                • Total: 143
                • ★★

                I have tried removing the font fom my system’s font directory. At first it seemed to work. But the problem seems to occur when I export (compressed + resources) on my Linux laptop and load the panel in Ctrlr on my Windows system. After setting the correct font in panelmode and saving, everyhing is OK again. But if I then load this file, which was saved on my Windows system, back in Ctrlr on my Linux system, the font has to be re-set again.

                in reply to: Korg DS-8 and 707 #34888
                m.tarenskeen
                Participant
                  • Topics: 30
                  • Replies: 113
                  • Total: 143
                  • ★★

                  Korg DS8 and 707 panels now available in the Panels download section!

                  in reply to: Korg DS-8 and 707 #34865
                  m.tarenskeen
                  Participant
                    • Topics: 30
                    • Replies: 113
                    • Total: 143
                    • ★★

                    My DS-8 panel is almost in a state that I find worth uploading to the “Panels” section.
                    NEW: I have also created a Korg 707 panel with very similar looks and functionality. Looking for beta-testers, since I don’t own a 707 now. (I owned one in the past, so I do know this toy)
                    To be continued …

                    in reply to: how to use Resources using LUA scripting? #34670
                    m.tarenskeen
                    Participant
                      • Topics: 30
                      • Replies: 113
                      • Total: 143
                      • ★★

                      Thanks, but that is not what I meant. (BTW: how could anyone know such a thing? The Ctrlr API still lacks any proper documentation)

                      I want to load an external *.syx file in the Resources section of Ctrlr and save it with my panel when I export as *.panelz including resources. (just like I can include an image or fontfile). Then I want to know if I have access to such files from within a LUA script.

                      in reply to: Korg DS-8 and 707 #34665
                      m.tarenskeen
                      Participant
                        • Topics: 30
                        • Replies: 113
                        • Total: 143
                        • ★★

                        Korg DS8 panel version 20150101
                        Today’s version has a smarter way to save a patch.
                        attached.

                        Attachments:
                        You must be logged in to view attached files.
                        in reply to: Korg DS-8 and 707 #34628
                        m.tarenskeen
                        Participant
                          • Topics: 30
                          • Replies: 113
                          • Total: 143
                          • ★★

                          Here is my next version of the Korg DS-8 panel for testing:
                          – supports sending/receiving bulk dump of current voice to/from MIDI
                          – supports saving/loading sysex file to/from disk
                          – uses a font called “LCDdot regular” to display the voicename. Included in the panels resources.

                          I think LCDdot would be a good addition to the standard Ctrlr fonts. It’s a bit similar to “Electronic Highway sign” but supports both lower- and uppercase characters.

                          Next version; next Year. Happy New Year!!

                          Attachments:
                          You must be logged in to view attached files.
                          in reply to: TX81Z – DX21 Mod #34535
                          m.tarenskeen
                          Participant
                            • Topics: 30
                            • Replies: 113
                            • Total: 143
                            • ★★

                            you must be a Windows user …
                            maybe rightclick –> save as .. ?

                            I am not a Windows user.

                            in reply to: Korg DS-8 and 707 #34533
                            m.tarenskeen
                            Participant
                              • Topics: 30
                              • Replies: 113
                              • Total: 143
                              • ★★

                              The current version now supports getting and putting the singlevoice patchdata as a dump to/from the DS8. The SAVE and LOAD buttons are next on my TODO list.

                              Getting the patchdata sometimes doesn’t seem to work 100% reliable. Selecting a program on your DS8 makes it send the SysEx dump also. Sometimes this gives a better result than clicking on the “GET” button in my panel.

                              I have attached the current version. Use at your own risk 🙂
                              Your DS8 has to have SysEx enabled, and be put in Single Program mode.

                              If anyone can give me a hint how to make receiving the bulkdump can be made more solid, please let me know.

                              Attachments:
                              You must be logged in to view attached files.
                              in reply to: what do you need to know in order to make panels? #34207
                              m.tarenskeen
                              Participant
                                • Topics: 30
                                • Replies: 113
                                • Total: 143
                                • ★★

                                I’m making progress:-)
                                An additional question: I have created a uiLCDLabel in my panel to display a 10-character patchname. In the MIDI bulkdump there are 10 bytes used for the patchname. How do I construct MIDI bytes from the uiCDLabel and vice versa? (The MIDI bytes in my case do not represent ASCII values in my case. For ASCII values 32 to 127 a MIDI value of 0 to 85 is used instead.)

                                in reply to: Porting panels from jSynthLib #34142
                                m.tarenskeen
                                Participant
                                  • Topics: 30
                                  • Replies: 113
                                  • Total: 143
                                  • ★★

                                  There might exist different checksum algorithms used by different manufacturers, but I don’t know them all. But the calculation that I know that is used by for example Yamaha and Roland goes like this:

                                  A = calculate the sum of all data (excluding some header bytes)
                                  B = only use the 7 lower bits from A
                                  C = calculate 128-B
                                  D = only use the 7 lower bits from C, so that D=0 if B=0

                                  D is the checksum

                                  in reply to: what do you need to know in order to make panels? #34129
                                  m.tarenskeen
                                  Participant
                                    • Topics: 30
                                    • Replies: 113
                                    • Total: 143
                                    • ★★

                                    Tnak you! This an answer that will really really help! I will print it out as a getting-started reference 🙂

                                    I noticed there are a lot of good questions posted in this this forum but few of them are really answered.

                                    Now I can start writing the necessary Lua code for my panel. One tricky (typical for KORG synths) part will be to convert 7-bit MIDI data to 8-bit internal Korg data and vice versa. I should write a dedicated function for that, so that it can be re-used for probably every Korg synth since the M1 and DS-8/707. I have written such a function Python ( for another project:http://dxconvert.martintarenskeen.nl ) that I now need to port to LUA.
                                    Korg uses a system where 7 bytes of 8-bit data are remapped to 8 bytes of 7-bit data before they are stored in a SysEx bulk dump, using a special method.

                                    in reply to: what do you need to know in order to make panels? #33924
                                    m.tarenskeen
                                    Participant
                                      • Topics: 30
                                      • Replies: 113
                                      • Total: 143
                                      • ★★

                                      Help wanted!
                                      My first Ctrlr project (a Korg DS-8 panel) has now reached a point where I will have to start understanding how to use Lua in Ctrlr. There are some basic things I want to do. I can’t be that difficult, because almost every existing panel should be able to do this:

                                      A1. Receive a SysEx dump with the parameters from one complete Single Voice from my synth via MIDI. (For example when using a SysEx dump request message)
                                      A2. Read the databytes from the dump, if necesary first do some rearranging from the bits and bytes in the dumpdata, and then pass the indivual parameter values to the corresponding modulators in my Ctrlr panel.
                                      A3. The panel now reflects the actual data in my synth

                                      B1. Read the state of all the controller values in my panel.
                                      B2. If necessary to some rearranging with the bits and bytes to put the data in the correct SysEx dump format, maybe add a SysEx checksum.
                                      B3. Send the paneldata as a Single Voice SysEx dump to the synth via MIDI: The synth now reflects the data in my Ctrlr panel.

                                      Looking how other panels work does help, but I really could use some “getting started” advice to speed up my learning process. Once I can understand and grasp the basic mechanisms I can find out the detailed Lua coding and syntax details that are specific for my synth’s SysEx internals myself.

                                      I hope someone can give me some usable advice!

                                      in reply to: what do you need to know in order to make panels? #33740
                                      m.tarenskeen
                                      Participant
                                        • Topics: 30
                                        • Replies: 113
                                        • Total: 143
                                        • ★★

                                        The issue still exists after this update, at least that is what I experience:

                                        1. I create a group, but some rotary sliders in it
                                        2. I right-click on the group and select “copy with children”
                                        3. I paste
                                        4. I check the VST index numbers: The VST index numbers in the pasted group are identical to the ones in the original group.

                                        in reply to: Korg DS-8 and 707 #33704
                                        m.tarenskeen
                                        Participant
                                          • Topics: 30
                                          • Replies: 113
                                          • Total: 143
                                          • ★★

                                          Here is a preview of my Korg DS-8 panel. One-way Parameter changes are working.
                                          Studying LUA api now to enable MIDI bulkdump to/from DS-8.

                                          in reply to: what do you need to know in order to make panels? #33697
                                          m.tarenskeen
                                          Participant
                                            • Topics: 30
                                            • Replies: 113
                                            • Total: 143
                                            • ★★

                                            I am using (according to Help->About)

                                            Version = 5.3.26, Build date = Wed Dec 3 16:01:40 CET 2014, Branch = Nightly, Juce = 3.1.0

                                          Viewing 20 posts - 81 through 100 (of 113 total)
                                          Ctrlr