SWB

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 157 total)
  • Author
    Posts
  • in reply to: HTTP Error when uploading panel #118212
    SWB
    Participant
      • Topics: 35
      • Replies: 157
      • Total: 192
      • ★★

      I managed to significantly reduce the file size by reducing the sizes of the pictures I used in this panel (the “resources”). So now the upload was successful.

      in reply to: HTTP Error when uploading panel #118132
      SWB
      Participant
        • Topics: 35
        • Replies: 157
        • Total: 192
        • ★★

        Thanks for the reply. That’s odd, because, though in the past, I did upload several
        panels of about 2 Mb. And in the upload window it says 16 Mb max, but I think that is the max sum of all the uploaded files together. I’m not sure if I can compress my panel to 1 Mb.

        in reply to: Need older Mac version of ctrlr #81896
        SWB
        Participant
          • Topics: 35
          • Replies: 157
          • Total: 192
          • ★★

          No problem using dropbox. I did upload the file already, but to send you the link I need your email address. Maybe you can send me a PM?

          in reply to: Need older Mac version of ctrlr #81889
          SWB
          Participant
            • Topics: 35
            • Replies: 157
            • Total: 192
            • ★★

            Hi,
            I have version 5.3.122. I didn’t work with Ctrlr for quite awhile but I seem to remember I did stick with this version exactly because of the background image problem. I did a quick check if this version does load a background and it did. No 100% guarantee of course;-). I can send you the program file using WeTransfer, but I’m not sure if that is all you need. I don’t have the original instal folder. Just let me know.

            in reply to: All Lua programming lost!? #72461
            SWB
            Participant
              • Topics: 35
              • Replies: 157
              • Total: 192
              • ★★

              No, I didn’t code outside CTRL.

              To be frank, I (almost) giving up trying to use CTRL for building MIDI interfaces. I’m looking into other ways, like JUCE. But JUCE is at the moment a too steep learning curve for me, thought the community is very helpful. MAX is another possibiity and also Lemur and TBStuff are candidates, but that software is primarily for the iPad.

              • This reply was modified 6 years, 9 months ago by SWB.
              in reply to: Lua install #71687
              SWB
              Participant
                • Topics: 35
                • Replies: 157
                • Total: 192
                • ★★

                no idea, sorry.

                in reply to: Lua install #71684
                SWB
                Participant
                  • Topics: 35
                  • Replies: 157
                  • Total: 192
                  • ★★

                  If you start with a new panel you can open the Lua editor (menu: Panel>Lua Editor). There you can add a new method and add your “test” code. In your code you can use the console to output data etc. to the console window e.g

                  console(string.format(“Weird char: %d, %d”, midiParam, i))

                  This code sends the text “Weird char:” plus the value (in this case) of the variable ‘midiParam’ to the console window.

                  This is a way to check your code. I think you cannot use the console window as input for Lua code, at least I never used it that way. To find about the way you can use Lua with a panel you should download a few panels with Lua code. This is the download link: http://ctrlr.org/panels/ (This link used to be present on the forum site (under downloads), but has recently disappeared for unknown reasons.)

                  • This reply was modified 7 years, 1 month ago by SWB.
                  in reply to: Link for panels #71683
                  SWB
                  Participant
                    • Topics: 35
                    • Replies: 157
                    • Total: 192
                    • ★★

                    I’m not sure why this all happens all of the sudden. We should get the attention of Roman (Atom), but he is either awful busy or still hibernating ;-).

                    • This reply was modified 7 years, 1 month ago by SWB.
                    in reply to: Donate for OSX builds #71479
                    SWB
                    Participant
                      • Topics: 35
                      • Replies: 157
                      • Total: 192
                      • ★★

                      Exactly one year ago I did have a extensive email communication with Roman about this Mac build issue. I offered some help with trying to find a Mac Mini in The Netherlands (where I live), because I think they are cheaper than in Poland and there is more second hand supply, I guess. But he did not take up my offer. So as the second best option for me I tried to build Mac versions of CTRLR using Xcode v7.2.1 myself. In the beginning I encountered many problems and vague error messages, but with the help of Roman I came a long way. But finally I reached the point that in some or another way I had to do code fixing and at that point Roman told me to leave it, which made sense from his point view (I quote his answer): “Then leave it for now, since i develop mainly on Windows/Linux there will be issues on OSX and whoever is doing the build needs to know how to fix them, otherwise i need to do it, and that’s not the point.“. So I did not put any energy anymore in trying to build CTRLR for Mac. So still the best option, I think, is Roman gets enough money to buy a Mac. And I’m willing to donate (again), if others do also. I’m not sure but I think about 300 euro should be enough. As there is already raised an amount of $ 125, which is roughly 120 euro, we need (only) 180 euro or so…

                      • This reply was modified 7 years, 1 month ago by SWB.
                      in reply to: Donate for OSX builds #71462
                      SWB
                      Participant
                        • Topics: 35
                        • Replies: 157
                        • Total: 192
                        • ★★

                        Unfortunately the amount of funds raised was not enough to buy the Mac hardware, as you can check out on de fund raise page. Atom also proposed that somebody else did the OS X builds. I tried to do that, but for me the learning curve was/is too steep. I’m still willing to do the builds, but need guidance until I know my way around, because I’m not a professional programmer. If there is any chance of a positive result for a decent Mac build, I’m willing to put my time into it, because I do have the time (and patience). But again: I need help.

                        • This reply was modified 7 years, 1 month ago by SWB.
                        in reply to: Panel Background Image import #71430
                        SWB
                        Participant
                          • Topics: 35
                          • Replies: 157
                          • Total: 192
                          • ★★

                          That’s the reason why I still use version 5.3.122 on my Mac (El Capitan). Higher versions don’t display image resources, though they do appear as resource in CTRLR.

                          in reply to: multiple if syntax question #71342
                          SWB
                          Participant
                            • Topics: 35
                            • Replies: 157
                            • Total: 192
                            • ★★

                            This code formatting in a message works for me now also. Thanks! Will make a note of this, tend to forget all this useful stuff ;-).

                            in reply to: Error message: No such operator defined #71336
                            SWB
                            Participant
                              • Topics: 35
                              • Replies: 157
                              • Total: 192
                              • ★★

                              Today I did use the latest Mac build 5.3.198, but same result, error message: no such operator defined. Also when I load a panel made in a previous version, midi in and out don’t work. Only when I make a panel from scratch does de MIDI I/O work. I wish atom would shed some light on all this…

                              • This reply was modified 7 years, 2 months ago by SWB.
                              in reply to: Error message: No such operator defined #71302
                              SWB
                              Participant
                                • Topics: 35
                                • Replies: 157
                                • Total: 192
                                • ★★

                                First I did download the latest Windows version, but it appeared that the panel I had made on the Mac would not send or receive MIDI in the Windows version. So I had to copy all the code manually. (I also had to adjust all the buttons and the labels, because font (and the screen resolution??) differ from the Mac.) This finally worked, but when I did add the “problematic” code, Ctrlr crashed and I could no load any panel anymore, all my work was lost! So I went back to Mac and tried your suggestion of using CtrlLuaBigInteger, but the same error message. So I downloaded the latest Mac version (I don’t use that one because it won’t load resources like images), but the same as on Windows, the panel would not send or receive MIDI. So I probably have to copy again manually all the code. For now I have had enough, maybe tomorrow I feel more up to the task again 😉 Thanks for the reply and advice!

                                in reply to: multiple if syntax question #71277
                                SWB
                                Participant
                                  • Topics: 35
                                  • Replies: 157
                                  • Total: 192
                                  • ★★

                                  to put code on a post, select the text and press the button “code”.

                                  Doesn’t seem to work for my code-snippet…

                                  in reply to: Error message: No such operator defined #71263
                                  SWB
                                  Participant
                                    • Topics: 35
                                    • Replies: 157
                                    • Total: 192
                                    • ★★

                                    Thanks Possemo for the reply. I do receive bytes in the method, because the console shows their value. With the code example below I get the error. When I comment out the line with BigInteger I don’t get the error message. So I think in one way or another BigInteger is not defined… This is the code I use, which is almost the same as yours (sorry for the layout):

                                    local t1
                                    	local t2
                                    	local t3
                                    	local byte
                                    	
                                    	sizeMidi = midi:getData():getSize()
                                    	msgtype= midi:getType()
                                    	if sizeMidi > 2500 then
                                    		for i = 1,8 do
                                    			t1 = midi:getData():getByte(i);
                                    			t2 = midi:getData():getByte(i+1)
                                    			console("t1=: "..t1)
                                    			console("t2=: "..t2)
                                    			byte = (t1)+(t2*16)
                                    			console("byte=: "..byte)
                                    			t3=BigInteger(byte)
                                    			console("value: "..t3)
                                    		end
                                    	end
                                    

                                    This is not the code I actually need, but without BigInteger I’m afraid (or pretty sure) getBitRangeAsInt won’t work either and I need that to work to be able to operate on bit level. Any input much appreciated.

                                    • This reply was modified 7 years, 2 months ago by SWB.
                                    • This reply was modified 7 years, 2 months ago by SWB.
                                    • This reply was modified 7 years, 2 months ago by SWB.
                                    • This reply was modified 7 years, 2 months ago by SWB.
                                    • This reply was modified 7 years, 2 months ago by SWB.
                                    • This reply was modified 7 years, 2 months ago by SWB.
                                    • This reply was modified 7 years, 2 months ago by SWB.
                                    in reply to: All Lua programming lost!? #71001
                                    SWB
                                    Participant
                                      • Topics: 35
                                      • Replies: 157
                                      • Total: 192
                                      • ★★

                                      Well, I did try version 5.3.198, but no MIDI in and no MIDI out activity detected (so none of the components work) and the ‘panel background image’ tells me ‘no choices’ even after I added a png file… So still trouble and for the time being I stick with 5.3.122.

                                      in reply to: All Lua programming lost!? #70999
                                      SWB
                                      Participant
                                        • Topics: 35
                                        • Replies: 157
                                        • Total: 192
                                        • ★★

                                        I did save this panel yesterday evening just before I quit (went to bed). I usually save every 15 minutes or even more often, especially when I have done a lot of programming. When I openend this morning this panel all Lua methods were gone, except of course the build ins. Luckily a panel of 2 days old was still in the trash, so I could use that one as a start…

                                        In the meantime I did found out the fundraising yielded $ 125 (of $ 500), so that is probably not enough to let Roman buy a Mac computer. So I urge every Mac user of CTRLR to contribute in on way or another to help him out. It is our own interest!

                                        I will now make it a habit of saving my panel “versioned” and I will try version 5.3.198.

                                        • This reply was modified 7 years, 2 months ago by SWB.
                                        in reply to: midiReceived function not working? #70957
                                        SWB
                                        Participant
                                          • Topics: 35
                                          • Replies: 157
                                          • Total: 192
                                          • ★★

                                          Solved! I think my skills have become a bit rusty. I forgot to call the function on the panel level, where you can call functions related to the various events like when the panel receives a midi message or when the panel has finished loading. So far things are OK now. (But still have to use version 5.3.122 for Mac, because higher versions refuse to display image resources…)

                                          in reply to: Indiegogo cmapaign over #68628
                                          SWB
                                          Participant
                                            • Topics: 35
                                            • Replies: 157
                                            • Total: 192
                                            • ★★

                                            A pity you didn’t reach your goal! Hopefully your Lenovo Mac Mini does the job and you may even going to appreciate a Mac ;-).

                                          Viewing 20 posts - 1 through 20 (of 157 total)
                                          Ctrlr