HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. rzrsharpeprod
    R
    • Profile
    • Following 1
    • Followers 0
    • Topics 39
    • Posts 253
    • Groups 0

    rzrsharpeprod

    @rzrsharpeprod

    28
    Reputation
    31
    Profile views
    253
    Posts
    0
    Followers
    1
    Following
    Joined
    Last Online

    rzrsharpeprod Unfollow Follow

    Best posts made by rzrsharpeprod

    • RE: Romplur vs Maize Sampler still HISE Rocks

      Having used all 3 fairly extensively, here are my thoughts on the 3 different pieces of software for what it's worth.

      I came from both Romplur & Maize before transitioning to HISE. They are easy to use but you hit issues and/or limitations pretty quickly IMO.
      Maize & Romplur are very similar to each other despite the Romplur CEO saying otherwise.

      Romplur has a huge issue if you want to use real sample mapping for each individual note and will just grind your DAW to a halt if you have even a modest number of presets/banks.
      Maize doesn't have that issue at all depsite being the significantly older software.
      With both, you are limited to the built in effects and functionality so if you have far reaching or even moderate ambitions you will hit the ceiling fairly quickly.

      They only really have 2 advantages over HISE and one was mentioned by the OP - that you can export both Windows & Mac format plugins on 1 platform, you don't need to have a Mac to export Mac plugins and so on.
      The other advantage is ease of install.
      Other than that, I would say HISE wins hands down in every other category.

      But in fairness to HISE, once you have got your head around the HISE install/build process & how it works, it's not really an issue tbh

      After making the move to HISE I would 100% never consider moving back to either of the other 2 and the more I learn with HISE, the more possibilities there are and the more powerful/flexible it becomes.

      posted in Blog Entries
      R
      rzrsharpeprod
    • RE: Read only factory presets

      @d-healey Turns out you were kinda right and I had done something stupid.

      When I changed the preset browser from 3 to 2 columns I just left the default widths as 3 x 0.33333
      It didn't seem to matter as it worked fine in HISE but in a built plugin it was doing what I described in my OP.

      After your suggestion I flicked it back to 3 columns, re-exported and sure enough the factory presets weren't editable & the add buttons were there as they should be.

      I then changed it back to 2 columns but set the widths to 2 x 0.5 and when I re-exported it this time it was also working correctly.

      Glad I have that sorted as it was really bugging me. Thanks for the assist

      posted in General Questions
      R
      rzrsharpeprod
    • RE: I am definitely doing something stupid with this panel but can't figure out what

      @rzrsharpeprod can I just say, this forum is great as people are very forthcoming with suggestions and help. It is much appreciated and quite rare in a forum I find so thanks everyone

      posted in Scripting
      R
      rzrsharpeprod
    • RE: Expansions sample maps

      @d-healey ah ok strange.

      Thankyou for your help as I now have it working properly and selecting the correct samplemaps.

      I've also got the expansion load working in daw as well so I can progress with my project which is great news.

      Thanks again, your help is always invaluable

      posted in General Questions
      R
      rzrsharpeprod
    • RE: Expansions sample maps

      @d-healey Ok thankyou. I have created a minimal project and sent it to you via DM

      posted in General Questions
      R
      rzrsharpeprod
    • RE: EQ numbers LAF

      @d-healey Thankyou, as usual your help was invaluable.
      Ironically I have been using autocomplete quite a bit recently but it didn't even occur to me in this case.

      Thanks again, it is doing what I want it to do now

      posted in General Questions
      R
      rzrsharpeprod
    • RE: Is there a way to order samplemaps in the sampler

      @Lindon @d-healey

      Thankyou both. I tried both methods and have come up with something that works.

      I need to do a little rejigging of the samples once to get it working 100%.
      That is a one time job and after that I can add new samplemaps without messing up my presets and having to manually reassign the samplemaps which is exactly what I wanted.

      Thanks again, your help is much appreciated

      posted in General Questions
      R
      rzrsharpeprod
    • RE: FL Studio midi problem

      @gorangrooves said in FL Studio midi problem:

      @gorangrooves Found it. For anyone else looking, it is in:

      top menu Options-> Audio Settings-> CPU-> Align Tick Lengths

      Apologies I've only just seen this. Glad you found the setting though

      posted in General Questions
      R
      rzrsharpeprod
    • RE: Enable loop in sampler

      @d-healey I forgot to say earlier but this worked like a charm. Thankyou for your help as it would have taken me forever to figure that out (if ever)

      posted in General Questions
      R
      rzrsharpeprod
    • RE: EQ changes saved in DAW

      @DabDab yes that the code I used to get it working in he first place but it didn't translate across when I made firther changes in daw.

      @Christoph-Hart said that it should though so I'll double check something else isn't stopping it

      posted in General Questions
      R
      rzrsharpeprod

    Latest posts made by rzrsharpeprod

    • RE: Preset browser and expansions again...

      @d-healey Yeah it's a bit odd. I'll build a minimal example later when I'm home and post a snippet.

      posted in General Questions
      R
      rzrsharpeprod
    • Preset browser and expansions again...

      I have another strange question about expansions and the preset browser.
      For my project a separate banks page is required which then loads the selected expansion & UI when clicked on and hides the banks page.
      @d-healey helped me with this quite a bit and I now have it working and loading the expansion.

      The problem I have is that I don't need the expansions column in the standard preset browser as it's superseded by the banks page. I just need the last column showing the presets for the chosen expansion.

      My first thought was just to set showExpansionColumn to false in the preset browser settings, but then the presets don't show up when the expansion is loaded from the banks page via setCurrentExpansion.
      To get around this I set showExpansionColumn to true and made it 0.01 width with the last column being 0.99 so that it is there but can't be seen.
      This works nicely and allows the presets to show in the final column. They can then be clicked and selected as expected which loads the presets as expected.

      The problem with this solution is that it turns out that it breaks the search and favourites feature!! I changed the widths of the 2 columns to 0.4 and 0.6 for example so that I could see the expansions column to do some testing.
      If I click on the expansion first and then the preset the search and favourites works as expected. But obviously I don't want the expansions column to be there in the real project as the whole point is to choose the expansions via the banks page.

      I presume that clicking the expansions column in the preset browser does more than just

      expHandler.setCurrentExpansion();
      

      does as that is what I am calling to load the expansions but it's not the same behaviour as clicking the expansions column.

      Is there something else I can call/need to call in order to have the same post click action as clicking on the expansion column to load the expansion? Or is there another/better way entirely?

      posted in General Questions preset browser expanions
      R
      rzrsharpeprod
    • RE: A couple of expansion questions

      @d-healey said in A couple of expansion questions:

      Second, the error message is telling you what the problem is. expansionName is a variable you declared outside of the mouse callback, you can't use it in the mouse callback. You have to get the data you want from the child panel where you stored it.

      Ah so I can use the this.data.Name again. That will sink in one day I promise.

      Did that and added the {} and it sets the current expansion when clicked now thankyou.

      I'll leave you alone now for a bit as I try and figure out eth best way to load the correct UI elements and trigger the controls repaint

      Thankyou again for all your advice and patience, it really is much appreciated

      posted in General Questions
      R
      rzrsharpeprod
    • RE: A couple of expansion questions

      @d-healey I put it directly in my click callback like this

      cp.setMouseCallback(function(event){
      		this.data.hover = event.hover;
      		Console.print("Hover");
      		
      		if (event.clicked)
      		Console.print("Clicked");
      		expHandler.setCurrentExpansion(expansionName);
      				
      		this.repaint();
      

      but got the error

       Can't reference local variables in nested function body
      

      So I created an inline function loadExpansion() and called it at the end of my code

      inline function loadExpansion()
      {
      expHandler.setCurrentExpansion(expansionName);
      }
      

      But then got this doing that

      API call with undefined parameter 0
      
      posted in General Questions
      R
      rzrsharpeprod
    • RE: A couple of expansion questions

      @d-healey said in A couple of expansion questions:

      What do you expect it to do?

      I thought that the image would react to the hover as it did before the image was loaded into it because of the line

      g.fillAll(Colours.withAlpha(Colours.darkgrey, this.data.hover ? 1.0 : 0.4));
      

      Actually I just realised that all I needed to put that line after the drawimage line in the repaint so that is solved.

      local props = e.getProperties();
      
      for (x in props)
          cp.data[x] = props[x];
      

      I thought you were just saying you used this in Rhapsody but didn't realise you were saying to add it to my project apologies.
      Ok so I have set the first line of text using this.data.Name and the 2nd line using the tags pulled in from the expansion data and it works and looks how I wanted it to.

      Ok so that's 2 things sorted, thankyou.

      On to the click event now so that it loads the expansion - well sets it I think is the term.
      Am I best to write a function that handles what happens when an expansion is set and then call that as part of the cp code? Or is there a better way to approach it?

      posted in General Questions
      R
      rzrsharpeprod
    • RE: A couple of expansion questions

      @d-healey said in A couple of expansion questions:

      If you want to attach arbitrary data to the panel that needs to go inside its data object.

      Which I have done. I have populated the tags and I can call them to be the "text" object using

      cp.set("text", tags);
      

      but I can't then have both the expansion name and the tags to be set as "text".
      It wants one or the the other unless I combine them

      cp.set("text", expansionName + "" + tags);
      

      which I don't want to do as that puts them on the same line in the panel

      If this isn't what you are referring to then I don't understand sorry

      posted in General Questions
      R
      rzrsharpeprod
    • RE: A couple of expansion questions

      @d-healey said in A couple of expansion questions:

      cp.loadImage(pathToImage, "Icon");

      We have lift off!!!

      In the loop I used

      e.getWildcardReference("Icon.png")
      

      and in the paint routine I called

      g.drawImage("Icon", a, 0, 0);
      

      and they work.

      The hover doesn't work on the icon though, only the part underneath that is just the rest of the panel with the text on. Not sure why the icon doesn't react?

      posted in General Questions
      R
      rzrsharpeprod
    • RE: A couple of expansion questions

      @rzrsharpeprod Ok I will have a look and no doubt get back to you. Thankyou.

      1 quick thing on the dual line text. In your snippet it uses a text object which I modified to use the expansionName

              cp.set("text", expansionName);
      

      How do I add a 2nd version? If I do this

              cp.set("text", expansionName);
              cp.set("text", tags);
      

      Then the 2nd just overrides the first.
      I have the 2 lines showing and formatted correctly but it just repeats whatever the last definition of "text" is

      I can't add "Text2" as that isn't a valid function.
      I tried calling the variables expansionName & tags directly in the drawAlignedText line but it doesn't like that.

      posted in General Questions
      R
      rzrsharpeprod
    • RE: A couple of expansion questions

      @d-healey said in A couple of expansion questions:

      I think you're getting close to that trigger moment :)

      I hope so! Maybe I am as even as I was writing that I thought I bet I can set expansion name using the variable so it is kind of the same action for each one.

      @d-healey said in A couple of expansion questions:

      set the colour
      draw a line of text
      set another colour
      draw another line of text
      etc.

      I also had this revelation as well while I was having lunch. I thought I wonder if setting a new colour will allow me to have a new text object and when I cam back you had said something along these lines

      @d-healey said in A couple of expansion questions:

      Nope, loadImages there is a function you wrote, so don't let the name mislead you into thinking it actually loads images into panels.

      Go watch my video about using images with panels, you have to load the image into the panel before you can use it in the paint routine.

      I watched one of yours the other day (the one with the cute little piglet) I will go back and rewatch it as I clearly missed something.
      Is the cant find Icon.png error misleading then or is it also not finding the image becaus eit isn't loaded?

      posted in General Questions
      R
      rzrsharpeprod
    • RE: A couple of expansion questions

      @d-healey said in A couple of expansion questions:

      You have not loaded the images into the panels. Start with one regular panel and one expansion, and make it all work. Once you have this you can tackle it with child panels - which is basically the same thing, but overcomplicates it and makes it seem confusing.

      Is this

      if (isDefined(imageList[i]) && imageList[i] != "")
      g.drawImage(imageList[i], [x, y, width, height], 0, 0);
      

      and this

      loadImages();
      

      not doing that?
      Regardless the error messages I'm getting are

      {EXP::ExpansionName}Icon.png not found
      

      for each expansion so it looks like it isn't even finding the images to load either way or have I misunderstood the error?

      @d-healey said in A couple of expansion questions:

      This is just regular paint routine stuff, I have a few videos about paint routines. Make yourself a paint routine sandbox project and play around.

      So it is possible to set 2 separate lines of text? I can then set the position of each through paint routines.
      I wasn't sure if you could set 2 separate text items or if it would have to be 1 with a carriage return or something similar?

      @d-healey said in A couple of expansion questions:

      I don't really know what your saying there, so probably not. You can see how I've implemented the hover action, so you just need to add your click event in the mouse callback too.

      What I mean is the hover isn't really distnguishing between an end action, regardless of what child panel it is hovering over it is doing the same action. Whereas with the load if it is child panel1 it is doing 1 thing specifically (load exp 1), child panel 2 being clicked would load exp 2 and so on.
      Its that unique end action that I can't get my head around. I hope that makes sense?

      posted in General Questions
      R
      rzrsharpeprod