HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Fergler
    3. Topics
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 40
    • Groups 0

    Topics

    • F

      Content.createScreenshot takes wrong zoom scale

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      1
      0 Votes
      1 Posts
      107 Views
      No one has replied
    • F

      What do I do now - Compiling on Sonoma

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      9
      0 Votes
      9 Posts
      424 Views
      F

      @d-healey Thanks, simultaneously I just found this thread:
      https://forum.hise.audio/topic/9830/attaching-text-json-files-to-the-compiled-binary/6

      I really assumed that I could load data like this but that's ok - I will do the suggestion in there of checking for a file and falling back to a default object if not found, at least for the resets/presets code. The main data I can definitely move to a .js no problem. The main data of my entire script including samplers came from a JSON file and I was tricked into thinking it was working fine because the samplers are created at compile with the correct data, and so I figure the UI was as well. No wonder absolutely nothing has been working correctly.

    • F

      Can you add line number for error "You must specify the unique component name, not the object itself”?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      7
      0 Votes
      7 Posts
      304 Views
      F

      @d-healey

      I edited to fix completely tired misinformation etc in my post but yes I had a bunch of regs left over from misusing them and basically haven’t bothered since this is in module and UI builder code but yes I’ll change them.

      Taking a 5 month leave from working on this has not been great :D

    • F

      So many build questions - but starting with release build trying to make Au I get this error

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      5
      0 Votes
      5 Posts
      350 Views
      F

      @d-healey Indeed, that issue is now gone with a working develop build.

      It failed differently this time but I’ll do some more tests.

      Edit: it was IPP

      Build succeeded, but crashes Reaper straight to desktop. GarageBand handles it more smoothly, simply explaining that there’s going to be instability and then doesn’t load anything but a blank FX window when clicked. Progress is being made though

    • F

      What are you using for your mousecallback hover effects?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      15
      0 Votes
      15 Posts
      842 Views
      A

      This can be fixed by using Broadcaster.setEnableQueue(true); Why this would be false by default is beyond me.

    • F

      Multimic related questions

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      10
      0 Votes
      10 Posts
      449 Views
      d.healeyD

      @Fergler

      You can fade notes in/out using scripting (you are right that you don't want to be changing sample properties in real time).

      What do you want individual envelope control over? Is it one envelope per drum?

    • F

      applyMask behaves differently at different UI scales

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      16
      0 Votes
      16 Posts
      2k Views
      A

      @Fergler that mask is one of the final bosses of HISE UI stuff

    • F

      fillRoundedRectangle cornerData JSON obj formatting ?

      Watching Ignoring Scheduled Pinned Locked Moved Documentation
      4
      0 Votes
      4 Posts
      616 Views
      F

      @d-healey Thank you! I’ve added it to a list of things I’ll push request to the documentation github

    • F

      What filetypes and channel sizes are supported?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      6
      0 Votes
      6 Posts
      465 Views
      F

      @d-healey

      It’s achieved; I’m loading samples based on their tokens and creating a module structure. Right now I’m only loading one mic (OH_M) and there are 6 other mic positions to load later with multimic. I should probably investigate doing it manually and exporting the sample map to see how it is represented there, if it is.

      const var dataObj = Engine.loadFromJSON("../ArticulationData.json"); include("UI.js"); function createModule(type, name, parent) { if (type.toLowerCase() == "sampler") { var type = builder.SoundGenerators.StreamingSampler; } else { var type = builder.SoundGenerators.SynthChain; } var module = builder.create(type, name, parent, builder.ChainIndexes.Direct); return module; } function createSampleObj(fName, note1, note2, loVel, hiVel, RRGroup /*(j+1)*/ , Duplicate /*0*/ ) { var obj = { FileName: fName, Root: note1, LoKey: note1, HiKey: note1, LoVel: loVel, HiVel: hiVel, RRGroup: RRGroup, Duplicate: Duplicate }; return obj } var builder = Synth.createBuilder(); builder.clear(); var sampleMap = []; var stopper = 0; for (group in dataObj) { stopper++; var groupSampler = createModule("Sampler", group, 0); include("SetSamplerAttributes.js"); sampleMap = []; for (hit in dataObj[group]) { var rrGroups = dataObj[group][hit].RRGroups; var rrSize = dataObj[group][hit].RRSize; var Layers = dataObj[group][hit].Layers; var note1 = dataObj[group][hit].Note1; var note2 = dataObj[group][hit].Note2; var count = 0; for (i = 0; i < rrGroups; i++) { // for each rrGroup for (j = 0; j < rrSize && count < Layers; j++) { count++; include("SampleSortConsolePrint.js"); var fName = "{PROJECT_FOLDER}" + group + "-" + hit + "-OH_M-" + count + ".wav"; include("VelocityMath.js"); var obj = createSampleObj(fName, note1, note2, loVel, hiVel, (j+1), 0); sampleMap.push(obj); if (count == Layers) { // only saves complete sample sets until overflow logic is complete //Console.print("test"); Engine.dumpAsJSON(sampleMap, group + ".json"); } } Synth.getSampler(group).loadSampleMapFromJSON(sampleMap); } } if (stopper > 4) break // Let's take it slow } builder.flush();

      Working good!