Libraries > Core



  • Hi guys, anyone knows how to use this core dsp libraries included in Hise? Or where can I get some xamples?

    Screen Shot 2020-06-29 at 09.55.20.png

    HiseSnippet 726.3ocsUE1aSCCD0tqFQiXRLA+.r1mZ0fpFXvPZfXascnJV2pniIjPnIOG2UqkZG43LnZZ+m4e.bNIqIkUllpzxWZu2cmy6N+tKCLZtHNVaP3ZGOMRfvOgLbpxNt8XlTg50AgeDwZl5i1aZDKNVDfv3U9jyGtVUT5yu+3drPlhKJfPnSzRt3.4Dos.cvNeVFFtOKPbrbRon2bmdbspsNTm.7XERKTDieA6bwgLWXUH.I5FHsZyPKyJhQ3p6oClNbr9mpr3OQFKOKT3L7QCgCJCdecXfiwNTT6wxvfA2TuwH3TFTT8qjU8OmzWFHmgWzEdZpCZQFk6G3J2E87KSuV2e5gKQupYzaMxPtQFYK7331yxQKX27WWYdQU1ESf9brkdIyPChiZqMB5GnGHOyvLRQbyPMKn95b.d8FaupWQvLHLe.YUOmkKfcMF.K+PZdtv1WGjDB23w15MRibj1PqKgfZsMUReO0eS32M1nA8JOJsMbz5PQyHiTYqmefeW9iFa6cMjZhhakZEUqNTaEGop2v6JuZdW6Q+WWiFsPev4aM5vPgYgtc5OyckXcUxjyDlW.UeXhXVfvEw72zd++a5xBQnSZEJao.0pdJo8nHwL6rJ8FjVnYEXYnh5pLZZ4rfvJfts7B0NiSv+9ZuNLKyo3xwf3hDFqzUg3NhKgQ4L8WMRGQ7EVcDLLeKwILh3z.L67yMtkE4NfV7bBydt2VrzNs7xjGjgo6KcWiLPZ4iWLeqr.9BcsGZ9luZZUR2QiDbaAYqR1+aO76gPeQmXkpy6yrF4uPXxgISFBap4BfIJkHDdQDbEmhJytky10YFJTAoF+Adxc56rw4N8uwIZBiazmxyjstkeONEA3jJ8a.0H8c1TeT5.IjGoUyVnIvN4S4bWq3k.2WbNuZIx40KQNatD47lkHm2tD4r0Rjy6tybbeNb2DqdR1XB.Lna5ZDLtqhAprTEI5uPKkDDt
    




  • @d-healey WOW!!!!!!! Thanks mate!
    Going for an "additive_synth" to see what happens



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



  • @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")





  • @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];
    }
    


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



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



  • @LightandSound The Audio Programmer search for 🙂



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



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



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



  • @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.bLVusRlHiMa4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1seayDXt2GJY2OBtvee.wQXON6buXNiVScqHKpzFM5eiXEyN501tnHxsJNSmZNnQpgwN2ySqz+Mpza9wr2ZDy2tFw730HluaMh46WiXdxZDySWZL54fe9XIaT7T.JCcaEUbYXzhhUDgHlD5+3+ztoC```


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



  • @Lindon well this is something

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



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

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


  • Is this for accessing the core Juce modules ?



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



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


Log in to reply
 

18
Online

674
Users

2.7k
Topics

22.8k
Posts