do faust nodes only work as hardcoded in a compiled plugin?
-
@Mighty23 that's awesome, thank you!
-
@Mighty23 I assume this only works in a scriptnode synthesizer and not as a hardcoded master fx though?
-
@Morphoice said in do faust nodes only work as hardcoded in a compiled plugin?:
I assume this only works in a scriptnode synthesizer
I'm not sure if this statement is correct. I can receive MIDI messages in a hardcodedFX and can receive messages from a global cable. If the HardcodedFX outputs correct values, the final plugin will show correct values - but I can't say this with certainty regarding MIDI.
-
@Mighty23 as a hardcodedFX I couldnt get it to receive midi so far, as a scriptnode it works fine
but in my case I'll probably get away with sending the midi note trigger to the network via a callback -
@Mighty23 does all of the need to compile to DLL apply to the scriptnode synthesizer too, if it has faust in it? I don't see a "Hardcoded Scriptnode Synthesizer"
-
@Morphoice there's no hardcoded synth. You have to use a silent synth:
https://forum.hise.audio//post/65493 -
But How can we use AHDSR in a Silent Synth and FAUST ? HISE AHDSR doesn't work together.
-
Here's how you should use a slient synth (as per Christoph's instrustions):
HiseSnippet 4409.3oc6bsEabicdlyHcFIMV6tNc8toHuTBCTrx1xyRxgysZ3Z4axQnqj0pwwYK5EAZNmQhUbHmRxwRZCVjfdAHuUfh9x9RaAx6s.8s1WRPJPAJ5FfDDTj9VaABZRQKZxKsnOU2+CO7x4PxYHmQiz53rigkFdt98e47++eNmeJ7IdXqd3d66ZYLbH1SPnzB65XqiccscDJU8ImNDKTZUT2Ss7N79GpYXIr0CDJ8ZnM0F45I5Wrv8NcnlqKtmPoRK7HRSJsxhB9e9o24dZlZV533hDDdpsgN98LFX3EW5ta7qYXZtoVO7SLFvzZ0M1R21591l1i.3r.RRXnl9QZGf2QizrxHgunl6gBktNpmrpb+15ZMaKqpnqqztkRmV5Xs98wMkazRsce09Z5RJBkp7vdFd1Nc8z7vtBkV7d18Ns6g1GaQmfmZ3Z7LSL4AYgtvLSKdSaydDRjTpv8OzvrWDexE3ZHFt1BTt1UPaazyHp7Xt2k8qPLtGrLvRk4g2BbvSdbvKCHUhARKRgzmC0U2wXnWbMD7bIzVV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ev2X3G05eadPaJEm1VDs6WNCp5eI4VS9ZW4u3mjjp13e8C8tS9pi+Cexm7COy1Qx3.94NcpTDFBHrsmU4EPY+AEfxdq+v+i+8yCJidJVoHoJn8H6phklBM4kll902X1nox+fuw+64AMEdlRe57NTsGcOPaq44XPN3icFMnKDsndXZn6FlrlAOKEFGIYOJRgmJRPkxjmKETobzQl7pxbLPS2wd+f6yy+unE9k.wea4G7MI2VfmEkEddxkVjLmdecc9gJUGUl0NVeV6n5r1wFyZGaNqcr0r1w142Qxq1UvtYIqXASg69P5o9UJ7OcJjs3hCNPP5KjBYMWTIV3S1zH3uIW8M7+SxE4WTj7Enq6eW96UpF7X3ej2EJKsH5ce2dXcSMGrn8PeCIhW82ffzeEaqeqqdqpFCFZ63s1Uc854OH0LMd1Uu1spdD9TwaKdnqoQOryZWEd7pqWu45RqKqzZcYnAUCNOc1VETzUWWlzv0ImmFzxn6XgsoQElUi8cxjp09kdUngMB9emNjdI0.5VzcJw1qnBgNwNGtZdib7EJ7fOrzjMmXIkqkjBH.Q1++v1MiP+wC3f8wCRLVDNeexoHdawmo4+VQ.bVkC+v0feAU2O7HPg5iZ50Ekoranv0rcqMz17TP6Y39PQqE0iqIdSQnRaWcWCK1hutnTMkFjeGHdfAKZH7Yr9sdcwdi7fleaQKMXSu6CSde5PF130d+0EcOznuGt20DuQxZFRNuuqU8XCPx8UpJBe7KAFORCguZ6rl75hjoBHTR8AiEgT0p02QSeMZOtAEIzFw.laKp.DwZgc6lASIscuOTsO25cIiV28tU0OBnSx.AUvnTcSeVHvkVyWJFvdTgIk7KxifPivgHcgvvqtxJxj4JMGym+Fv1ttLztnwdHa8pMnSR8qE0jnAC7qnYcfINo7Rkz1qIB+35hwKe.X4qRSjQ10ne85hwp9jd1BZTU.BqrxsIxaXDtAcD7+leagucK3+UGRe4z7kP5qS9wspJH7+CzAaNhN
I refactored your filter graph @Morphoice, and added comments, but I only did it for the LPF. Add your HPF as you see fit.
Proiblem (or bug ?) : the pitch modulators don't seem to affect the oscillators (faust's or HISE's) in a silent synth. You can implement another envelope though in the graph. The faust oscillator should then have a pitch parameter.
OR, leave the scriptnode synth as is (uncompiled), but I don't know if you'll be able to compile the plugin.Also, I managed to get the sine to be sent after the filter but it produces clicks.
Edit: That's how I did it but I could have missed somehting though. If anyone has better insight, feel free to join :)
-
@Matt_SF Thanks a lot, that's very helpful! I'll see how it is done. Can you explain wha the pma nodes do as opposed to just directly connecting the parameter knobs?
Given every Network is limited to a 16 parameters (I remember Christoph suggesting somewhere to modularize the network) I assume I can put the envelope, the filter, and the oscillator in seperate polyphonic script fx, right? It would make sense to me to have them all one after another in the silent synth FX section. the silent_killer would then have to go in the last one, which would be the AMP envelope, and the SIN oscillator could even be a seperate polyphonicscriptfx inbetween, to avoid the global send altogether.
I have meanwhile changed my oscillator to receive frequency rather than a notevalue and included bending, coars and fine tuning parameters. those values can be calculated in script and then sent to the osc. FAUST offers a nice way to calculate a frequency multiplier from semitones and cents which makes this easy.
-
@Morphoice The PMA outputs a modulation value like this:
PMA Output Mod Value == param(Value) * param(Mul) + param(Add).
It's useful when you want to control how much of a value you want to apply to something (among other things...)IIRC now you can have more than 16 parameters in a network, but yes you could have your synth in a network and the filter in another. It makes sense.