lfo2vco

Forum Replies Created

Viewing 20 posts - 121 through 140 (of 162 total)
  • Author
    Posts
  • in reply to: Callback error: Lua runtime error #13359
    lfo2vco
    Participant
      • Topics: 26
      • Replies: 162
      • Total: 188
      • ★★

      Many thanks Atom, that’s brilliant I’ve downloaded the panel and will apply to my method.

      Yippi Kay Ay indeed :~ )

      Here is some noise I organised into an acceptable format:
      https://soundcloud.com/lfo2vco/a-dark-crystal

      in reply to: Callback error: Lua runtime error #13350
      lfo2vco
      Participant
        • Topics: 26
        • Replies: 162
        • Total: 188
        • ★★

        If you format the string correctly you can send it out over midi.

        Yep I see what you are getting at Hecticcc, but my problem lies with this (I think)

        function saveToSynth(midiMessage)
        
        	-- Get ASCII characters from uiLCDLabel and convert into two Hexadecimal strings of 10 characters long
        	getPatchLabel = panel:getComponent("Patch Label"):getProperty("uiLabelText")
        	character00 = string.byte(getPatchLabel,1)
        	character01 = string.byte(getPatchLabel,2)
        	character02 = string.byte(getPatchLabel,3)
        	character03 = string.byte(getPatchLabel,4)
        	character04 = string.byte(getPatchLabel,5)
        	character05 = string.byte(getPatchLabel,6)
        	character06 = string.byte(getPatchLabel,7)
        	character07 = string.byte(getPatchLabel,8)
        	character08 = string.byte(getPatchLabel,9)
        	character09 = string.byte(getPatchLabel,10)
        
        		if Character00 == 0x20 then 
        			byte00 = string.format("20")
        		else
        			byte00 = string.format("%.2x",character00)
        		end
        		if Character01 == 0x20 then 
        			byte01 = string.format("20")
        		else
        			byte01 = string.format("%.2x",character01)
        		end
        		if Character02 == 0x20 then 
        			byte02 = string.format("20")
        		else
        			byte02 = string.format("%.2x",character02)
        		end
        		if Character03 == 0x20 then 
        			byte03 = string.format("20")
        		else
        			byte03 = string.format("%.2x",character03)
        		end
        		if Character04 == 0x20 then 
        			byte04 = string.format("20")
        		else
        			byte04 = string.format("%.2x",character04)
        		end
        		if Character05 == 0x20 then 
        			byte05 = string.format("20")
        		else
        			byte05 = string.format("%.2x",character05)
        		end
        		if Character06 == 0x20 then 
        			byte06 = string.format("20")
        		else
        			byte06 = string.format("%.2x",character06)
        		end
        		if Character07 == 0x20 then 
        			byte07 = string.format("20")
        		else
        			byte07 = string.format("%.2x",character07)
        		end
        		if Character08 == 0x20 then 
        			byte08 = string.format("20")
        		else
        			byte08 = string.format("%.2x",character08)
        		end
        		if Character09 == 0x20 then 
        			byte09 = string.format("20")
        		else
        			byte09 = string.format("%.2x",character09)
        		end
        
        			bytes00to09 = string.format("0x%s 0x%s 0x%s 0x%s 0x%s 0x%s 0x%s 0x%s 0x%s 0x%s", byte00, byte01, byte02, byte03, byte04, byte05, byte06, byte07, byte08, byte09)
        			console(string.format(bytes00to09))
        
        	-- Send Tone Dump Sysex message to Kiwi-3P
        	toneDump = string.format("f0 7f 06 %.2x 0xf7", bytes00to09)
        	panel:sendMidiMessageNow(CtrlrMidiMessage(toneDump))
        	end

        Above is a very abridged version of my method, I think there is enough info to make sense of what I am trying to do. However I believe (and stand to be corrected) that calling on a string (bytes00to09) in the sysex string (toneDump) may be what is causing the problem.

        I have formatted the method this way as there are a lot of modulator values to include and the values get difficult and unwieldy to follow as one long string. So I have subdivided them into groups of ten bytes, with the aim of combining them in between the Sysex start and end.

        Seems this grand plan is a bit of a failure :-\

        Complete example dump follows:
        0xf0 0x7f 0x7f 0x7f 0x60 0x01 0x00 0x06 0x00 0x01 0x48 0x69 0x67 0x68 0x20 0x53 0x74 0x72 0x69 0x6e 0x67 0x73 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x04 0x27 0x7d 0x00 0x3f 0x09 0x60 0x4a 0x2b 0x7f 0x3f 0x01 0x12 0x03 0x2d 0x64 0x2a 0x4b 0x7f 0x11 0x3f 0x00 0x00 0x7f 0x00 0x7f 0x7f 0x46 0x30 0x7f 0x00 0x05 0x7f 0x7f 0x00 0x00 0x7f 0x00 0x00 0x00 0x0f 0x40 0x00 0x3f 0x00 0x00 0x05 0x00 0x0e 0x3d 0x15 0x00 0x03 0x01 0x55 0x78 0x08 0x02 0x03 0x01 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xf7

        Here is some noise I organised into an acceptable format:
        https://soundcloud.com/lfo2vco/a-dark-crystal

        in reply to: Callback error: Lua runtime error #13319
        lfo2vco
        Participant
          • Topics: 26
          • Replies: 162
          • Total: 188
          • ★★

          Thanks Hecticcc, I’ll give that a go.

          Hi Atom, is your question to Hecticc? I do not recall any lsb and msb functions in the method I attached.

          Here is some noise I organised into an acceptable format:
          https://soundcloud.com/lfo2vco/a-dark-crystal

          in reply to: Sequential Circuits Six-Trak #13270
          lfo2vco
          Participant
            • Topics: 26
            • Replies: 162
            • Total: 188
            • ★★

            Hi there. I am unable to get the Six Trak Editor file to open. I’m uncertain as to how to implement or use it, really. I am used to loading .vst or .component files into my DAW. The .bpanelz file has totally thrown me for a loop. Is there a particular program I should be using to open this? Does the editor work for Macs?

            Hey synthexplorer, at the top of this page select Downloads > Ctrlr. This will take you to the latest nightly builds of the Ctrlr app. Download the latest version for Mac, inside will be a standaload app, a vst and a component. Load the vst into Albleton and then open the .bpanelz into the Ctrlr vst.

            Basically the vst is an interface/holder for any of the Ctrlr panels created. Hope it works out for you.

            Here is some noise I organised into an acceptable format:
            https://soundcloud.com/lfo2vco/a-dark-crystal

            in reply to: Callback error: Lua runtime error #13261
            lfo2vco
            Participant
              • Topics: 26
              • Replies: 162
              • Total: 188
              • ★★

              OK, I think that the problem is that I cannot put a string into at MIDI message. Is that correct?

              So in this instance I have to get the Sysex data into a memory block and compile the information there?

              I have looked through several examples in other panels but cannot decipher the mechanics of what is happening as they are very complex methods. Way beyond what I am currently capable of.

              Should I be trying something like the following?

              Write your values to a Lua table that’s indexed with numbers, like so

              myTable = {}
              myTable[1] = panel:getModulatorByName("w00f"):getValue()
              myTable[2] = panel:getModulatorByName("w00f"):getValue()
              myTable[3] = panel:getModulatorByName("w00f"):getValue()
              myTable[4] = panel:getModulatorByName("w00f"):getValue()
              

              then convert that table to a MemoryBlock

              mb = MemoryBlock (myTable)
              

              and write that to a file, do this in reverse to get the values.

              To convert a MemoryBlock to a hex string use toHexString(1) method (the 1 as the parameter is the grouping parameter for output)

              a MemoryBlock can be constructed from a hex string ex:

              mb = MemoryBlock ("f0 f1 f2 f3 f7")
              console (mb:toHexString(1))
              

              Here is some noise I organised into an acceptable format:
              https://soundcloud.com/lfo2vco/a-dark-crystal

              in reply to: Can't Request Programs: "getFromDevice failed for item:" #13260
              lfo2vco
              Participant
                • Topics: 26
                • Replies: 162
                • Total: 188
                • ★★

                Hello Music Maven, welcome to the forum and you are not doing anything wrong.

                Ctrlr is an application in progress, it is constantly being updated and enhanced and as such some features have changed over the years. As far as I understand none of the menu items under ‘Request from device’ in the ‘Programs’ menu are implemented. The forum Moderator Atom is the brains behind Ctrlr.

                The Microwave XT panel is a demo with limited functions, it was created by a member called Msepsis. He sells the complete panels on his website: http://www.monstrummedia.com Considering the amount of work involved in creating such a complex panel they are very reasonably priced.

                The Matrix panel was downloaded from the depreciated panels area. This means they it is out of date regarding running in the latest version of Ctrlr. To get the panel in a working state you will need to learn some Ctrlr basics and no doubt some Lua scripting. The forum here is helpful and engaging, but there will be an upward learning curve involved.

                My first post was made on May 31, 2013 at 10:18 pm, I am still here, working at updating the panel that took my fancy. If you wish to take a look at my questions to the forum you will see answers that will provide you with some of the information you will require to get your Matrix panel updated.

                Sorry the answer is not an easy or quick fix.

                Here is some noise I organised into an acceptable format:
                https://soundcloud.com/lfo2vco/a-dark-crystal

                in reply to: Correctly adding a Modulator Expression in Lua #13221
                lfo2vco
                Participant
                  • Topics: 26
                  • Replies: 162
                  • Total: 188
                  • ★★

                  Hahaha, it’s that simple! Damn.

                  Cheers Atom, I think I need to take evening classes in Lua. However if anyone wishes to follow my posts then it will become obvious I am slowly generating an idiots guide to Ctrlr. ;~)

                  Here is some noise I organised into an acceptable format:
                  https://soundcloud.com/lfo2vco/a-dark-crystal

                  in reply to: 1547 bug/issue round up #13213
                  lfo2vco
                  Participant
                    • Topics: 26
                    • Replies: 162
                    • Total: 188
                    • ★★

                    Hi Atom, I only work in the standalone as my DAW doesn’t do VST.

                    The inverted slider value bug is fixed by the way… many thanks.

                    Here is some noise I organised into an acceptable format:
                    https://soundcloud.com/lfo2vco/a-dark-crystal

                    in reply to: 1547 bug/issue round up #13206
                    lfo2vco
                    Participant
                      • Topics: 26
                      • Replies: 162
                      • Total: 188
                      • ★★

                      You can not type in number values in ctrlr’s pop up value editors! Things like the color picker, or the font kerning/scaling properties pop up windows – on the mac you can not type in values, you can only slide the sliders. Is this addressable? Would be so nice to get those working again, I can’t believe actually that I haven’t stopped once to report this as I’ve seen it for months now.

                      I have found a workaround for the colour picker problem on Mac.
                      Type or paste the numbers deselect the dialogue, right click or ctrl click select the popup and move the alpha slider back and forth. This seems to force Ctrlr to see the new numbers.

                      Might help till its fixed.

                      Here is some noise I organised into an acceptable format:
                      https://soundcloud.com/lfo2vco/a-dark-crystal

                      in reply to: uiSlider Invert Modulator Value From MIDI Value #13178
                      lfo2vco
                      Participant
                        • Topics: 26
                        • Replies: 162
                        • Total: 188
                        • ★★

                        I’ll download the latest Nightly and give it a go… Cheers Atom.

                        Here is some noise I organised into an acceptable format:
                        https://soundcloud.com/lfo2vco/a-dark-crystal

                        in reply to: uiSlider Invert Modulator Value From MIDI Value #13176
                        lfo2vco
                        Participant
                          • Topics: 26
                          • Replies: 162
                          • Total: 188
                          • ★★

                          Hi Atom, did you manage to fix this bug in the end?

                          Here is some noise I organised into an acceptable format:
                          https://soundcloud.com/lfo2vco/a-dark-crystal

                          in reply to: Popup Menu Experiment #13095
                          lfo2vco
                          Participant
                            • Topics: 26
                            • Replies: 162
                            • Total: 188
                            • ★★

                            No problem, I had a feeling that might be the answer : )

                            I have noticed that if you export a instance of this panel, during launch the popup becomes activated (before launch is complete). In some cases this causes the instance to crash. Mac OSX 10.6.8 and OSX 10.7.5.

                            I have tried this with your original Popup Demo and the result is the same.

                            Here is some noise I organised into an acceptable format:
                            https://soundcloud.com/lfo2vco/a-dark-crystal

                            in reply to: Patch Name to uiCDLabel #13082
                            lfo2vco
                            Participant
                              • Topics: 26
                              • Replies: 162
                              • Total: 188
                              • ★★

                              Thanks Atom, still found it a struggle but got there in the end with:

                              nameData = midiMessage:getData():getRange(1,138)
                              nameRange = nameData:getRange(7,23)
                              nameLabel = panel:getComponent("Patch Label")
                              
                              console (nameRange:getRange(2,16):toString())
                              
                              if nameLabel ~= nil then 
                                  	nameLabel:setProperty ("uiLabelText", (nameRange:getRange(2,16):toString()), false)
                              
                              	end
                              
                              end

                              What I didn’t realise was that I could put (nameRange:getRange(2,16):toString()) where you had “myText”. That’s down to my very limited knowledge of Lua and coding in general.

                              Here is some noise I organised into an acceptable format:
                              https://soundcloud.com/lfo2vco/a-dark-crystal

                              in reply to: Popup Menu Experiment #13066
                              lfo2vco
                              Participant
                                • Topics: 26
                                • Replies: 162
                                • Total: 188
                                • ★★

                                OK, got there in the end…

                                So what we have now is a Popup Menu that allows selecion of a Patch via a Bank. It displays both the selected Bank and Patch numbers in a uiCDLabel. Then it sends a Patch Change message to the Kiwi- 3P followed by a Tone Edit Buffer Dump request.

                                This might be a useful method for someone else to use with their synth. So I have attached an abridged version of the panel to this post.

                                Question to Atom: Can the font size and background colour of the Popup be change? If so what would the code be? If not no problemo : )

                                Attachments:
                                You must be logged in to view attached files.

                                Here is some noise I organised into an acceptable format:
                                https://soundcloud.com/lfo2vco/a-dark-crystal

                                in reply to: Program Change verus Sysex #13036
                                lfo2vco
                                Participant
                                  • Topics: 26
                                  • Replies: 162
                                  • Total: 188
                                  • ★★

                                  Haha, I am an idiot!

                                  I had the synth selected in MIDI Input, Controller & Output, thus was creating a right royal MIDI loop… so now all seems sorted.

                                  So I now have:

                                  if ret == 1 then
                                  	msb = 0xc0
                                  	lsb = 0x00
                                  elseif ret == 2 then
                                  	msb = 0xc0
                                  	lsb = 0x01
                                  end
                                  
                                  msb_lsb = CtrlrMidiMessage({msb, lsb})
                                  panel:sendMidiMessageNow(msb_lsb)
                                  
                                  DumpRequest = CtrlrMidiMessage({0xF0, 0x7F, 0x7F, 0x7F, 0x60, 0x01, 0x00, 0x03, 0xF7})
                                  panel:sendMidiMessageNow(DumpRequest)
                                  end
                                  

                                  This is part of the Popup Menu panel I am working on.

                                  Popup Menu Experiment


                                  I will put an attachment of the finished panel over there, it might help someone else try to do something similar.

                                  Cheers again Atom

                                  Here is some noise I organised into an acceptable format:
                                  https://soundcloud.com/lfo2vco/a-dark-crystal

                                  in reply to: Program Change verus Sysex #13027
                                  lfo2vco
                                  Participant
                                    • Topics: 26
                                    • Replies: 162
                                    • Total: 188
                                    • ★★

                                    Cheers for the fast response Atom.

                                    Before posting the question on the forum one of the messages I tried was:
                                    pg = CtrlrMidiMessage({0xc0, 0×00})
                                    panel:sendMidiMessageNow(pg)

                                    Which I take to be correct from your reply. However this caused the synth to start sending continuous streams of data, even when switched off and on again. I could only stop it when I quit Ctrlr!

                                    I guess that there is something I missed off the message or method. I’ll dig around a bit : )

                                    Here is some noise I organised into an acceptable format:
                                    https://soundcloud.com/lfo2vco/a-dark-crystal

                                    in reply to: Midi monitor filtering #12856
                                    lfo2vco
                                    Participant
                                      • Topics: 26
                                      • Replies: 162
                                      • Total: 188
                                      • ★★

                                      MIDIpatch for Mac by Pete Yandell does some filtering of notes, MIDI clock and channels, also remapping to a new channel and transposition of notes. It’s a useful tool and maybe a good example.

                                      Here is some noise I organised into an acceptable format:
                                      https://soundcloud.com/lfo2vco/a-dark-crystal

                                      in reply to: Popup Menu Experiment #12838
                                      lfo2vco
                                      Participant
                                        • Topics: 26
                                        • Replies: 162
                                        • Total: 188
                                        • ★★

                                        Yep, I was aware it was a bit odd. As I say it was kinda stubbled upon rather than designed.

                                        Sub Menus will not worki in this context as I need to make a selection in both the Bank and Patch ( it’s linked to a msb/lsb thingy ). I was originally aiming to have two buttons one for Bank, one for Patch; each with its own popup menu. Ideally scripted into the same method along with the msb/lsb script.

                                        However for the life of me I could not create a second menu that did not display the contents of the first… and that’s how I arrived at the above kludge. : )

                                        Here is some noise I organised into an acceptable format:
                                        https://soundcloud.com/lfo2vco/a-dark-crystal

                                        in reply to: Popup Menu Experiment #12833
                                        lfo2vco
                                        Participant
                                          • Topics: 26
                                          • Replies: 162
                                          • Total: 188
                                          • ★★

                                          Cool… thanks Atom, I’ll continue to experiment.

                                          Here is some noise I organised into an acceptable format:
                                          https://soundcloud.com/lfo2vco/a-dark-crystal

                                          in reply to: uiSlider Invert Modulator Value From MIDI Value #12690
                                          lfo2vco
                                          Participant
                                            • Topics: 26
                                            • Replies: 162
                                            • Total: 188
                                            • ★★

                                            Ooops! good spot, corrected many thanks.

                                            Here is some noise I organised into an acceptable format:
                                            https://soundcloud.com/lfo2vco/a-dark-crystal

                                          Viewing 20 posts - 121 through 140 (of 162 total)
                                          Ctrlr