administrators

Private

Posts

  • RE: Matrix modulator for filter cutoff modulation
    1. Put it in the normal frequency chain
    2. Use either the FilterFreq or FilterFreq Logarithmic preset (Click on edit range, then preset)
    3. Make sure the frequency parameter of the filter is set to 20kHz.
    4. Connect you UI knob to the value parameter (or use the matrix target id). I'm always using the connection wizard, this way it also automatically sets the knob range & suffixes correctly.
    HiseSnippet 1555.3oc2Y07aaTDEe1jrsMAnhTJsEjPZOfDsnBJ14i1.Gxl57kUaZbxllh3.US1cb7nt6LKyNavtHjPbhSbqG3D+G.hibh9m.Rb.NVtvEjPbFIT4M6t1dVaWGW2zzO7gncdyal2u488Lohf6Rhh3BjwDa2HjfLdYSmFLYsR0vTFp7RHiSZtNNRRDVojtRiPbTDwCYXL5pJBFiOFJ42+rvUv9XlKoMIDZGN0kbMZ.U1lZE6qR88WA6Q1lFnw8L1kc4rRbedLfmQMmBEhcuMdOx0wJ1FwDsFNpFx3cMms3zty3cIuhEmc94bwyQluJtZ0BS6MyLyc44KL873Yt7bjolEYbrk8nRtvQhkjHXSuB2qgSM9mwREvNzH5t9D0fBHGPxojQkpQ88pzT4DgfMpRaU0noppSatN0i1hdaU1qlLgU6UnqzLFoePpvi.jLzfzXoPZRSGWAMT1dFEddIyxLvBVEC1FcnjxKx3dlk3.CL46GfuMYEALn0BN+bSM0Esf+bgOrZLyUR4LKN65bIYC14uvDe9DiOwWLgUmSUsZOmSIFA22mH54zJ2AQ+V34YwA6RDWzZereLoEivwOuN8XClN0M8TqwHmUlQkaDRxFuB22SoqTe2sE.ko1T1hLDBrJSrDmLyR33S8HBDE1jiadUFe2BnDv2zs+2dmPazMJuDVhatMvNBRIjHjT0gwXIx9PPTpAdbykHQ2VxCS3MHjyTx2XhCTn0QFlF+.HvFpOtC7Q.0yymTgGQUJYEdFUAH6uyNPOrdF6.b8VC+5e0VRpKU9TqHHeZLg41.E1TmT1Sk.YCmRVqP8AGHH.V.wtvWkSfxNImbT29sPDC2K1GKyGFoRvjMgBh59tJGTF.8F5I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yZBsXWzJopr0SmxxGEW87nPFAXWA+VtoOdtpVxIRn.maVx+zmwg5HvXqNd0bT56WSukqa9spqEVbXW3zC6BmYXW3rC6BmaXW3kF1Ed4CdgpKmsXLTUNM1.twZkkSdFCCizKql9.B+OJbVgZC
    
    posted in General Questions
  • RE: Spectral Analyser / Ever made one?

    @Chazrox start from here:

    posted in Scripting
  • RE: Spectral Analyser / Ever made one?

    @Chazrox no need for a audio player for a simple playback you can just use Engine.playBuffer()

    posted in Scripting
  • RE: Active CPU profiling not working

    @Straticah You need to set

    HISE_INCLUDE_PROFILING_TOOLKIT=1
    

    in the projucer when compiling HISE. Have you done that? I'll probably change the default to be enabled soon, but for now I'll leave it disabled by default.

    posted in Bug Reports
  • RE: g.dropShadowFromPath got funky on macOS between May 30 and July 02

    Yeah it might be caused by the change to melatonin shadow rendering I did around that time.

    I might have introduced a silly mistake though:

    If you change this line:

    to

    p.scaleToFit(a.getX(), a.getY(), a.getWidth(), a.getHeight(), false);
    

    Does that fix the problem?

    posted in Bug Reports
  • RE: Spectral Analyser / Ever made one?

    @ustk yup offline spectrum generation can be done with the inbuilt HISE tools:

    Content.makeFrontInterface(600, 600);
    
    // Create a buffer with a second length
    const var b = Buffer.create(44100.0);
    
    // fill it up with some random signal - two sine sweeps and some noise
    reg uptime = 0.0;
    reg delta = 0.01;
    
    for(s in b)
    {
    	s = Math.sin(uptime);
    	s += 0.5 * Math.sin(uptime * 2.0);
    	s += 0.3 * Math.random();
    	
    	uptime += delta;
    	delta += 0.00003;
    }
    
    // Create the FFT object that is used to create the spectrum
    const var fft = Engine.createFFT();
    
    // Enable the spectrum generation
    fft.setEnableSpectrum2D(true);
    
    // Setup the FFT processing (FFT size & channel count)
    fft.prepare(1024, 1);
    
    // Fetch the spectrum options
    const var options = fft.getSpectrum2DParameters();
    
    // Dump that
    Console.print(trace(options));
    
    // change whatever property you want.
    options.ColourScheme = 2;
    options.Oversampling = 8;
    options.Gamma = 30;
    options.ResamplingQuality = "High";
    
    // Send it back
    fft.setSpectrum2DParameters(options);
    
    // process the buffer. This creates the spectrum
    // that can then be painted
    fft.process(b);
    
    // create a panel
    const var p = Content.addPanel("P1", 0, 0);
    
    p.set("width", 600);
    p.set("height", 600);
    
    p.setPaintRoutine(function(g)
    {
    	// This function paints the FFT spectrum on the panel
    	g.drawFFTSpectrum(fft, this.getLocalBounds(0));
    });
    
    posted in Scripting
  • RE: Crash on MacOS in compiled plugin when working with HardcodedEnvelopeModulator

    @Orvillain yeah, that's really a weird issue - I can reproduce it but also just with the release configuration + LTO - any change to the build flags stop the crash.

    I slightly rewrote the code and now it stopped crashing. I don't know why it fixes anything, but let me know if that helps.

    posted in Bug Reports
  • RE: Crash on MacOS in compiled plugin when working with HardcodedEnvelopeModulator

    @Orvillain yes, modulators are monophonic signal generators so they need to compiled with NumChannels==1. -1 indicates that something else went wrong, but it's hard to guess from here.

    Oh and I would recommend to check out a better host for testing than a full DAW (unless you specifically need to debug a certain bug that only occurs there), as this vastly accelerates the debug cycle. Check out the JUCE plugin host - you might have to build it with the VST3 SDK from source, but this is a really minimal host that you can directly launch from Xcode and if you save the plugin setup within the host, it will automatically restore it whenever you launch Xcode.

    I suppose it isn't terribly useful, but pasting here anyway.

    Looks like a release build without symbols, so yeah not much to gain from this.

    posted in Bug Reports
  • RE: ScriptEditor: better CSS styling

    @d-healey but you can do that now. Buttons are distinct elements and will pick up the css while you can style the preset browser with laf functions.

    posted in Feature Requests
  • RE: ScriptEditor: better CSS styling

    @d-healey yes you can combine CSS & laf, but just in the sense that a single LAF object can have a style sheet as well as LAF functions defined and it will pick whatever is there to render the target component. You cannot render CSS & script functions (paint routines or LAF functions) at the same time for a single component.

    Note that you can use the ::before and ::after pseudo elements to add some text so if you just want to make a background panel with a header that contains the panel name, this should be doable completely within CSS.

    posted in Feature Requests