FM ScriptNode - Inverted
-
So it'd be nice to have an FM Node that was the opposite of what its doing -
currently its useful for making FM based synths, there's a sine wave based carrier and the incoming signal is used as the modulator, but if this was wired the other way round - the incoming sound was the carrier and the sine wave was the modulator - then we could get "FM based effects"
-
This is something I'd like to see too! On the other hand, would some sort of FM "facilitator", independent of the carrier and modulator, be a better option? This way we're not limited to sine wave..
-
@Lindon the other way around would require a pitch shifter with delay that is modulated by the sine oscillator.
I guess I could add other waveforms to the FM but then it will become this massive node which I‘m trying to avoid.
You should be able to build a fm synthesiser with frame based modulation of the pitch ratio of any sound generator though.
-
@Christoph-Hart said in FM ScriptNode - Inverted:
@Lindon the other way around would require a pitch shifter with delay that is modulated by the sine oscillator.
I guess I could add other waveforms to the FM but then it will become this massive node which I‘m trying to avoid.
You should be able to build a fm synthesiser with frame based modulation of the pitch ratio of any sound generator though.
Well thats exactly what I'm not trying to build - I don't want an FM Synth - that's pretty simple I think - what I want is an FM effect - so input gets used as the carrier and the FM sine wave is used as the modulator....
-
So the template for a custom FM synth is this:
HiseSnippet 1433.3oc6XrsSiaDcbHSfvssqzVo9XdjUhhrCAVP8gtPfrMpE1HBEsugFrmPFE6Ybsm.jV026mU+j5eP6Y73DamaKw.UqTqQh3ybNy49kYbq.gMMLTDfLJe4.eJxXcb6AbY25cILNp4IHiMwmQBkzfJ5kNdfOILj5fLLV5CpELJWDE87We+wDWB2llrDBckfYS+IlGSlrZq2+iLW2FDG5kLuTTW68MsE75BWQePeVBah7I18H2ROmnHq.FYT5TGlTDzVRjzPfliENCZ2UbOWS+UrP1MtTEfEpMvH8xn5cYtNsFZqgHjQwVIV9RZK+M3yXNrQqm3A9pHDUR1QZefQg4oRVKfJYjRkJpUoWiaaGv7kIXT5yZ3lbHfzg.t5zphlVjwehqK.B3xc7H8nMB.fQaXq8MM2tB7u29cc5yskLAuhfetPR+Heq2t5usZ4U+8UqLNpNclJNkXBDttzfohVEcCl2F2h226FZv1Uti31mNhPv7y5SK837o1ZqNEgBdSNS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2d7+TM+exEeytmzyYc8ZvfIUQw0i2X6MXJ+NpKvtcRnXgJ2vyU0dk59Porjgtxn6SfZeu5xzISGJjdgrSKBGi7Iwtnk8ERW1eJbKQGGpSztU1U19.EmdI63YNqfsxUA6tlVl6BDb3gGT6v2YZgz8hORJIvUIRNJ1b5d7hpJkwWPgQeI0SSQWdVp0yUU5FwNp58CtabdMkyf7BVy9XYvwBQOORz03y2GT6eiO5fGwNPbss96nnLtUhVAZJvi9pykwmofqXgtKsKWcy6qssGNNc56oZN1yt4XO0xwd1KG6Y+brm2ki8bvb2i5iwGOMVc9ZXgVmpanYbJmbiq9awg9G79IPdL
If you want to turn this to an FM effect, you just need to modulate a delay line instead of an oscillator's freq ratio:
HiseSnippet 1768.3oc2Z8raaTDFeVmLIwIokVnf5QenGRkJQ1gRAINDm3DWhnN0JND5svzcGGO3c2YY1wIwfPBItTINv4diSHwi.23E.IDkm.dBBm4.7Myr1d2rabiMINP2J0546a9yu46+yLstfaSCC4BjU9c6FPQVKhaz0W1pRKByGs0FHqqiqQBkTQACo06FPBCoNHKqodnhfU9oQ5uSVcchKw2lNfDBsGmYSeDyiIGPsd4Oh45Vk3P2k4Eq22u7V1b+JbWdG.OSgKhBH1sIGP2ln5VNLxZlMcXRtngjHogPeVm6zsQK9Q9l9uGKj8TWppQITCXhLjQUZwbcp2auFhPV35C14SY142BWi4v5SefD3FZFEFLh3x.qbCCRkFAHYECRSafzMwMrEr.4.NJ7r.dKePgzj.h53PwzWj0OiqvgN3KW1izlVU.M5OfkdPwh2q.7W28CZ1w2Vx39E39aykzG6uzcm+KmO+7e07ENMqlMyjmZYDbWWpHS1JsqXXCbI+NdOkJtWgCItcn86Hr8SJSm47ISsM65Xcj6ukOS93.ZT6pbWGkrR86zZ.TjXC90Gu0FDIQoThnA8KfJjLEbr1fdHXUaTQ4waPCaK4AfccJ8GX4vc53RjIMmT9MQL.4QBcnRQ4Gxjci6WMB1XEGpM14Eh2DWmIsakMFykAFAI0kAFi7LuF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dV8mplpueXuxICNlvN4raj3ftgLku59m1E5VXp+gTWPlu7fdLB5K7PsidM0kbDCSQ6Ky0GfZbj5FxFDGJWbBIiKEdptml6EYrHXikzza5K.SurKGpuo2b30jRBb18SM22YLNCyHu34w6PgfnoqH3NkuxJDZhb3oqEI0qzQbXVHHizkCwgacNusGQeoa+qu96qaXt.tADfW+dR56J6szsK7IjCoEdHEB8qNBSog7jR+548IkBN2Ooziskvxuqf3GFvCSJoodrc49p83.hebHUUpsoR6XzqvIhLYcxpUgMYlioAQ1QnUH8tKxX2e9TIup1oOeWUaxmRHV+y3lsm9J3MutXdOhqvmLIw6AjuGFanS2rYT1GMFecvSnIoiqrG0jF10397d2L8.s9NTofcvAzj91YsghBvFKCcundwh28HvxiHzmJd7jEi9STlo951QQlJn7FK7+2m5ZpWoepqIxi5LIVCOhsfuus4svT1oyoo.6ae8+yAxiqoZWnD5vnZ3TOzCR81H6aaqDwuMDvL6wrxXLl2YLFy8Giw7tiwXdvXLl2aLFy6OzwnRtDcr.kKGPn9llxWs1zm.VuZKcz+.MMn.1C
Both networks are obligatory to be compiled to C++, the CPU usage will be more or less the same as the native FM node.
-
@Christoph-Hart Sweet. This is exactly what I was looking for. Thanks.
I had it pretty close, but was missing the frame container.