How to Guide for V5: How to make your own controllers?

Home Forums General Programming How to Guide for V5: How to make your own controllers?

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #311
    Kidney05
    Participant
      • Topics: 1
      • Replies: 19
      • Total: 20

      Hello,
      Been digging the new stuff i’ve seen but I kinda have no idea what i’m doing in V5, so I can’t really get started on making my own controller. What’s the best way to look at the midi messages and start creating? I’ve tried several things and nothing seems to work right for me as of now.
      Thanks,
      Matt

      #2490
      Ycros
      Participant
        • Topics: 1
        • Replies: 4
        • Total: 5

        Hi, I’ve been working on a panel for my Waldorf Blofeld. First you need to go to Devices and make sure your device is ticked in both input and output columns. Then select MIDI Mon from the toolbar, and when you move controls on your device, you should see a bunch of numbers coming up in the MIDI Mon window, to the right of your device name. The numbers are in base 16 (hexadecimal). For example:
        [code:2vm5dgig][MidiIn][14:39:52:422.000]: [MIDI IN][Waldorf Blofeld][b0 1f 15][/code:2vm5dgig]
        If the numbers start with a b0, then you’re dealing with CC MIDI messages. To set these to a Slider, add a Slider, then in the properties box to the right scroll down to the MIDI section. Make sure that "MIDI message type" is set to CC. Next you will need to set the "MIDI Controller number" to the [u:2vm5dgig]decimal[/u:2vm5dgig] value of the second number. In my case this is 1f, which is 31 in decimal.

        The other type of message you are likely to see are SYSEX messages, they start with f0:
        [code:2vm5dgig][MidiIn][14:45:51:6.000]: [MIDI IN][Waldorf Blofeld][f0 3e 13 00 20 00 00 08 26 f7][/code:2vm5dgig]
        These are trickier, and you’ll probably have to reference the documentation for your particular device to work out how to decode them. However, for simple cases, where the values fit within a byte (255), you can usually work out which number corresponds to the value of your control, just by moving your control around a bit (it will be the only number that’s changing in the sequence). In my case, the second last number, the 26 is the value for this particular control. To enter this into a Slider, first you need to set the "MIDI message type" to SysEx. Then at the very bottom, click Edit on "SysEx Formula". Set the length so that your entire SysEx string fits (in my case, that’s 10), then enter in all the numbers. For the number that’s your value, put in xx into the editor, this tells it that that’s where your value is located.

        These will work for simple cases, but a device manufacturer can cram whatever they want into SysEx messages, so you’ll be much better off if you take a look at the documentation for your device. There are other codes you can use in the SysEx formula editor to handle values that have been split across fields, but I don’t know them off the top of my head, but let me know and I’ll look them up in the code.

        #2491
        Coil
        Participant
          • Topics: 2
          • Replies: 18
          • Total: 20

          ok, i`m also totally lost with CTRL <img decoding=” title=”Confused” />

          i tried the stand alone and the audio unit version and when i play on my masterkeyboard, i get action in the MIDI Monitor from CTRL.
          i also set the MIDI Ports and Device in CTRL but i can`t reach my external expander (a Yamaha TX802).

          this is what i did:

          1. start logic and insert CTRL in a Channel
          2. click new -> new Panels -> empty Panel
          3. click on Devices and choose Yamaha TX802 and my masterkeyboard on the MIDI Input and Yamaha TX802 on the MIDI Output
          4. on the right side in CTRL under panel i set the MIDI Input and MIDI Output Device to TX802, MIDI Programm and MIDI Bank is still set to 1

          now i think i had to choose anything behind MIDI Programm and MIDI Bank, but i don`t know what. this time i have "(no Choises)"
          i also think that i have anything to set in LUA/Hooks, but i have no idea what :lol:

          The MIDI Implementation Chart for the TX802 is available online here: http://www.stoffelshome.de/tx802_mic.html

          btw. MIDI Thru in Logic is set to enable

          i also know the difference between control messages and sysex but a short description how to use CTRL would be very nice (perhaps a short video with the basic settings and only one sysex control).

          #2492
          minimalist
          Participant
            • Topics: 10
            • Replies: 141
            • Total: 151
            • ★★

            Coil, I’m not sure if I understood your problem. Is it that your TX802 doesn’t respond to your keyboard? I’ve tested it aswell (but just 1 minute )and maybe v5 can’t send MIDI note messages (at the moment)? But you can also create a second MIDI track in Logic for MIDI notes.

            If you’re a bit experienced in MIDI stuff – v5 isn’t that complicated. Until now I didn’t need the LUA (honestly I also don’t know what this is) and most opperations already work.

            – create a new pannel
            – by rigtht mouse click choose a component (slider/knob/whatever)
            – choose the MIDI channels/ports of your hardware
            – type in the right MIDI message which responds to the parameter you want to control

            … have fun! <img decoding=” title=”Wink” />

            #2493
            Coil
            Participant
              • Topics: 2
              • Replies: 18
              • Total: 20

              ok,

              i have done this now with my JV-2080 and this time i choose a simple controller for the filter cutoff and it worked.
              it seams to me that CTRL don`t have a MIDI Thru function at this time, so i have to use 2 separate channels.
              anyway, i can`t reach my TX802, why ever.
              when i choose external instrument in logic everything works well.

              #2494
              atom
              Keymaster
                • Topics: 159
                • Replies: 2945
                • Total: 3104
                • ★★★★★

                well the TX802 uses SysEx messages so you need to know how those messages look like. You are correct there is no MIDI thru at the moment, i added this to the TODO list so it will be there soon.

                #2495
                Coil
                Participant
                  • Topics: 2
                  • Replies: 18
                  • Total: 20

                  Hi,

                  thanks a lot for your answers.

                  ok, i use sounddiver on my mac mini and midi monitor on my mac pro to get the sysex strings i need, eg. there are 32 algorythms i can set for the yamaha tx802, the sysex string for algorithm 1 is:

                  [code:22na3z7u]00 F0 43 10 01 06 00 F7[/code:22na3z7u]

                  algorhythm 2 is:

                  [code:22na3z7u]00 F0 43 10 01 06 01 F7[/code:22na3z7u]

                  etc.

                  i have created a new uiSlider in CTRL and i set the MIDI message type to Sysex.
                  then i add a new MIDI message to that slider and set the MIDI message type again to sysex.
                  i´m not sure what i have to set in the value and number mapping fields, but i thing the tx802 uses LSB7bit, but i also tried the others.
                  now i`m also not shure what i have to set into the SysEx Formula Filed, as far as i know the meaning of the sysex string F0 43 10 01 06 00 F7 is:

                  F0 = start sysex message
                  43 = Yamaha ?
                  10 = tx802 ?
                  01 = ID ??? :roll:
                  00 = this should be algorythm 1 in that case
                  F7 = end of SysEx Message

                  so i`m not sure what i have to set in the sysEx Formula field, i have tried the whole string (F0 43 10 01 06 00 F7) and F0 43 10 01 06 F7.

                  the MIDI Implementation for the TX802 is only one side in the whole manual <img decoding=” title=”Neutral” />

                  #2496
                  atom
                  Keymaster
                    • Topics: 159
                    • Replies: 2945
                    • Total: 3104
                    • ★★★★★

                    Well ID is usually the MIDI Channel "yy" or just 4 bytes of the midi channel like 0011 nnnn (where nnnn is the midi channel), in that case you can use 3y (witch means first 4 bits are 0011 and the second four bits are the midi channel)

                    #2497
                    Coil
                    Participant
                      • Topics: 2
                      • Replies: 18
                      • Total: 20

                      ok i`ve got it now !

                      i have to set the whole thing into the SysEx Formula and not into the Multi Message List .

                      so, for the Algorythm now i use the following String: F0 43 10 01 06 xx F7 and it works !

                      HELL YEAH

                      #2498
                      Kidney05
                      Participant
                        • Topics: 1
                        • Replies: 19
                        • Total: 20

                        I tried using the decimal CC number for my tetra but it doesn’t seem to be receiving. I selected it in the midi in and out, and placed a knob, set it as a midi CC for filter cutoff and the tetra doesn’t seem to be responding. Any help?

                        #2499
                        atom
                        Keymaster
                          • Topics: 159
                          • Replies: 2945
                          • Total: 3104
                          • ★★★★★

                          i think the TETRA uses NRPN messages not CCs, that’s what i remember from the v4 when i did a TETRA editor.

                          #2500
                          nrhyan
                          Participant
                            • Topics: 5
                            • Replies: 45
                            • Total: 50

                            Hey Kidney, I’ll try and help out. First off, do you have any particular reason to want to send standard CC messages? Itll be just as easy to send NRPN and you will also be able to create controls for ANY/ALL of the Tetr4’s program and combo parameters. Make sure you have a tetr4 1.3 manual and let me know whats up. I’d be happy to send you a panel I’ve alreadymade for the Tetr4 too so you are able to see some working examples.

                            #2501
                            minimalist
                            Participant
                              • Topics: 10
                              • Replies: 141
                              • Total: 151
                              • ★★

                              Hi nrhyan & Kidney. The latest official Tetra release 1.3 is VERY buggy. There is already a new "unofficial" version (1.4) available here: http://dsiforum.org/viewtopic.php?t=896 … 1ae8345c13
                              But you need to be a registrated forum member to download (and see) it. 1.4 is much more stable (though there are some annoing bugs left). If you don’t like to registrate to this forum, let me know – I have 1.4 on my harddisc.

                              #2502
                              nrhyan
                              Participant
                                • Topics: 5
                                • Replies: 45
                                • Total: 50

                                Thanks minimalist. I try to keep up with Chris/Pym’s updates. 1.4 is def more stable, tho there is definetly room for some improvement. One thing I wish I had would be that overpriced Tetr4 SE librarian… :cry:

                                #2503
                                Wren
                                Participant
                                  • Topics: 4
                                  • Replies: 21
                                  • Total: 25
                                  "nrhyan":2sg4q4f1 wrote:
                                  Hey Kidney, I’ll try and help out. First off, do you have any particular reason to want to send standard CC messages? Itll be just as easy to send NRPN and you will also be able to create controls for ANY/ALL of the Tetr4’s program and combo parameters. Make sure you have a tetr4 1.3 manual and let me know whats up. I’d be happy to send you a panel I’ve alreadymade for the Tetr4 too so you are able to see some working examples.[/quote:2sg4q4f1]

                                  Hi Nrhyan, I’d LOVE if you could send me what you’ve already done with ctrlr panel for Tetra! I’ve also got another question, have you been able to set up the panel to be automated by Ableton Live editing boxes. Say you want a frequency sweep to be automated in Ableton Live on a MIDI track during certain parts, along with other parameters – is this possible?

                                  Atom nice work, the potentials of this are astounding.

                                  Thanks

                                Viewing 15 posts - 1 through 15 (of 15 total)
                                • The forum ‘Programming’ is closed to new topics and replies.
                                There is currently 0 users and 69 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