zeoka

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 466 total)
  • Author
    Posts
  • in reply to: exportMeWithRessources : issue #116790
    zeoka
    Participant
      • Topics: 73
      • Replies: 466
      • Total: 539
      • ★★★

      Thank you for the suggestion
      i tried changing panel name , the xml is called MQSounds
      this panel does not use image or sliders with images
      my others panels can export images

      i use the file in callback “Called when the panel is created”

      local RF = resources:getResource("MQSounds")
      
           if RF ~= nil
         then local BD = RF:asXml()
                    MyRom = XmlElement(BD)
                    MyRom:insertChildElement(XmlElement(String("USER")),7)
          end

      and get it in “Called when data is restored”

      for s = 1,420 
            do 
                 if s <= 100 
               then u = "M"..s
                         
              elseif s >= 101
                and s <= 400
               then u = "S"..s - 100
                 
                   
             elseif s >= 401
               then u = "D"..s - 400
                   
                end
              if stateData:getChild(2):hasProperty(u) == true 
            then MyRom:getChildElement(7):setAttribute(u,stateData:getChild(2):getProperty(u))
             end
        end

      all seems ok
      i think i need to go in CTRLR source and see , all seems ok in my panel in ressource directory into XmlNotepad

      Edit: I checked roamming folder already
      I ve seen a callbak called “luaPanelResourcesLoaded” i currently don t know what i could type inside that could help
      I have removed the µ in panel name and directories ,reloaded resourcebut the error is still there

      • This reply was modified 4 years, 3 months ago by zeoka.
      in reply to: UILabel modulatorValue() issue #116647
      zeoka
      Participant
        • Topics: 73
        • Replies: 466
        • Total: 539
        • ★★★

        Hi

        It seems that this modulatorvalue is used by the method “label changed”
        if you open the text box and the value is 1 then
        the value will goes to 0 it must probably correspond to a bool ,
        the bool of the text editor so the modulator value is unuseful

        uilabel text are updated by others mods , when part changing or patch changing
        it sends midi when Enter key is pressed so the method “label changed” is launched
        and sends midi even if you Don’t want

        there is feedback so i would desactivate this method execept when i edit the label.
        this modulator value was good candidate to be a free variable but no

        i have done a button editname that blocks all navigation during name edit ,
        label changed works only when this button is ON
        Edit : ( this button play with “Editing begins..” to cancel the method “label changed )

        i precise this is a multifunction label that displays several types of patchs
        it changes most of time

        • This reply was modified 4 years, 4 months ago by zeoka.
        in reply to: Read xml files from resssources #116600
        zeoka
        Participant
          • Topics: 73
          • Replies: 466
          • Total: 539
          • ★★★

          Nice !

          to save time.. if someone is interrested

            local a = resources:getResource("MySounds")        
            local b = a:asXml()                     
            local c = b:getNumChildElements() 
          --LUA>> 5 (int)   
            local e = b:getChildElement(4)
          --LUA>> Not Nil
            local f = e:getTagName()                                      
          --LUA>> ROM5 (string)
            local g = e:getAttributeValue(2)
          --LUA>> 7f 02 04 65 20 4d 75...(string)
          in reply to: Read xml files from resssources #116599
          zeoka
          Participant
            • Topics: 73
            • Replies: 466
            • Total: 539
            • ★★★

            HEP HEP HEP AT LINE 373 : .def(“asXml”, &CtrlrPanelResource::asXml)
            tried a:asXml() but not works

            in reply to: Read xml files from resssources #116598
            zeoka
            Participant
              • Topics: 73
              • Replies: 466
              • Total: 539
              • ★★★

              i get the code

              const Image CtrlrPanelResourceManager::getResourceAsImage (const String &resourceName)
              
              {
              
              	CtrlrPanelResource *res = getResource (resourceName);
              
              	if (res != 0)
              
              	{
              
              		return (res->asImage());
              
              	}
              
              	return (Image::null);
              
              }
              
              const Font CtrlrPanelResourceManager::getResourceAsFont (const String &resourceName)
              
              {
              
                  CtrlrPanelResource *res = getResource (resourceName);
              
              	if (res != 0)
              
              	{
              
              		return (res->asFont());
              
              	}
              
              	return (Font());
              
              }

              seems currently not possible to read xml via resources

              in reply to: Read xml files from resssources #116597
              zeoka
              Participant
                • Topics: 73
                • Replies: 466
                • Total: 539
                • ★★★

                local a seems not to be a file
                i tried a:AsFile() also ..

                in reply to: Read xml files from resssources #116592
                zeoka
                Participant
                  • Topics: 73
                  • Replies: 466
                  • Total: 539
                  • ★★★

                  Something like that ?

                  local a = resources:getResource("MySounds")        -- MySounds.xml 
                   local b = XmlDocument(a)                        -- a is may be not a file if it is a ressource object ??
                          if b:getDocumentElement():hasTagName("FACTORY")   -- top xml value tree in the file  
                        then local c = b:getDocumentElement()
                             local d = c:getChildByName("ROM1")    -- a child value tree 
                             local e = d:getChildByName("S1")      -- the sysex attached to the child                         
                             console(String(""..e:toHexString(1)))
                         end                                                                                                      
                  • This reply was modified 4 years, 4 months ago by zeoka.
                  • This reply was modified 4 years, 4 months ago by zeoka.
                  • This reply was modified 4 years, 4 months ago by zeoka.
                  • This reply was modified 4 years, 4 months ago by zeoka.
                  in reply to: Using CTRLR plug in #73132
                  zeoka
                  Participant
                    • Topics: 73
                    • Replies: 466
                    • Total: 539
                    • ★★★

                    it seems that midi Library and vst presets(default ctrlr program) and program snapshot are done to work together.. is it working ? even partially ?

                    The restricted intance works very well with NKSF(maschine instr) file format
                    For now when i switch presets it’s ok.very cool

                    in reply to: Problems with Ctrlr through Beatstep pro #73108
                    zeoka
                    Participant
                      • Topics: 73
                      • Replies: 466
                      • Total: 539
                      • ★★★

                      Hi
                      so you are using dx7 with a panel ?
                      if yes
                      may be you could plug midi beatstep >Scarlet>dx7>beatstep
                      and use ctrlr midi option like thru ,plugin host etc….
                      may be using the midi thru on device too
                      the best is to have 2 midi physical inputs (may be beatstep has usb midi + other via midi ports)

                      in reply to: Using CTRLR plug in #73092
                      zeoka
                      Participant
                        • Topics: 73
                        • Replies: 466
                        • Total: 539
                        • ★★★

                        Thank you it’s working

                        also finnally Ctrlr exported restricted instances correcty (5.4.29)
                        but
                        -Native instruments Hosts are confused about Ctrlr.dll and own dll
                        my panels are Under Instigator so Maschine or kore open a ctrtrl.dll with no panel

                        other thing
                        1 all restricted instances appear with scrollbars
                        2 i close,open the plugin GUI and it appears correctly
                        3 i change the panel size with a panel button (a magnifying glass) and close the GUI
                        4 i open the GUI and its window is changed

                        is it possible to get “automatic” window sizing ?

                        Attachments:
                        You must be logged in to view attached files.
                        in reply to: UI: New User Comments Nov2015 #62865
                        zeoka
                        Participant
                          • Topics: 73
                          • Replies: 466
                          • Total: 539
                          • ★★★

                          sorry
                          have a look to your ctrlr folder in docs folder and open with text file

                          in reply to: UI: New User Comments Nov2015 #62837
                          zeoka
                          Participant
                            • Topics: 73
                            • Replies: 466
                            • Total: 539
                            • ★★★

                            in hosts mainly there is no limit
                            studio1, fl studio ,reaper, and ni hosts are not limited
                            probably logic cubase cakewalk

                            ctrlr seems not limited , i ‘m currently confused
                            normally for more than 64 it needs to use *.overrides files
                            but seems doesn’t need it ( my exported panels don’t use it )
                            but i’ve ctrlr.overrides set to 2014 max so i assume this is a
                            max limit and exported panels are adjusted.

                            tip : don’t remember to not “export param to host” (first prop in the modulator panel property) if you don’t want it in the host list

                            in reply to: Radio group value #62707
                            zeoka
                            Participant
                              • Topics: 73
                              • Replies: 466
                              • Total: 539
                              • ★★★

                              radio group is just used to have only one button to value 1

                              here you have a bunch of 0&1 values

                              may be you could use property like cutomIndex

                              one method (for bank and another for presets) to aplly to all buttons :
                              first get a varaible (value) how? ask to own button wich index it uses
                              it is called index x here
                              put a stetement like :
                              “if value == 1 then send midi (index x as value)”

                              a problem : radio button function only works with mousedown not with patch update

                              in reply to: LookAndFeel() #62608
                              zeoka
                              Participant
                                • Topics: 73
                                • Replies: 466
                                • Total: 539
                                • ★★★

                                the l&f is simply not applied to them. on the panel the l&f is applied to canvas

                                i think may be this is because they are not in the l&f implementation , i see slider ,combo , ect … nothing specific however not sure it needs

                                in reply to: LookAndFeel() #62601
                                zeoka
                                Participant
                                  • Topics: 73
                                  • Replies: 466
                                  • Total: 539
                                  • ★★★

                                  Hi
                                  i need to aplly l&f to fixed sliders
                                  Please Atom can you implement them or may be not possible ?
                                  my panel sleeps since i can’t get that

                                  it was hard to design the vp9000 knob. i’ve exaggerated the 3d effect but i’m not happy with the tick yet but it’s another story…..

                                  Attachments:
                                  You must be logged in to view attached files.
                                  in reply to: Build 159 #62600
                                  zeoka
                                  Participant
                                    • Topics: 73
                                    • Replies: 466
                                    • Total: 539
                                    • ★★★

                                    A demo panel showcasing the midi devices access will follow too.
                                    Cheers!

                                    currently it’s still possible to use lua and panel properties i remember

                                    in reply to: Build 159 #62579
                                    zeoka
                                    Participant
                                      • Topics: 73
                                      • Replies: 466
                                      • Total: 539
                                      • ★★★

                                      menu hiding thing is weird, if you hide it you can’t export i get that. The best way to use it is via lua, just set the property responsible for the menu bar visibility in you panel’s init function (or wherever).

                                      yes i tought eventually do that

                                      any idea about first param broken issue ?
                                      if i revert to old version there is no issue so i think the bug is not my panels

                                      i look rarely the ctrlr code. When i do it i swim
                                      i just don’t find

                                      Can you also verify the Lua editor -> Sort by name? Seems not to work.
                                      I selected a folder (or also the top folder) then requested sort by name but nothing happened… Thx!

                                      be careful : the order of methods could be important and you could have lua error at startup if identifiers needed at startup are not loaded

                                      in reply to: Build 159 #62573
                                      zeoka
                                      Participant
                                        • Topics: 73
                                        • Replies: 466
                                        • Total: 539
                                        • ★★★

                                        hi
                                        tried instances : the panel window now sizing is ok !
                                        i need to try more

                                        i’ve uploaded img that shows how the first parameter behavior is

                                        first : undefined_0 must be osc1freq , broken in the daw
                                        last : osc1freq must be initialvolume , it links the undefined_0 param

                                        the hiding menu is a good idea but not possible currently to export instance like that 😀

                                        is there a thread about access to midi devices via lua ?

                                        Thank you Atom to add a param to valueChange methods

                                        Attachments:
                                        You must be logged in to view attached files.
                                        in reply to: Build 159 #62488
                                        zeoka
                                        Participant
                                          • Topics: 73
                                          • Replies: 466
                                          • Total: 539
                                          • ★★★

                                          Hi
                                          it seems that uiButtons are not working anymore (mophodesktop) they don’t change value.
                                          This is working with build 136
                                          The modulator “vstIndex0” is still linked with another mod i really don’t know what the issue

                                          I will try vst & instances today

                                          in reply to: Issue with panel initialization #62475
                                          zeoka
                                          Participant
                                            • Topics: 73
                                            • Replies: 466
                                            • Total: 539
                                            • ★★★

                                            don’t take care about vstIndex

                                            go to panel property -> utility
                                            in the order you see all your mods in xml

                                            chose the first mod in the list that use an identifier and put in his valueChange method (in lua) all your identifier definitions in it .
                                            that way when the panel will load your other methods will ‘know’

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