Bomma72

Forum Replies Created

Viewing 20 posts - 21 through 40 (of 68 total)
  • Author
    Posts
  • in reply to: Roland MKS-50 Advanced #9284
    Bomma72
    Participant
      • Topics: 20
      • Replies: 68
      • Total: 88

      I believe this may be the way I saved it, looks as if all the images are missing. I will look into it and let you know.

      in reply to: Roland MKS-50 Advanced #9186
      Bomma72
      Participant
        • Topics: 20
        • Replies: 68
        • Total: 88

        *** PLEASE USE THE THIRD ZIP FILE FURTHER DOWN IN THIS THREAD ****

        Bonus here K3 in progress, hopefully done in a few weeks.

        K3

        *** PLEASE USE THE THIRD ZIP FILE FURTHER DOWN IN THIS THREAD ****

        • This reply was modified 10 years, 11 months ago by Bomma72.
        • This reply was modified 10 years, 11 months ago by Bomma72.
        • This reply was modified 10 years, 10 months ago by Bomma72.
        Attachments:
        You must be logged in to view attached files.
        in reply to: Start up Functions. #8948
        Bomma72
        Participant
          • Topics: 20
          • Replies: 68
          • Total: 88

          Hey Atom,

          I don’t want to disable it completely but just when to stop it from firing when I load the panel.

          • This reply was modified 10 years, 11 months ago by Bomma72.
          in reply to: Image button (press and hold) #7865
          Bomma72
          Participant
            • Topics: 20
            • Replies: 68
            • Total: 88

            Hey Atom, does this also go for the OS X, version as well.  I couldn’t find it.

             

            in reply to: Image button (press and hold) #7649
            Bomma72
            Participant
              • Topics: 20
              • Replies: 68
              • Total: 88

              OK cool, thanks.

              in reply to: Image button (press and hold) #7614
              Bomma72
              Participant
                • Topics: 20
                • Replies: 68
                • Total: 88

                Hey atom,

                you said to remind you.

                in reply to: Another episode of help me translate the manual — #7267
                Bomma72
                Participant
                  • Topics: 20
                  • Replies: 68
                  • Total: 88

                  So if I take the two controls? and convert there values to Hex I still don’t get how to send them?

                  You said above that the synth uses

                  F0 40 00 10 00 01 03 ms ls F7

                  Time or Switch, you need to encode both values of the SWITCH and the TIME into this message (a button and a slider into one SysEx message)

                  I thought the accccccc meant that the first bit was the switch and the next 7 were the time value?

                  in reply to: Another episode of help me translate the manual — #7263
                  Bomma72
                  Participant
                    • Topics: 20
                    • Replies: 68
                    • Total: 88

                    But what is “accccccc” about in the manual  then?    I understand that that the data can be Hex, Bin, Dec.  The problem is how do I combine the two values? This is what I don’t get?

                    So are you telling me that acccccccc doesn’t mean “a” is ether 1 or 0 and ccccccc is the binary form of the knob value?  As I understand it as you have said about I have to combind these two values and then send them right?

                    I agree I need the basics but where can I go to get the basics?

                    in reply to: Another episode of help me translate the manual — #7261
                    Bomma72
                    Participant
                      • Topics: 20
                      • Replies: 68
                      • Total: 88

                      So still no joy.  Not sure at this point where to go.  In the last post atom you said I should do this.

                      “–SysEx formula property for your slider/button, and Ctrlr will deal with spltiing a 14bit value”

                      Tried this but I think this doesn’t work because I have to set up the value in the correct format “accccccc” the “a” being the switch.  So I have to combine them in Lua first.

                      So next I tried using the binary conversion code Hecticcc posted  to combine the data; for instance if the combine value of the switch on (1) and the time knob being 45 (0101101) the 8bit value should be “10101101”.  (is this right?)

                      So now I tried to use the post about the converting bytes thread posted above by Hecticcc.  As I understand it I need to get two 7 byte values out of this 8 bit byte so I can send it as midi, however the CtrlrLuaBigInteger class doesn’t take strings, which is what my value is after doing the combining.

                      So first question how do I convert the string value of “10101101” to be a binary value?

                      OK so even though I don’t know how to do that yet,  I figured could at least check to see if it would work correctly if I found that command.  So I ran this code.

                      bi = CtrlrLuaBigInteger(10101101)
                      lsb = bi:getBitRangeAsInt(0,7)
                      msb = bi:getBitRangeAsInt(7,7)

                      panel:sendMidiMessageNow(CtrlrMidiMessage(string.format(“F0 40 00 10 00 01 03 %.2x %.2x F7”, msb, lsb)))

                      No luck.  So I thought maybe my range isn’t right as the manual says value high-value (0000xxxx) and low value (0000xxxx).  Ok so maybe I have to do it like this.

                      bi = CtrlrLuaBigInteger(10101101)
                      lsb = bi:getBitRangeAsInt(0,4)
                      msb = bi:getBitRangeAsInt(5,8)

                      panel:sendMidiMessageNow(CtrlrMidiMessage(string.format(“F0 40 00 10 00 01 03 %.2x %.2x F7”, msb, lsb)))

                      Nope, so I think I am close but I am not sure where I am going wrong.  What don’t I get?

                      Sorry to keep pestering but there doesn’t seem to be a place to go to get this info, and I want to learn how to do this.

                       

                      in reply to: Another episode of help me translate the manual — #7162
                      Bomma72
                      Participant
                        • Topics: 20
                        • Replies: 68
                        • Total: 88

                        OK I am stuck with this.  I am not sure how to proceed.  Using lua I have been able to get both values from the slider and the button.  I then used the script above to translate the slider value into a 7 bit byte and the button into a one bit byte.  Finally I took this now 8 bit byte and converted it to decimal and sent it as a midi message.  This didn’t seem to work.  So at this point I am unsure what command in lua I should use to send it.
                         tried these
                        string.format(“F0 40 00 10 00 01 03 %.2x  %.2x  f7″, val1val2)  did this first with both values directly from the controls no translation.
                        string.format(“F0 40 00 10 00 01 03 00 %.2x  f7″, val1) with val1 being the method described above combining both after translation and then sending dec value.
                        and
                        string.format(“F0 40 00 10 00 01 03 ms ls f7″, val1,val2) this doesn’t send anything.
                        So my question is how do I transmit  this data I think I have it formatted correctly but don’t know how to send it.

                        in reply to: Image button (press and hold) #7083
                        Bomma72
                        Participant
                          • Topics: 20
                          • Replies: 68
                          • Total: 88

                          Hey tried this last night and got it to work.  It requires sticking the custom component in front of the actual button and then using lua change the button status via the custom component but it works great.  Also making the button inactive.

                          Thanks for all the help.

                          in reply to: Image button (press and hold) #7060
                          Bomma72
                          Participant
                            • Topics: 20
                            • Replies: 68
                            • Total: 88

                            Well if I can make the custom component work then I would be fine with that, so really no rush.

                            in reply to: Image button (press and hold) #7042
                            Bomma72
                            Participant
                              • Topics: 20
                              • Replies: 68
                              • Total: 88

                              OK I will give that a try.

                              in reply to: alpha property of slider? #7041
                              Bomma72
                              Participant
                                • Topics: 20
                                • Replies: 68
                                • Total: 88

                                Thank you sir!

                                in reply to: Image button (press and hold) #7035
                                Bomma72
                                Participant
                                  • Topics: 20
                                  • Replies: 68
                                  • Total: 88

                                  Anyone have any luck with what I am describing?

                                  in reply to: Image button (press and hold) #7007
                                  Bomma72
                                  Participant
                                    • Topics: 20
                                    • Replies: 68
                                    • Total: 88

                                    OK I took a look at this.  I think I get how the timer works, however is there a button property such as pressed, Released or down, up.  I am using the Momentary mode and I was hoping it would work like when I press and hold the button down it would be set to 1 but when I released it it would go back to 0.  That way the button could work like some scroll buttons on synths where while you hold the button down it scrolls through options.

                                    However it doesn’t seem to work this way, so i am wondering if there is a property I can check to see if the button is down.

                                    Let me know if you get what I am asking for, or if it doesn’t make sense I will try to explain it better.

                                     

                                     

                                    in reply to: Image button (press and hold) #6963
                                    Bomma72
                                    Participant
                                      • Topics: 20
                                      • Replies: 68
                                      • Total: 88

                                      OK, gonna give it a shot tonight.

                                      in reply to: Need help Slider #6880
                                      Bomma72
                                      Participant
                                        • Topics: 20
                                        • Replies: 68
                                        • Total: 88

                                        I think the best thing you can do is download a panel and look at it.  That will give you a good starting point as far as the environment.

                                        Here is a tutorial that was done a while ago.  It uses an older version of ctrlr but it will still give you and idea of how the interface works.

                                        Basic functions can be done through the interface however for more advanced stuff you will need to use Lua which is the programming language that does stuff in the back end.

                                        Hopefully you have at least a basic understanding of programming.  There is also a lot of good information about Lua in general, however there are commands that are specific for Ctrlr.

                                        At this point I am afraid you will need to do a lot of searching on this forum when you get stuck.  Also ask questions people will help you just make sure you are specific with your questions.

                                        I have almost finished my first panel and have started working on my second.  However I am a professional programmer, and yet I still have problems and need to ask questions.  So don’t worry if you get stuck.  While Atom has done a fantastic job the program is still in the development stages so there are changes and it is not well documented yet.

                                        People here are helpful though and you just need persistence.

                                        Good luck!

                                        in reply to: Another episode of help me translate the manual — #6596
                                        Bomma72
                                        Participant
                                          • Topics: 20
                                          • Replies: 68
                                          • Total: 88

                                          OK, thanks this will help a lot.  So essentially some of the “codes” correspond to subroutines that you wrote for control such as check-sum stuff?

                                          So does my code idea about look like it might work or maybe what I describe below is better?

                                          With the global variables can I have both controls write to different “globals” say K0 for the SW and K1 for the Time and then have both controls send the same command which would be something like.

                                          “F0 40 00 10 00 01 03 K0 K1  f7″

                                           

                                          in reply to: Another episode of help me translate the manual — #6594
                                          Bomma72
                                          Participant
                                            • Topics: 20
                                            • Replies: 68
                                            • Total: 88

                                            OK now I see where I am misunderstanding.  So I can do this from the code behind right?  Meaning the [ms] will ether be 00 or 01 correct?

                                            Something like this

                                            hexstring = string.format(“F0 40 00 10 00 01 03 %.2x  %.2x  f7″, val1, val2)

                                            After getting the Vals from the two components.

                                            What do the ms, ls, xx mean respectively to they represent anything are they just substitute variables?  Is this specific to LUA or part of Ctrlr?

                                            Is there anywhere where this information is available.  I hate to have to ask questions every time.  Something like this comes up.

                                          Viewing 20 posts - 21 through 40 (of 68 total)
                                          Ctrlr