HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. rglides
    3. Posts
    • Profile
    • Following 2
    • Followers 3
    • Topics 22
    • Posts 262
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: HISE as a 3D renderer

      @Oli-Ullmann yeah claude is still better than gpt5, at least for HISE, although I tested it with some C++ and Claude is better at that too imo. Both still depend largely on the user's patience, prompt and knowledge of course. This cube is amazing by the way! Would be interesting to see if it could do some 3d XY pad stuff with knobs. I guess it would be called an XYZ pad

      posted in Scripting
      rglidesR
      rglides
    • RE: include efficiency

      @d-healey Excellent, thanks David!

      posted in Scripting
      rglidesR
      rglides
    • include efficiency

      is there an efficiency/performance impact keeping includes within includes, or is it better practice generally to try to keep includes as close to 'top-level' (would that be the term?) as possible?

      posted in Scripting
      rglidesR
      rglides
    • RE: Knob Web Studio

      Personally I've recently unsubscribed from every subscription product I've ever had, I think a lot are starting to do the same, people are kinda tired of the concept. But I also think you should absolutely be compensated for your work, it is very good. Maybe add a one-time payment option, so people can choose a higher cost total or to sub if they want, would be nice maybe. just my two cents

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

      @rzrsharpeprod yes exactly, you can pick it apart and figure it out

      posted in Scripting
      rglidesR
      rglides
    • RE: I am definitely doing something stupid with this panel but can't figure out what

      @rzrsharpeprod A few ways to do it, I like to do it like this so you can define a specific area, which will be useful if you have multiple buttons in a panel, or just have the entire panel area react

      HiseSnippet 1074.3ocsVs0aaaCElxIZs1aEaEXuz2T8CAxXAF181Fl6kj33rZr5DiZ2f3MLXPKQaSDJRAJpjZTj+y6ev1gRxVTNNcCFs7AAyyM94y46vC6KEdjnHgDYUd3hPBx56rGrfql2dNlxQcOFY8HaLd7aO67Nue7QeX3vyNcbmKNrW+20AczhPbTDwGYYsyuoM2p7tnj0e+livLL2ijKBgNWP8HuiFPU4R6evuSYrSv9jgz.Cqe1Ac8D71BlHFf1N1MPgXuKwyHmh0lUxFY8Mc7oJgbfBqHQ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rs0wmusN9hs0wedac7W9ucT+Z4CiUhfz1FDpW+NIWqYY0giAFXBaE8uv0NnXz
      
      posted in Scripting
      rglidesR
      rglides
    • RE: Custom borderRadius? e.g. `[0, 0, 5, 5]`

      @Chazrox fr, gonna mess around a bit now

      posted in Newbie League
      rglidesR
      rglides
    • RE: Custom borderRadius? e.g. `[0, 0, 5, 5]`

      @Chazrox wow did not know that! cool cool

      posted in Newbie League
      rglidesR
      rglides
    • RE: Custom borderRadius? e.g. `[0, 0, 5, 5]`

      you can do

      var borderRadius = 5;
      
      g.setColour(Colours.grey);
      g.fillRoundedRectangle([0, 0, 5, 5], borderRadius);
      

      inside a paintRoutine for a panel, is that what you mean? If you mean a different radius for each corner, then I don't think so, best way might be to mask a panel with another panel

      posted in Newbie League
      rglidesR
      rglides
    • RE: quick audioWaveform/Sampler question

      @d-healey Sure, although it doesn't really tackle the issue, I'll keep messing around for now. It is interesting that you guys didn't seem to have the problem I had so I might open the snippet on another computer and see, I hope it's just an anomaly on my end. Thanks for looking David!

      posted in Scripting
      rglidesR
      rglides
    • RE: quick audioWaveform/Sampler question

      @d-healey you mean just hard code that rather than use the array?

      posted in Scripting
      rglidesR
      rglides
    • RE: quick audioWaveform/Sampler question

      @d-healey That could work. So here I have my load function in my main project, with NOTE_SP1 = 61 for when I am loading a single sample and then the array for when I activate btn_UNI (the mode where a single sampler is used for multiple notes with the same sample) What would be the call to load a sample across 8 notes, rather than load the sample into 8 notes separately at once?

      inline function loadSample_sp1(file)
      {
          if (btn_UNI.getValue())
          {
              local samples = [];
              for (i = 0; i < NUM_ROWS_HK4; i++)
              {
                  local s = SP_1.parseSampleFile(file);
                  if (isDefined(s))
                  {
                      s['LoKey'] = NOTE_SP1 + i; 
                      s['HiKey'] = NOTE_SP1 + i;
                      samples.push(s);
                  }
              }
              
              if (samples.length > 0)
              {
                  SP_1.loadSampleMapFromJSON(samples);
              }
          }
          else
          {
              local s = [SP_1.parseSampleFile(file)];
              if (s.length > 0) 
              {
                  s[0]['LoKey'] = NOTE_SP1; 
                  s[0]['HiKey'] = NOTE_SP1;  
              }	
              SP_1.loadSampleMapFromJSON(s);
          }
          manuallyLoadedFile_sp1 = file.toString(file.FullPath);
      
      posted in Scripting
      rglidesR
      rglides
    • RE: quick audioWaveform/Sampler question

      I'm loading the same wav into notes 61, 62, 63, 64 for the test. All in the same sampler with the same audioWaveform. I set the range after playing note 61. note 61 range is visually represented properly in the audioWaveform. I play note 62, 63 or 64 and they all use the range I set technically, but visually the audioWaveform shows the full/default range when I hit those notes. I play note 61 again and the correct range shows in the audioWaveform again. I just want to set the range and have the audioWaveform show that manually set range for all played notes in that sampler

      posted in Scripting
      rglidesR
      rglides
    • RE: quick audioWaveform/Sampler question

      Thanks for looking guys, it's still working strangely for me. the intention is to update the range in the audioWaveform and then any note played should use that updated range. this is working technically, but the audioWavefom jumps back to showing the default/full range for any note played, other than the note I last played when setting the range, which does show the range I set. But you're both getting the manually set range for all played notes after setting it?

      posted in Scripting
      rglidesR
      rglides
    • RE: quick audioWaveform/Sampler question

      @d-healey not sure if the wav will come through in the snippet but the issue is recreated here with any wav loaded into a few of the notes here

      HiseSnippet 1285.3ocyW0zaSbDFd13rz3TJpfnRbnG1J0CAIJxFBg9gHwNw1fEwIVdCoToHgF1cr8nr6LqlcVGbqp54pdo+T54dhi8mC+CZem8iry5XYbbAC4Pje+Zlm2umsqf6PBC4BjQ4iFGPPFW0zdLSNbugXJC0tAx3ZlcvgRhvJg0tiCvggDWjgQoGqXXTdUT7euYmcwdXlCImEBcLm5P1m5Sk4b6V6oTOuVXWxQTeMs2rVaGNaOtGOBvSIyJn.ryo3AjCvJ0VwDYbkltTIWXKwRRHnytb2w1C4mwRz+XZH8kdDEQUjMbPIrQ6Mj541MyWCQHCyt4ddoDO+llcntzy4mGA97XAV4VnGCLVYVPp5k.RFZPZ0DHccSaGAMPlKQgmO0rMCRH8wPnVGJI5hLds4dbPAl7t93SIsD.w4FrwVUpbGK3e29G5GwbjTNyhyNfKIG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waq6WauL7qUPWHRuiNh1QGQ6rTPzrizO5uslLRmyZlQ5Z59UMc+p1xMReNhpqin55Hp9xAQKiAC9XGA+ENIeXuZ7vZwbfACrXLW1rih1ZJeAuO7DwW33T7ntfg2aQM79KpgatnF9fE0vsVTCe3hZ3291MT8B95QRtex6WPnNcalLy2n44y7Kg9OY8lbVC
      
      posted in Scripting
      rglidesR
      rglides
    • RE: quick audioWaveform/Sampler question

      hmm, whilst the thumbnailRuler does now show for all played notes, the thumbnailRange behaves strangely. Visually the range seems to only apply to the first note, with it jumping back to default for any other played notes, even if those notes technically are all sharing that set range of the first note. Any ideas?

      posted in Scripting
      rglidesR
      rglides
    • RE: quick audioWaveform/Sampler question

      @d-healey ah, yep!

      posted in Scripting
      rglidesR
      rglides
    • quick audioWaveform/Sampler question

      I can set the sampleIndex for my audioWaveform component, showing the thumbnailRuler when playing a note. What if I have a sampler populated across, for example, 8 notes. is there a way to script the sampleIndex so it can cover a range rather than just one note? Would like to see the thumbnailRuler when playing any of the notes within the populated range

      posted in Scripting
      rglidesR
      rglides
    • RE: How to trigger label callback on enter/return but not on focus change?

      @Chazrox fr

      posted in Scripting
      rglidesR
      rglides
    • RE: How to trigger label callback on enter/return but not on focus change?

      @d-healey Thank you. This really should just be a core feature, it seems like basic stuff

      posted in Scripting
      rglidesR
      rglides