Categories

  • General questions and announcements about HISE

    8k Topics
    71k Posts
    pcs800P

    I am not finding any recent discussions on this, so here goes.
    Can hise use an api from something like this?
    https://audiocraft.metademolab.com/musicgen.html?utm_source=copilot.com
    To generate music via prompt.

  • Scripting related questions and answers

    2k Topics
    16k Posts
    LindonL

    @JamesC yeah thats one way - but for us this algo approach wasnt quite good enough so we added a simple array of gain(dB) values that the xy pad reads to get the correct gain for its current position - and thus allowed us to have a little "bump" in the middle

  • To share HiseSnippets, Interface Elements, GUI, UI/UX, Panel LAF etc..

    195 Topics
    2k Posts
    S

    I never got a chance to try it out as a personal matter has kept me busy.
    I am just commenting to let you know that I will update you when I get a chance, & Thank you again.

  • All about ScriptNode DSP nodes, patches, SNEX and recipes.

    347 Topics
    2k Posts
    F

    @David-Healey thank you soooo muchhh 🙏

  • A subforum for discussing Faust development within HISE

    112 Topics
    893 Posts
    S

    @JulesV Then updating the Faust version inside HISE is the way to do.

  • If you need a certain feature, post it here.
    620 Topics
    5k Posts
    David HealeyD

    @Christoph-Hart I've fixed the PRs.

    https://github.com/christophhart/HISE/pull/821
    https://github.com/christophhart/HISE/pull/822

    Let me know if you have a better idea regarding handling expansions with the same names.

  • Develop better software through collaboration and shared knowledge. Not just about coding —> covering the entire journey, from development to launching and promoting plugins or software.

    131 Topics
    1k Posts
    David HealeyD

    @cemeterychips You need to recompile HISE using the version of the source that you have

  • If you encounter any bug, post it here.
    2k Topics
    12k Posts
    dannytaurusD

    @David-Healey Changing that boolean what was bold move! 😂

  • Post your example snippets that you want to add to the official HISE snippet database here. We'll revise it, upload it to the repo and delete the post when finished.

    22 Topics
    135 Posts
  • Everything related to the documentation (corrections, additions etc.) can be posted here
    70 Topics
    475 Posts
    David HealeyD

    @weezycarter make a minimal test plugin with 4 channels. Then we'll have a baseline.

  • Collection of Blog Entries

    81 Topics
    770 Posts
    David HealeyD

    Another one you might be interested in is Floe: https://floe.audio/

  • The nerdy place for discussing the C++ framework
    175 Topics
    1k Posts
    OrvillainO
    #pragma once #include <JuceHeader.h> namespace project { using namespace juce; using namespace hise; using namespace scriptnode; using namespace snex; /** Smallest possible BPM listener example. Demonstrates: - TempoListener registration - tempoChanged() callback - BPM flowing into the audio graph */ struct MinimalBPMListener : public data::base, public hise::TempoListener { SNEX_NODE(MinimalBPMListener); struct MetadataClass { SN_NODE_ID("MinimalBPMListener"); }; static constexpr bool isModNode() { return true; } static constexpr bool isPolyphonic() { return false; } static constexpr bool hasTail() { return false; } static constexpr bool isSuspendedOnSilence() { return false; } static constexpr int getFixChannelAmount() { return 1; } // --- Tempo sync --- hise::DllBoundaryTempoSyncer* tempoSyncer = nullptr; double bpm = 120.0; // Exposed modulation value double lastOut = 120.0; // --- TempoListener --- void tempoChanged(double newTempo) override { bpm = newTempo; lastOut = bpm; // make it observable } // --- Lifecycle --- void prepare(PrepareSpecs specs) { if (tempoSyncer == nullptr && specs.voiceIndex != nullptr) { tempoSyncer = specs.voiceIndex->getTempoSyncer(); if (tempoSyncer != nullptr) tempoSyncer->registerItem(this); } // Initialize output lastOut = bpm; } void reset() {} ~MinimalBPMListener() override { if (tempoSyncer != nullptr) { tempoSyncer->deregisterItem(this); tempoSyncer = nullptr; } } // --- Processing --- template <typename T> void process(T& data) { static constexpr int NumChannels = getFixChannelAmount(); auto& fixData = data.template as<ProcessData<NumChannels>>(); auto fd = fixData.toFrameData(); while (fd.next()) fd.toSpan()[0] = (float)lastOut; } int handleModulation(double& value) { value = lastOut; return 1; } void setExternalData(const ExternalData&, int) {} }; }

    This is a minimal example of how to get your custom C++ node to listen to the host BPM. Code above doesn't actually DO anything with the BPM information. But it proves the concept.

20

Online

2.1k

Users

13.1k

Topics

113.8k

Posts