Posts
-
RE: Real time pitch shifting with ScriptNode
@JulesV said in Real time pitch shifting with ScriptNode:
@Lindon Sorry, but I can't see the .lib files in that repository.
yes - as @ulrik suggests your first thing to try is the std lib
-
RE: Real time pitch shifting with ScriptNode
@JulesV I look at thr code that is being used in the dsp and copy over the relevant functions from the lib file
-
RE: Real time pitch shifting with ScriptNode
@JulesV go look in the repository with your .dsp code,there will be the .lib files but in many cases these libs are now in stdfaust
-
RE: AHDSR Envelope - Release Curve shape
@d-healey said in AHDSR Envelope - Release Curve shape:
@Lindon I was just poking around in the source code and noticed this comment in the Ahdsr code
DecayCurve, ///< the release curve (and the decayCurve)
However on the UI I'm not seeing a difference when moving the decay curve knob - doesn't appear to affect decay or release, so bugged???
yes im never heard any difference that the decay curve made....so Im guessing yes - bugged.
-
RE: MIDI keyboard range script?
@Ben-Catman create a slider in your script processor and change that from your UI
start like this in the script processor on init
const var LowRange = Content.addKnob("LowRange", 10, 0); LowRange.setRange(0, 126, 1); const var HighRange= Content.addKnob("HighRange",180, 0); HighRange.setRange(1, 127, 1);
-
RE: MIDI keyboard range script?
@Ben-Catman put the script in three separate script processors one in each sound source.
-
RE: template or tutorial for custom c++ scriptnode?
@griffinboy said in template or tutorial for custom c++ scriptnode?:
@Morphoice Did a small fix there was an error in the template
https://drive.google.com/drive/folders/1bVj_MhnwYv5HSFpXa4-0ZUIknswYuRBX?usp=sharing
Sadly this is pretty unusable - as it blocks chrome from looking at it if adblockers are turned on...
-
RE: ScriptNode - switching between myultiple modulation signals...
@Christoph-Hart said in ScriptNode - switching between myultiple modulation signals...:
@Lindon https://docs.hise.dev/scriptnode/list/container/branch.html
That‘s made precisely for this use case.
Happy to be of service... :-)
-
RE: ScriptNode - switching between myultiple modulation signals...
@ustk dont you worry - I have plenty of t-shirts......
-
RE: ScriptNode - switching between myultiple modulation signals...
@ustk said in ScriptNode - switching between myultiple modulation signals...:
yep thanks _ sadly(for me) I've used the branch node all over the place.....
-
ScriptNode - switching between myultiple modulation signals...
I have what i think is a simple problem - but for the life of me i cant work out how to implement the solution, I have three modualtion sources, and I want to simply switch between each of them and apply it to a common param - here's a simple example using a gain node and 3 cable_tables....
HiseSnippet 1831.3oc2Y0zaaaCFVxNLo4iVrt0fsi9vFPJZgQrSVaG1g37gSavpSLhcS6N0wJQaSXIRAIZm3Mr661N2a6mvtta8GPOLfse.6mP+Gr8RQIaIY43OxGcs1.FlujujO78aRV0kaP773tZ5KVumCQSeETsdLQqcagoLsC1SS+VnJXOAwMmhzN8bvddDSMc8rOVRPew4z7+7ts1AagYFjAjzzNgSMHOkZSECnVsz2Qsr1GaRpSsiL5MKcfAmsK2h2AvSVz5ZNXi13ljCwxgkAooOeYSpf6VSfEDOM841ga1qVK9oL03Og5QekEQ1nfVMXhTj2maYJQr7+Z61hZYVMbe6oooipNPJjUIEtCpB0j1m9.owm32QtAbDUdnmIN7xFCdEFE7RAR5QfzbJHcaTMCWpiXPOR7rL5.FnbZfAwdTnnFql9aP6xgAvD4swsI66BM5yvZOX80ueN3m69sM5vLDTNKGmcHWPNhs1cW5mVZwk94kxkrqFMRsO4x3xsrHto1sTS6ddLtFqi8qHt2OWWrUGR+ABa+3xz4mLYpgZWGYfb1ALp3HGRP6AFEERQCnEH1f+8rC1CKvRkR.MXbNDWAUBG88HcAKbkJZQzdDu1BtCXiOj9Crb3lcrvh3lSRenfN.4QLcnTQw7nhdQ8wRZiM2nkGqmpKPp61IDt2FUkJLZkNdyjBdAo1UMdC7XuIpbiFDCw.vNGZ+WbttmSMTlTW0kBbUg0WBjUBZla+WTHUmzeAMvgvwk3fcI04Usv8VyCa6XQNFv68y8JKtQ6ZzejLrWjiBB6HGwZFsvLFwxaVb1l+RJ.l1w7NBJqYErvkdFDh8vN10fv5FjcCPGPSOizOS0dcYao8RMByzuw+BeB5rfrsdPmEB6LhK5gDwob219pif+qoufJ6UcWh8igsCrgDZaaYwOcWtsCMv9EzB9zpxs54zhynFRRpQDh0ss4cfkI.vOA6UGSsjF7053AgSLOhUCFr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.6Fyi7LfMKNgMP0NVdjmSMEshLu+SDxEiR9IXWyZxCsE8NkyNwWjazqoL9UsGY7obqtyeU8lPWq2W+E+4ExNYvcL2K9hgXrFUFhuLqKwBbS8w3mB9kMvvIACoF2OqBmwCuX1AV.GSDtzlMIwCtj1FZag.azd.k6T5XhEA6E6ztOkxHX2J9AdmIYwz+bdopu9BjBt4jAGx8wwyBk8i9mE5h4gBwO+vQS+4HHldwb9p6bu+02WGuxz0wZXiMb4uLnpaY.ia3SA12L+x5VDUQ1NWAstIKZxFR87RCi3S0PLVbVYbiYkwMmUF+5YkwGLqL9vYkwGMdFkUFDTquzOAJWpZY0IVzCu7Q4Km7ePBuUoB
I thought an input_toggle sounded like the right thing but I cant get that to work at all.....
-
RE: Plugin doesn't respect UI Zoom Factor onInit
@ccbl said in Plugin doesn't respect UI Zoom Factor onInit:
@oskarsh how would that look in context?
inline function onFiftyControl(component, value) { Settings.setZoomLevel(0.5); }; Content.getComponent("Fifty").setControlCallback(onFiftyControl)
Do you define the value as 1.0?
I really don't know coding very well.
so like this:
inline function onFiftyControl(component, value) { if(value) Settings.setZoomLevel(0.5); }; Content.getComponent("Fifty").setControlCallback(onFiftyControl)
-
RE: global send / receive
@ustk said in global send / receive:
@aaronventure @d-healey @Lindon @clevername27 @Christoph-Hart
This is something we haven't discussed in the last Hise Hang, though it might be a good idea to put it in the priority list, isn't it?well getting global cables and global send/receive nodes into a compiled network would be very nice.. no idea how complex it is to do...
-
RE: Emulating vintage DACs with bitcrusher & μ-law compression
@Morphoice yeah I tried 512 but no difference.
-
RE: Emulating vintage DACs with bitcrusher & μ-law compression
@Morphoice said in Emulating vintage DACs with bitcrusher & μ-law compression:
https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!
interesting - sort of... Here's a slightly more friendly-to-HISE faust version, tho I cant seem to get it to behave correctly above 8 bits... so I probably dont understand what nBits is here...I foolishly assumed it was the number of bits - and I'm pretty certain 12-bit doesnt sound this clean...and 2-bit wouldnt sound like this at all...
import("stdfaust.lib"); nBits = hslider("Bits", 8, 2, 16, 1); mulaw_bitcrusher(mu,nbits,x) = x : muLawCompress(mu) : ba.bitcrusher(nbits) : muLawExpand(mu) with { // μ-law compression muLawCompress(mu, x) = ma.signum(x) * log(1 + mu * abs(x)) / log(1 + mu); // μ-law expansion (decompression) muLawExpand(mu, x) = ma.signum(x) * (pow(1 + mu, abs(x)) - 1) / mu; }; process = mulaw_bitcrusher(255,nBits),mulaw_bitcrusher(255,nBits);
-
RE: Making keyswitch keys stick down?
@d-healey said in Making keyswitch keys stick down?:
@Simon There is a ToggleMode setting but it doesn't appear to do anything, also I imagine it would affect all keys, not just key switches.
You can use an array to keep track of which key switches are active and use custom LAF to draw your keyboard, checking the array to see if those keys should be up or down.
..or just change the colour of your keyswitch depending upon state...
-
RE: Edits from host
@karlito31 said in Edits from host:
@d-healey
Thanks again. Is there an official channel for feature requests?yes its the Feature Requests category here in the forum.
-
RE: global send / receive
@ccbl said in global send / receive:
@aaronventure second question then, will compiling the node as hardcoded FX break the global cables? Or will the work as expected?
so you cant use Global Cables or Global Send/Receive nodes and have the network that uses them compiled - you have to run them "as is" not in HardCoded FX modules...