Libraries > Core
-
@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.bLVusRlHiMa4SjLdOIVBBjwFMX9S6Mj8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6buXNiVScqHKpzFM5eiXEyN501tnHxsJNSmZNnQpgwN2ySqz+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
. 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).
-
@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)? -
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.