• Get and Set Favorite for Current Preset

    3
    0 Votes
    3 Posts
    367 Views
    Casey KolbC

    @ustk Yeah I considered this. It looks like Christoph is doing some fancy stuff with the database but I guess it wouldn't be too difficult to make my own. However, my current users will lose their favorites if I use my own system, so it'd be great to stick with the built-in HISE one.

  • Preset Browser Tagging System with Custom UI

    7
    0 Votes
    7 Posts
    821 Views
    Casey KolbC

    I figured out how to hook it up with the API system in order to get and set tags from presets, so all good!

  • Getting started building with hise and C++

    6
    0 Votes
    6 Posts
    663 Views
    ospfeigrpO

    @Christoph-Hart and @hisefilo thanks for that i'll check it out but seems to be what i am looking for.

  • Synth.addNote bug on C++

    1
    0 Votes
    1 Posts
    175 Views
    No one has replied
  • C++ API: How to connect Intensity to a Slider?

    20
    0 Votes
    20 Posts
    2k Views
    hisefiloH

    @Christoph-Hart
    cannot get it working. Compiles, runs but onController never gets executed.

    This is what I did:
    Changed HardcodedMidiProcessor to HardcodedScriptProcessor because does not exist.
    Changed Modulator for LfoModulator since Modulator does not have setIntensity

    class IntensityForwarder: public hise::HardcodedScriptProcessor { public: /** Set the name and default ID of the processor. */ SET_PROCESSOR_NAME("IntensityForwarder", "IntensityForwarder", "IntensityForwarder"); IntensityForwarder(MainController* mc, const String& id, const String& modId): HardcodedScriptProcessor(mc, id, mc->getMainSynthChain()) { modToUse = dynamic_cast<LfoModulator*>(ProcessorHelpers::getFirstProcessorWithName(mc->getMainSynthChain(), modId)); jassert(modToUse != nullptr); // Add one slider that will forward the value to the intensity. Content.addKnob("modIntensity", 100, 100); } // add all callbacks void onControl(var c, var value) { std::cout << "on Control" << std::endl; modToUse->setIntensity((float)value); } private: WeakReference<LfoModulator> modToUse; JUCE_DECLARE_WEAK_REFERENCEABLE(IntensityForwarder); };

    then I had to build it using add, instead of create

    builder.add<IntensityForwarder>(new IntensityForwarder(mc, "IntensityForwarder1", "LfoGain"), mc->getMainSynthChain(), raw::IDs::Chains::Midi);

    and lately conected it using this:

    sliderForwarder.connect("IntensityForwarder1"); template <int ParameterIndex> class StrippedSlider : public hise::HiSlider, public ControlledObject { public: StrippedSlider(MainController* mc, const String& name) : HiSlider(name), ControlledObject(mc) { raw::Pool pool(mc, true); // flaf.setFilmstripImage(pool.loadImage("Strip.png"), 100); flaf.setFilmstripImage(pool.loadImage("StripBigNew.png"), 64); flaf.setScaleFactor(0.3); setName(name); setSliderStyle(Slider::RotaryHorizontalVerticalDrag); setLookAndFeel(&flaf); setTextBoxStyle(Slider::NoTextBox, false, 0, 0); } ~StrippedSlider() { connection = nullptr; } void connect(const String& id) { auto p = ProcessorHelpers::getFirstProcessorWithName(getMainController()->getMainSynthChain(), id); setup(p, ParameterIndex, Slider::getName()); connection = new raw::UIConnection::Slider<ParameterIndex>(this, getMainController(), id); setLookAndFeel(&flaf); } bool tempoSyncMode = false; FilmstripLookAndFeel flaf; ScopedPointer<raw::UIConnection::Slider<ParameterIndex>> connection;
  • How to add a Container on raw C++ API?

    3
    1 Votes
    3 Posts
    353 Views
    hisefiloH

    @Christoph-Hart was trying like that but using mainSynthChain instead of modulator. Thanks a lot Christoph

  • Broken Preset Browser on VCSL example (C++ API)

    3
    0 Votes
    3 Posts
    318 Views
    hisefiloH

    @Christoph-Hart that worked!!!!!!! Do u have all of your codebase in your head??? Man u are a genius

  • C++ API - Pitch Chain

    13
    0 Votes
    13 Posts
    990 Views
    ulrikU

    @hisefilo Sounds great, well done! :)

  • rlottie GNU/Linux support

    4
    0 Votes
    4 Posts
    452 Views
    ustkU

    @d-healey Linux still have a future 😛

  • Raw plugin parameters, automation, and macros

    1
    0 Votes
    1 Posts
    317 Views
    No one has replied
  • Custom LookAndFeel drawRotarySlider need C++ help...

    10
    1 Votes
    10 Posts
    960 Views
    NatanN

    @ustk Sir, Is This Ready To Use?
    Any Examples Is Much Appreciated

  • UIConnection and Parameter Watcher style binding for Macros

    2
    0 Votes
    2 Posts
    394 Views
    O

    UPDATE: I added a new method to MacroConnectionListener virtual void macroLoadedFromValueTree(int macroIndex, float value){} which I call when a new value tree is loaded for the macros. My custom component calls setMacroControl on the sliderValueChanged callback, and updates the slider value on the macroLoadedFromValueTree callback.

    To watch the parameter, I search for the first parameter for that macro index and set up a parameter watcher, converting the NormalisableRange to a linear 0 to 1 value in the callback.

    Since parameters can change with every preset, I set that parameter watcher up at the same time macroLoadedFromValueTree is called making sure to dispatch to the MessageManager for any repaints.

    It's not as convenient as a UIConnection class, but it works.

  • RAW FloatingTile & Listener from Connection instead of sliderValueChanged

    2
    0 Votes
    2 Posts
    288 Views
    ustkU

    @ustk I'd like to do this ideally from a DSP parameter with a unidirectional connection... Or better, is there a way to make a connection directly from a core.peak node, that would be killer :)

    EDIT: I just realized that for my needs I will still need a timer, so it's not advantageous compared to drawing with Hise script...

  • Cubeapi

    2
    0 Votes
    2 Posts
    275 Views
    Casey KolbC

    Please ignore this, I made a bad pull request which included other changes you don't need. The pull request should be closed now.

  • Plot (or something else) for C++ API

    7
    0 Votes
    7 Posts
    501 Views
    hisefiloH

    @Christoph-Hart will try it!!

  • Pitch detector/auto-tune algorithm

    6
    0 Votes
    6 Posts
    599 Views
    Y

    @d-healey Yes of course. but it is so lacking in hise that I would like to see it everywhere ^^

  • RAW Panel

    8
    0 Votes
    8 Posts
    654 Views
    ustkU

    @Christoph-Hart Ok so I went a bit further by using the parameter index only:

    hise::raw::UIConnection::Slider<0> lfoConnection;

    But the slider is updating only when changing the frequency parameter of the DSP:

    rawtest.gif

    I don't know if it's related but there's no unidirectional connection yet (I'm struggling with that too 🙄 )

    EDIT:
    the finality would be to draw anything in the panel base on the listened value. But since the UIConnection offers Slider and buttons like component only (I tried a VuMeter but creating my own class is too hard), I have no idea how to simply paint in the panel based on a unidirectional value without a concrete example to be honest...

  • Expansion User Presets

    60
    0 Votes
    60 Posts
    5k Views
    A

    @coreyu21 oh i cant wait for this

  • Filter Chain FX C++ API

    1
    0 Votes
    1 Posts
    212 Views
    No one has replied
  • Synth.isNote(eventID)

    25
    0 Votes
    25 Posts
    2k Views
    ?

    @d-healey many ways yes!

24

Online

1.8k

Users

12.1k

Topics

105.6k

Posts