Beta Testers

All developers participating in the HISE Betatest Program

Private

Posts

  • RE: Trying to compile C++ DSP info in HISE/load into Scriptnode

    @Lurch said in Trying to compile C++ DSP info in HISE/load into Scriptnode:

    @d-healey It's a granulator example from the Faust webpage! All works fine on the Faust IDE webpage.

    ///////////////////////////////////////////////////////////////////////////////////////////////////
    //
    // Grain Generator.
    // Another granular synthesis example.
    //
    ///////////////////////////////////////////////////////////////////////////////////////////////////
    //
    // ANALOG IN:
    // ANALOG 0	: Population: 0 = almost nothing. 1 = Full grain
    // ANALOG 1	: Depth of each grain, in ms.
    // ANALOG 2	: Position in the table = delay 
    // ANALOG 3	: Speed = pitch change of the grains
    // ANALOG 4	: Feedback
    //
    ///////////////////////////////////////////////////////////////////////////////////////////////////
    
    import("all.lib");
    
    // FOR 4 grains - MONO
    
    // UI //////////////////////////////////////////
    popul = 1 - hslider("population[BELA: ANALOG_0]", 1, 0, 1, 0.001);	// Coef 1 = maximum; 0 = almost nothing (0.95)
    taille = hslider("taille[BELA: ANALOG_1]", 250, 10, 500, 0.001 );	// Size in milliseconds
    decal = 1 - hslider("decal[BELA: ANALOG_2]",0,0,1,0.001);			// Read position compared to table write position
    
    speed = hslider("speed[BELA: ANALOG_3]", 1, 0.125, 4, 0.001);
    
    feedback = hslider("feedback[BELA: ANALOG_4]",0,0,2,0.001);	
    
    freq = 1000/taille;
    tmpTaille = taille*ma.SR/ 1000;
    clocSize = int(tmpTaille + (tmpTaille*popul*10)); // duration between 2 clicks
    
    // CLK GENERAL /////////////////////////////////
    // 4 clicks for 4 grains generators.
    // (idem clk freq/4 and a counter...)
    detect1(x) = select2 (x < 10, 0, 1);
    detect2(x) = select2 (x > clocSize*1/3, 0, 1) : select2 (x < (clocSize*1/3)+10, 0, _);
    detect3(x) = select2 (x > clocSize*2/3, 0, 1) : select2 (x < (clocSize*2/3)+10, 0, _);
    detect4(x) = select2 (x > clocSize-10, 0, 1);
    cloc = (%(_,clocSize))~(+(1)) <: (detect1: trig),(detect2: trig),(detect3: trig),(detect4: trig);
    
    // SIGNAUX Ctrls Player ////////////////////////
    trig = _<:_,mem: >;
    envelop = *(2*PI):+(PI):cos:*(0.5):+(0.5);
    
    rampe(f, t) = delta : (+ : select2(t,_,delta<0) : max(0)) ~ _ : raz
    	with {
    		raz(x) = select2 (x > 1, x, 0);
    		delta = sh(f,t)/ma.SR;
    		sh(x,t) = ba.sAndH(t,x);
    	};
    
    rampe2(speed, t) = delta : (+ : select2(t,_,delta<0) : max(0)) ~ _ 
    	with {
    		delta = sh(speed,t);
    		sh(x,t) = ba.sAndH(t,x);
    	};
    
    // RWTable //////////////////////////////////////
    unGrain(input, clk) = (linrwtable(wf , rindex) : *(0.2 * EnvGrain))
    	with {
            SR = 44100;
            buffer_sec = 1;
            size = int(SR * buffer_sec);
            init = 0.;
    
            EnvGrain = clk : (rampe(freq) : envelop);	
    
            windex = (%(_,size) ) ~ (+(1));
            posTabl = int(ba.sAndH(clk, windex));
            rindex = %(int(rampe2(speed, clk)) + posTabl + int(size * decal), size);
    
            wf = size, init, int(windex), input;
        };
    
    // LINEAR_INTERPOLATION_RWTABLE //////////////////////////////////
    // read rwtable with linear interpolation
    // wf : waveform to read (wf is defined by (size_buffer,init, windex, input))
    // x  : position to read (0 <= x < size(wf)) and float
    // nota: rwtable(size, init, windex, input, rindex)
    
    linrwtable(wf,x) = linterpolation(y0,y1,d)
        with {
            x0 = int(x);                //
            x1 = int(x+1);				//
            d  = x-x0;
            y0 = rwtable(wf,x0);		//
            y1 = rwtable(wf,x1);		//
            linterpolation(v0,v1,c) = v0*(1-c)+v1*c;
        };
    
    // FINALISATION /////////////////////////////////////////////////////////////////////////////////////
    routeur(a, b, c, d, e) = a, b, a, c, a, d, a, e;
    
    processus = _, cloc : routeur : (unGrain, unGrain, unGrain, unGrain) :> fi.dcblockerat(20);
    process = _,_: ((+(_,_) :processus) ~(*(feedback))),((+(_,_) :processus) ~(*(feedback)));
    
    

    where have you put all.lib ???

    posted in General Questions
  • RE: Trying to compile C++ DSP info in HISE/load into Scriptnode

    @Lurch said in Trying to compile C++ DSP info in HISE/load into Scriptnode:

    hat further debug steps can I take in HISE to see the issues

    I'm not sure, I haven't worked with faust in HISE. A forum search might turn up something useful.

    posted in General Questions
  • RE: Trying to compile C++ DSP info in HISE/load into Scriptnode

    @Lurch said in Trying to compile C++ DSP info in HISE/load into Scriptnode:

    It's a granulator example from the Faust webpage!

    You'll have to debug it in HISE, or perhaps someone else on the forum has already tried this in HISE and can tell you what you need to do.

    posted in General Questions
  • RE: Trying to compile C++ DSP info in HISE/load into Scriptnode

    @Lurch Yeah it's what I suspected, something on the faust side of things. Is this faust code you wrote yourself?

    posted in General Questions
  • RE: I can't compile. HISE does not see MS Build installed, IPP Installed

    @checkthelyu said in I can't compile. HISE does not see MS Build installed, IPP Installed:

    It doesn't matter to me whether it's open source or not

    If you're releasing your plugins under the GNU GPL then stick with FFTW.

    posted in Newbie League
  • RE: Trying to compile C++ DSP info in HISE/load into Scriptnode

    @Lurch said in Trying to compile C++ DSP info in HISE/load into Scriptnode:

    do I need to compile this on windows first and then macOS?

    Nope.

    @Lurch said in Trying to compile C++ DSP info in HISE/load into Scriptnode:

    I built a totally different scriptnode project, still fails at 50%

    Make a new project. Add one script fx, add a gain node to it. Save it, compile the DLL. Does it work?

    posted in General Questions
  • RE: Trying to compile C++ DSP info in HISE/load into Scriptnode

    @Lurch Did you copy the entire source folder from your Windows system to your MacOS system before compiling the dll on Mac?

    posted in General Questions
  • RE: Remake stock Phaser Module in Scriptnode

    @Christoph-Hart ok great, I'm not entirely sure where the best place to put some of the nodes are, like the minmax for example. Via my method the effect doesn't seem to be processing!

    If you have a moment could you please take a look?

    HiseSnippet 4697.3oc6c1DaiibkGmx1ze0t6o6McBxgr.BXygdRFXX9g9B4fU6u5wXZ01wxSOc1EX6vlpjEgoHUHo51NYWfA6dI2xk4RtsH2FfEA4Z18vNm1fff4RlK4Xtj.jaSNm.LoJ9kHknknzS1lbxqCPmlrXQ8p+UUu5U+dk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MKLYCa.N4va9629.5p+GZDcmGefxqIsMs552QGV8mRNi9AE8NmR51yr4kFpwVXJXiHmp0MR8eX8mZZ1aeCEZSuUzWhq.eT61zsID60PesmZ1Pwltn4t5lgiK77zelAcCkOyzgbjQz6uaea59tBZ.tabjs1o6xYE9W3KKuI8Os+1r+t1tz+R5n4y0bSQe9DFYtPJGY9Ub69C6mYCDxfNF8rxvAd2zV4Mruw64oDzMiqYPnCfoQrvDgul60EYCKK9DhAwZz4qQi+4s+3Od6Dht44lzvtdpVWsHSS5U+8zz0YSgiOYSt9gplFAzTXhyQpNzO9SsTLr6YZGORRRWsScSzQja99Te6zdsSX97hMCyTwJwhntWnMxDqSSEm9VtNOebWy9FA1ewe9S9Si3ReozMwI.yI6tSHJsE85TdHeCsVZg2O5Z2rBJNnFQ6WFdn3Roan33MuzGUAaXws+ROqEXidguuOMLac5FBBigzcGFA2M935FlFl85XZnEaIhSHz4imcFINFxjZPO1wQIpq+GV+DhNQwN1A56ozAdJVtbemMsXNErvWm2ybKxlLBJjgazgYOf+XF85zaubbW61q+j16xue61zMoNvXWhmFx40+LzahENtI9L5pnZY9R+D0vFKup6cnsaC+iNYC10EE3d8vjC5R8J9RU03upQpn3rVQoYshxyZEKMqUr7rVwJyZEqN4JxVzxOKCrorbbMNdeu3bKDFjcgE49aToCLlC
    
    posted in General Questions
  • RE: Trying to compile C++ DSP info in HISE/load into Scriptnode

    @Lurch said in Trying to compile C++ DSP info in HISE/load into Scriptnode:

    If I post a snippet will it include the scriptnode data?

    Yes

    posted in General Questions
  • RE: Remake stock Phaser Module in Scriptnode

    @DanH said in Remake stock Phaser Module in Scriptnode:

    I'd prefer to modulate the Phase Delay Frequency via a Global Modulator once the effect has been hardcoded. Is this possible with clones?

    Yes, but you need to connect the global modulator output to the clone cable's value parameter that connects to the cloned nodes, you can't directly connect this.

    Do I need to compile the network as a node and put it inside of the clone container?

    No, in fact I would recommend desigining the entire network without compiling and then compile the entire thing when it's done.

    posted in General Questions