HISE Logo Forum
    • Categories
    • Register
    • Login

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

    Scheduled Pinned Locked Moved General Questions
    19 Posts 4 Posters 134 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Lurch
      last edited by

      Hi again,

      Don't know whether this goes under scriptnode or general - move it around as required!

      Trying to get a better understanding of using the compiler and DSP etc in HISE, I played with Faust and got some great results - next up is C++. I found the Mutable Instruments stuff online and figured I'd have a play as it's open source (awesome by the way).
      I dropped the reverb.h file from the Clouds folder (link below) into my 'DSP Networks/third party' folder, moved the items listed as #include into the same folder, and into Additionalsourcecode and tried to compile in HISE. This failed at 50% with unknown error, so I opened the producer project and fired it up in Xcode to see what errors are being thrown.
      It can't find one of the files, but the file is there at the specified path.
      It's looking for /stmlib/stmlib.h in the source folder, it's there, but it's erroring saying it can't find it.

      Any ideas? I really want to wrap my head around compiling DLLs in Hise because every time I touch the DLL compiler it fails and I loose a day troubleshooting.

      Links to the structure/github I'm talking about:

      Link Preview Image
      eurorack/clouds at master · pichenettes/eurorack

      Eurorack modules. Contribute to pichenettes/eurorack development by creating an account on GitHub.

      favicon

      GitHub (github.com)

      Link to the stmlib file:
      https://github.com/pichenettes/stmlib/tree/e3bd7c9cc00e4364166f9905c0509b6ffd0535ec

      Build readout from HISE:

      > Create files
      > Sorting include dependencies
      > Copying third party files
      > Compiling dll plugin
      Re-saving file: /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/AutogeneratedProject.jucer
      Finished saving: Visual Studio 2022
      Finished saving: Xcode (macOS)
      Finished saving: Linux Makefile
      Compiling Abyss ...
      /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/batchCompileOSX.sh: line 9: /Volumes/RHR Audio/HISE/tools/Projucer/xcbeautify: Bad CPU type in executable
      ** BUILD FAILED **
      
      
      	CompileC /Volumes/RHR\ Audio/Development/Clouds\ Test/DspNetworks/Binaries/Builds/MacOSX/build/Abyss.build/Release/Abyss\ -\ Dynamic\ Library.build/Objects-normal/x86_64/Main.o /Volumes/RHR\ Audio/Development/Clouds\ Test/DspNetworks/Binaries/Source/Main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Abyss - Dynamic Library' from project 'Abyss')
      
      

      Build error in Xcode:

      /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/ThirdParty/clouds/dsp/fx/fx_engine.h:34:10 'stmlib/stmlib.h' file not found
      
      

      Hise build 4.1 commit 03c420c1

      Help me Obi-Wan Scriptnodi, you're my only hope.

      L 1 Reply Last reply Reply Quote 0
      • L
        Lurch @Lurch
        last edited by

        @Lurch Forgot to mention, I've read all the C++ docs! I may have missed something though, so apologies if that's the case.

        1 Reply Last reply Reply Quote 0
        • O
          Orvillain
          last edited by

          stmlib is a library for Mutable DSP operations. I don't believe it is intended for desktop use.

          Your error seems to be "Bad CPU type in executable" - which would back that up. You'd need to port the code over, not just import the library.

          (I think!)

          L 1 Reply Last reply Reply Quote 1
          • L
            Lurch @Orvillain
            last edited by Lurch

            @Orvillain

            xcbeautify: Bad CPU type in executable
            

            refers to the 'make Xcode code pretty' module I think, I always get that error but it never stops compiling luckily.
            Bummer we can't use these then, they're open source and MIT licensed, and maths notoriously great!

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Lurch
              last edited by

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

              xcbeautify: Bad CPU type in executable

              This is because Christoph included the wrong build of xcbeautify with the HISE source code - and it still hasn't been resolved! I keep hitting this too.

              Follow instructions here - https://forum.hise.audio/topic/12653/bad-cpu-type-in-executable/5?_=1750006030194

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              L 1 Reply Last reply Reply Quote 0
              • L
                Lurch @d.healey
                last edited by

                @d-healey fixed this now, thanks d.healey - I still can’t compile dlls/dylibs on macOS at all. I built a totally different scriptnode project, still fails at 50%. Opening the projuicer file and then Xcode, I can see it’s full of errors but I have no idea where to look to fix this.
                If I post a snippet will it include the scriptnode data?
                Will post the errors when I’m home

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Lurch
                  last edited by

                  @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

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Lurch @d.healey
                    last edited by

                    @d-healey Okie doke - here's my snippet

                    HiseSnippet 10953.3oc68szbbjblXM.YARz7wvYFtVJbrVtD7tSzfrml0i9IoFwFf.fDZvKA.xYFQOBSgtyt6Rr6pZUU03wLwnPVgOr+.rOna5fu3KN1C9xdZY3aNh8fiPGbD9jTD6kM7k43dy96Ky5QVUWU2EZzjyL1MjFBT4iu76c98kUlYQNygXzjz7HaC898INYxL2U1yxrAw11zJybYO779jLycSgCN2voyS5noajYy0vBdRWyAMsOjX6jY0y6qYaSZlYt4txSwVL2hWMC8mu4wqp0UynAInnLYdgodCxV58zcBJcu5erd2tan0jbndOtVWr9lMLMdhILX.1bEAoL80Z7Js1jczvlMuPlmoY2Iyb2SnjhZihMqzTQoTsxMzJSp0RqUKY0lEKVtZMY0ZZEqVlHUJybKrdScGSqCbzbH1Yl6pqZ177C5XdpAa.dgts9wcI3CxYN.FYVwaX1sIRhXoYdRG8tM8YS1.SSfiocEFS6tBaq2T2u7.l2cnUHFzCdF3byGF8tRHzSlG8j3PuXPo43PoqxPo2U3fFV58cBpAwmaHrogCwpkFHm3QEVayL+GlU3IlPKLbJzS6UjMrfG76QthRR4EKKIs7ixpazn6fljbK8KLM68LMilcIVE9U1KAUkcci15FjBcM0ZtAz+UryszWs2969yV+IGdzF6t0Zqu+Wika+fU0reEw5DPcf7g6SZOnqlUAGmVKkWb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PKmmxDVli1.V9GQKLOkzyS6i6.iO.hJ1v6Jy2ZycVek8Ohl4xd6t0JGt4t6bDnHrxpastXphOiF0nnqHWjJO6ReSrhgtmRwVBH2CEOU6DB3ptGNMHsqnZBDNZSBDLJL82wmKRIxiXxy7LxfQBtT.n3.P6LQ.Z9yt5CMIwexGIh9EQf.vF3gny9VcM0nKxJD7f1C8v2b7rpPiguha1rgznySc.zMDsk6bo7mKmu4xYYpJgToOSxUY.L0Di7Cv.8alrWytOK9gE4proHT4Ye3YbVEmifkGsjvdw0mykiz.4HMHBMbhT9Sjy2.otSjtWN4Orwx2+D460Hj5xFaBAPr4AT0Dw2LQmZYNvgLvJmFjSBXDjWDLEHHVwJPiVlFsX3egfTx1m8ZIGXiyTjmN2F55lAGz710SUdwD+Cvr+mBICUnYiigd+JLzgbJnKcWXSg7Q.n.6c3Ofl6OnfWfb2KmWbVKuLLuWJZzixlIyPYX9ttYXReIegSv7+zbBdQsa6zj1L+P2CvQH9xb5PTt4EOA2jub5iz+5qD8E9z5EQ0J5DLMIEroIyjam7t1s.G1QuGgN8Bf5T7NP8aG2eyzYU9kx0.saNutHDD4CDMjx1KG.FbOrm8m+Ramy6Rd3qLLOFBIEWfe3efHSKHurajlr6pCNXSwJwPvlh4I.SQV.N3wPhFzbD35CVJAFFr9wNGBfrWF.CGefLGx80OJFQ5ccEod2wYgjpy8+DOVwP15DQr0hK8kPq1mbxFqsyRXzarpv8AM5gaIXn3JVi9ZjDW5ms6A4gLMNARZg57b+s4ZTShM8MUQ6OcKUeLTVOSQs98gnlciCWC6J7GeAN9GYQN4nVMM9hB.bxlBktl8Jz1hbdGytjiPXip1+eQDR7t5
                    

                    Here's the errors I'm seeing in Xcode after compilation of the DLLs fails in HISE -

                    Downpour - Dynamic Library
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Builds/MacOSX/Downpour.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.5.99.
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:72:46 No member named 'Clouds' in namespace 'project'
                    
                    in file included from /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Main.cpp:8:
                    in file included from /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/includes.h:17:
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:72:56 Expected ';' after alias declaration
                    
                    in file included from /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Main.cpp:8:
                    in file included from /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/includes.h:17:
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:73:50 Use of undeclared identifier 'NV'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:73:53 Expected unqualified-id
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:77:39 No template named 'wet_path_t'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:79:39 No template named 'wet_path_t'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:83:50 Use of undeclared identifier 'wet_path_t'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:84:52 Expected ';' after alias declaration
                    
                    in file included from /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Main.cpp:8:
                    in file included from /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/includes.h:17:
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:85:49 Use of undeclared identifier 'NV'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:85:52 Expected unqualified-id
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:120:51 Use of undeclared identifier 'dry_wet1_t'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:121:52 Expected ';' after alias declaration
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:122:49 Use of undeclared identifier 'NV'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:122:52 Expected unqualified-id
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:127:37 Use of undeclared identifier 'wet_path6_t'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:158:38 Use of undeclared identifier 'dry_wet5_t'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:159:52 Expected ';' after alias declaration
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:160:49 Use of undeclared identifier 'NV'
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:160:52 Expected unqualified-id
                    
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Main.cpp
                    /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Main.cpp too many errors emitted, stopping now
                    
                    
                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @Lurch
                      last edited by

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

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Lurch @d.healey
                        last edited by

                        @d-healey I'm working primarily on Mac, haven't looked at this in windows yet - do I need to compile this on windows first and then macOS?

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @Lurch
                          last edited by

                          @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?

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            Lurch @d.healey
                            last edited by

                            @d-healey That worked - I've then moved clouds.dsp (my Faust granulator) into the Code Library/Faust folder, opened it in a scriptfx, compiled again and that was also successful. Clouds.h is what's throwing all these errors in the main project, so I reopened the main project, cleaned the build directory (deleted all the .h files etc) and then did compile DSP Networks as DLL again.

                            Same error, still tripping up on it's newly build Clouds.h file -

                            Downpour - Dynamic Library
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Builds/MacOSX/Downpour.xcodeproj The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 15.5.99.
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:72:46 No member named 'Clouds' in namespace 'project'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:72:56 Expected ';' after alias declaration
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:73:50 Use of undeclared identifier 'NV'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:73:53 Expected unqualified-id
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:77:39 No template named 'wet_path_t'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:79:39 No template named 'wet_path_t'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:83:50 Use of undeclared identifier 'wet_path_t'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:84:52 Expected ';' after alias declaration
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:85:49 Use of undeclared identifier 'NV'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:85:52 Expected unqualified-id
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:120:51 Use of undeclared identifier 'dry_wet1_t'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:121:52 Expected ';' after alias declaration
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:122:49 Use of undeclared identifier 'NV'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:122:52 Expected unqualified-id
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:127:37 Use of undeclared identifier 'wet_path6_t'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:158:38 Use of undeclared identifier 'dry_wet5_t'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:159:52 Expected ';' after alias declaration
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:160:49 Use of undeclared identifier 'NV'
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Clouds.h:160:52 Expected unqualified-id
                            
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Main.cpp
                            /Volumes/RHR Audio/Development/Clouds Test/DspNetworks/Binaries/Source/Main.cpp too many errors emitted, stopping now
                            
                            
                            d.healeyD 1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey @Lurch
                              last edited by

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

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                Lurch @d.healey
                                last edited by

                                @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)));
                                
                                
                                d.healeyD LindonL 2 Replies Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @Lurch
                                  last edited by

                                  @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.

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    Lurch @d.healey
                                    last edited by

                                    @d-healey It compiles fine in HISE, what further debug steps can I take in HISE to see the issues?

                                    d.healeyD 1 Reply Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @Lurch
                                      last edited by

                                      @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.

                                      Libre Wave - Freedom respecting instruments and effects
                                      My Patreon - HISE tutorials
                                      YouTube Channel - Public HISE tutorials

                                      1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @Lurch
                                        last edited by

                                        @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 ???

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          Lurch @Lindon
                                          last edited by

                                          @Lindon It's one of the Faust standard libraries, it'll be in my Faust directory - other Faust work I've done has referenced stdfaust.lib and I've never had to include that in source or anything, even in the project as a whole?

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          32

                                          Online

                                          1.8k

                                          Users

                                          11.9k

                                          Topics

                                          104.0k

                                          Posts