• Automation slots?

    8
    0 Votes
    8 Posts
    781 Views
    Christoph HartC

    @DanH Actually this is precisely for that use case of having a fixed amount of automation slots and then reassigning them dynamically.

    The documentation of the UserPresetHandler class has some information on how to use it, but here's one example:

    const var uph = Engine.createUserPresetHandler(); // We need to implement our own preset data model when we start using // custom automation slots (because then the connection between UI element and its value is // not consistent anymore) function onPresetLoad(obj) {} function onPresetSave() { return {}; } uph.setUseCustomUserPresetModel(onPresetLoad, onPresetSave, false); // We'll define the automation model to send their values to the global cable by default const var data = [{ "ID": "Slot 1", "connections": [ { "cableId": "Slot 1" }] }]; uph.setCustomAutomation(data); // We can also attach callbacks directly to automation events inline function onAutomation(index, value) { Console.print(trace({"index": index, "value": value})); } uph.attachAutomationCallback("Slot 1", onAutomation, true);

    However it's a fairly advanced concept as it requires you to dissolve the connection between UI elements and their persistent value and implement a custom user preset model so it might be overkill for that simple use case.

  • Arp plays in key?

    25
    0 Votes
    25 Posts
    3k Views
    DanHD

    @MikeB

    SliderPack1.setSliderAtIndex(i, valuesIWant[Math.randInt(0, valuesIWant.length)]);
  • How to: Master filter with ADSR env?

    10
    0 Votes
    10 Posts
    629 Views
    D

    @d-healey ok, got ya!

  • Filter question.

    4
    0 Votes
    4 Posts
    368 Views
    Christoph HartC

    @lalalandsynth The filter coefficients used for the filter display are just approximates but the actual filter itself is using 6dB/octave.

    If you want it to reflect on the filter display, you need to change the getApproximateCoefficients() method of the OnePole class.

  • Figma to HISE?

    21
    0 Votes
    21 Posts
    2k Views
    lalalandsynthL

    Wanted to see if I could do a classic cheat and just move the little green indicator rather then the whole knob graphic, seems to work nicely if you set the export up right.
    prog.gif

  • Can someone clarify the AU format?

    1
    0 Votes
    1 Posts
    246 Views
    No one has replied
  • Change the order of the containers in a network

    Unsolved
    1
    0 Votes
    1 Posts
    238 Views
    No one has replied
  • UI/Graphics Forum Category.

    1
    1 Votes
    1 Posts
    244 Views
    No one has replied
  • Zip - unzip problem....

    7
    0 Votes
    7 Posts
    212 Views
    LindonL

    @Lindon said in Zip - unzip problem....:

    @d-healey said in Zip - unzip problem....:

    @Lindon Oh yeah, if they're over 2GB you might have issues. I've never tried with files that large.

    trying now...

    Ok so this WAS the issue - redoing the zips as 1.5GB each and they unzip correctly....

  • CLOCK SYNC LFO

    7
    0 Votes
    7 Posts
    336 Views
    DanHD

    @lalalandsynth ok I see what you mean

  • Compilation vst problem

    2
    0 Votes
    2 Posts
    97 Views
    Y

    I just copied the .cpp file from an older developed hise and pasted it into the latest hise commit. it worked without error

  • Spectrum ballistic (display buffer)

    Unsolved
    52
    1 Votes
    52 Posts
    6k Views
    ustkU

    @Christoph-Hart Apparently this isn't even related to the buffer, but to the oscillators that don't like to be stacked... Muting the last oscillator in the chain made the strangeness disappear... False alert confirmed? 🙄

  • Why use HISE and not JUCE directly?

    7
    0 Votes
    7 Posts
    2k Views
    Christoph HartC

    @observantsound well every single line of code in HISE prepares something for you that would be difficult to achieve in JUCE so just pick whatever feature set you will use in HISE.

  • Happy new Year 2023

    1
    6 Votes
    1 Posts
    418 Views
    No one has replied
  • Audio waveform loader

    4
    0 Votes
    4 Posts
    568 Views
    Christoph HartC

    @Brian just use the processorId of the sampler module then the sampleIndex property will determine which sample to show (and -1 will show the most recently played sample).

  • FileSystem.findFiles(var directory, String wildcard, bool recursive)

    24
    2 Votes
    24 Posts
    3k Views
    LindonL

    @Christoph-Hart said in FileSystem.findFiles(var directory, String wildcard, bool recursive):

    From now on you will be addressed as Sir David Healey, Slayer of Hydra Tabs and Reader of the Manual.

    ..and Custodian of the T-Shirts

    Dont forget that...

  • Simple multiplex style switched routing?

    10
    0 Votes
    10 Posts
    1k Views
    Christoph HartC

    @lalalandsynth Works:

    e8a1aa68-797e-43b7-b935-5347d6e1a2b3-image.png

  • Audio Loop Player Script

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    VorosMusicV

    @iamlamprey Thank you for your help!
    I don't know why. I redid some other elements of my code and suddenly it worked.
    So yes for now its working properly in Hise itself.

  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    24 Views
  • With love...

    5
    12 Votes
    5 Posts
    1k Views
    Matt_SFM

    @ulrik haha you're awesome! Happy New year's eve, seen you next year! 🥳

33

Online

2.0k

Users

12.9k

Topics

111.7k

Posts