HISE Logo Forum
    • Categories
    • Register
    • Login

    Libraries > Core

    Scheduled Pinned Locked Moved General Questions
    24 Posts 7 Posters 1.1k 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.
    • d.healeyD
      d.healey @hisefilo
      last edited by

      @hisefilo I've never tried it, let me know how it goes.

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

      hisefiloH 1 Reply Last reply Reply Quote 0
      • hisefiloH
        hisefilo @d.healey
        last edited by

        @d-healey any idea what C++ file contains the "core" libraries? I mean where can I see the C++ code for i.e. ("additive_synth")

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

          Start here - https://github.com/christophhart/HISE/blob/master/hi_scripting/scripting/api/DspFactory.cpp

          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 @hisefilo
            last edited by

            @hisefilo this is as far as I ever got - it makes an additive synth but I cant make it make a noise --- so I could (Very likely) be barking up the wrong tree...

            Content.makeFrontInterface(600, 500);
            
            const var core = Libraries.load("core");
            const var aasyn = core.createModule("additive_synth");
            
            
            function prepareToPlay(sampleRate, blockSize)
            {
                aasyn.prepareToPlay(sampleRate, blockSize);
            }
            
            function processBlock(channels)
            {
                aasyn >> channels[0];
            	aasyn >> channels[1];
            }
            

            HISE Development for hire.
            www.channelrobot.com

            LightandSoundL hisefiloH 2 Replies Last reply Reply Quote 0
            • LightandSoundL
              LightandSound @Lindon
              last edited by

              @Lindon Check out the JUCE tutorials, they'll help make everything clear when it comes to a lot of hise.

              hisefiloH LindonL 2 Replies Last reply Reply Quote 0
              • hisefiloH
                hisefilo @Lindon
                last edited by

                @Lindon thanks mate!!! this is for ScriptFX or what module??

                LindonL 1 Reply Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @LightandSound
                  last edited by

                  @LightandSound The Audio Programmer search for :)

                  LightandSoundL 1 Reply Last reply Reply Quote 0
                  • LightandSoundL
                    LightandSound @hisefilo
                    last edited by

                    @hisefilo I think learning how to read the JUCE api is far more valuable than any of the videos - I did check some out at the start, but I didn't find them too helpful, I knew C++ (a bit) I just needed to get used to using the API, once you understand the API and the practises in JUCE (there's a lot of things in JUCE that effectively replace "standard" practise C++ things, even down to some specific pointers and Arrays not being C++ arrays), so once you can just look at a class on the API and know how to implement it you'll feel a lot more comfortable.

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

                      @LightandSound thanks - if I ever get the time I will...

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @hisefilo said in Libraries > Core:

                        @Lindon thanks mate!!! this is for ScriptFX or what module??

                        Well I put it in a Script Processor - but really - who knows where it should go...

                        HISE Development for hire.
                        www.channelrobot.com

                        hisefiloH 1 Reply Last reply Reply Quote 0
                        • hisefiloH
                          hisefilo @Lindon
                          last edited by

                          @Lindon I pasted it into Scriptnode Synth >> FX >> Script FX and using sine instead lf additive_synth and is doing weird noises...... LOL

                          mute or -99db your audio before

                          HiseSnippet 1118.3oc2XE0aaaCDlxNJHVqYXcqOzGEB1CN.cFRYcqEvXco1wYyXwIFwYEEanHfQ5rMQjIEHocq2P+OteJ688vFojrkbifirSR6Z0Sh2wS9iGuuu6R5xYdfPv3HiJmMMDPF2yr2TpbXygXBE09.jwma1AKj.2N1TiogXg.7QFFk+IsAiJafhd96erAN.S8fTSHzKXDO3HxHhL0Z28+ERPvgXe3LxnL69w621iQaxBXiU3oroCJD6cId.bLVusRlHiMa4SjLdOIVBBjwFMX9S6Mj8ZZ79eAQPtH.zKbQ8TenXyGxB70HV+Np4PRfe2YmaABYX1MMKTNNK7.yNDexb6oYiuHxgcZDYyGFkVF7bud34lG7Lx.uMhg28M64wI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bYXzhhUDgHlD5+3+ztoC```
                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @hisefilo
                            last edited by Lindon

                            @hisefilo Ok I will take a look - but I just tried it in a script FX slot assigning the relevent bits of function to the correct spot - onPrepareToPlay etc. - and yes it made strange sorta additive constant noise - I tried turning on the osc scope and HISE crashed - LOL...

                            OK tried your version - so a different strange (still not very pleasant) noise when you say sine not additive_synth - and less controllable from the interface...

                            HISE Development for hire.
                            www.channelrobot.com

                            hisefiloH 1 Reply Last reply Reply Quote 0
                            • hisefiloH
                              hisefilo @Lindon
                              last edited by

                              @Lindon well this is something

                              Screen Shot 2020-06-29 at 12.31.39.png . like a surprise box

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

                                @hisefilo yeah but try saying this and the noise gets nicer...

                                function processBlock(channels)
                                {
                                    aasyn >> channels[0];
                                	//aasyn >> channels[1];
                                }
                                

                                HISE Development for hire.
                                www.channelrobot.com

                                1 Reply Last reply Reply Quote 0
                                • lalalandsynthL
                                  lalalandsynth
                                  last edited by

                                  Is this for accessing the core Juce modules ?

                                  https://lalalandaudio.com/

                                  https://lalalandsynth.com/

                                  https://www.facebook.com/lalalandsynth

                                  https://www.facebook.com/lalalandsynth

                                  hisefiloH 1 Reply Last reply Reply Quote 0
                                  • hisefiloH
                                    hisefilo @lalalandsynth
                                    last edited by

                                    @lalalandsynth I dont know yet LOL. The core library just shows 14 modules listed on my first post

                                    1 Reply Last reply Reply Quote 0
                                    • Christoph HartC
                                      Christoph Hart
                                      last edited by

                                      @lalalandsynth said in Libraries > Core:

                                      Is this for accessing the core Juce modules

                                      Nope, it's just a collection of (very) basic DSP modules.

                                      However I wouldn't spend too much energy on this system, it's most likely to be replaced entirely by scriptnode (and even if it stays in the codebase, the support will be minimal).

                                      Most of the modules have a very limited usability in real world applications (I wrote most of them as proof of concept for the API, but since this approach never really took off, it's not worth trying to figure out how many parameters there are and what they do).

                                      hisefiloH 1 Reply Last reply Reply Quote 2
                                      • hisefiloH
                                        hisefilo @Christoph Hart
                                        last edited by hisefilo

                                        @Christoph-Hart mmmmm. you just killed my hope!!

                                        I know Hise 3 will have scriptnode and snex. Meanwhile:
                                        Whats's the recommendation to create a sinewave bank (for stacking upto 256 or 512 sinewaves) allowing to modulate for each, freq phase amplitude and envelope (frame based, or table based)?

                                        1 Reply Last reply Reply Quote 0
                                        • Christoph HartC
                                          Christoph Hart
                                          last edited by

                                          What's "frame-based"?

                                          TBH, a performance-critical module like a 512-voice additive synthesiser has to be coded in raw C++, with some low-level SSE accelerations in order to be competitive enough for a commercial-grade product.

                                          hisefiloH 1 Reply Last reply Reply Quote 1
                                          • hisefiloH
                                            hisefilo @Christoph Hart
                                            last edited by

                                            @Christoph-Hart frame based was to say an amplitude value for each frame.

                                            I see. mmmmmmmmm. To low level for me.

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

                                            57

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts