AudioLoop Player/Granulator File Handling
-
thank you @ustk ! broadcasters are so cool, i havent had much experience with them yet (none actually). can it be used the same way if the granulator is in a Script FX module?
-
@Adam_G
my example is using a script FX module;)EDIT: Nope sorry it's in a Scriptnode Synth, but it should work the same way with a script FX, the essential thing being adding an "External AudioFile Slot" to the node
-
@ustk im struggling to figure it out :( im trying this but it keeps sayin "Script FX1 not found"
const var ScriptFX1 = Synth.getEffect("Script FX1"); const audio = Engine.createAndRegisterAudioFile(0); const var synth = Synth.getAudioSampleProcessor("Script FX1"); const slot = ScriptFX1.getAudioFile(0);
-
@Adam_G so do you have "ScriptFX 1" in your list of processors?
-
@Lindon I do indeed
-
@Adam_G Please show a screenshot of your module tree including the effect
-
@d-healey its definitely odd
-
can you even do this?
const var synth = Synth.getAudioSampleProcessor("Script FX1");
..and why would you?
-
@Lindon im attempting to figure out how to pass a wav thats loaded into audio loop player into a script fx granulator
and no..
-
@Adam_G as I understand it, if the "Script FX1" is indeed an "Effect module", you can't reference to it as "AudioSampleProcessor", or maybe I'm wrong.synth = Synth.getAudioSampleProcessor("Script FX1");
I think you have to have the Granulator in a "Scriptnode Synthesizer", there you reference to it as AudioSampleProcessor, and useScriptnodeSynthesizer.setFile(String fileName)
-
@ulrik ah so is there no way pass an audio file loaded into an audio loop player slot into the script fx granulator as well? im attempting to use the granulator as an effect on the loop player.
-
@Adam_G I don't know how to do it, I guess it's possible but in another way?
-
@Adam_G Sorry, I was completely wrong, I tried and without the Granulator inside it was not possible as you can see
but as soon as I added the granulator in the ScriptFX, it showed up :)
so you can indeed reference to the ScriptFX like this
const var ScriptFX1 = Synth.getAudioSampleProcessor("Script FX1");
-
If I remember correctly you need to set your granulator to use an external slot.
-
found scriptfx1 @d-healey problem now is im getting function not found for
const slot = ScriptFX1.getAudioFile(0);
-
No problem here
HiseSnippet 1131.3ocwW0saaaCElxNLo1saXEXO.B8JWfr.6sr1ALLTmXG2YrYGgprfdW.CEcLgoHEnnRh2vte658BrGscwd.1av1ghxVx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VQCvHtrHeb5Lhb6JqQADM7tHvUoVeu6xUvyklVNlpz7xwqgFVhkxUUuvYrabEmpZZqeMwAJX3msAXMui1b3+iWsd3QcuWg+2+s1+Yd32yMZFsVV7uD6C6tdr+0tOrT+w3Wqg93bCdGWcVWzG9Ru8tV2EOOzJ+6in+HbHL2lD8+Tv6yLYR1lBtk3crRMKljOkb6dIl+KloGSnZ0ET20TVZ6ix2AFhHy+rhFv22.q86fttfpaGzhhgW4+BJ0d6+mAu+1caymuE17EagMGtE17kagMuXKr4kagMe0Fsw90VGkYTwtqTgMBNwMk16DIAdag7qHP+CvHM0ca
-
@Adam_G What's wrong with my first example if you replace the Scriptnode Synth with a ScriptFX like I suggested?
HiseSnippet 1758.3oc2X8taaTDDeu3bsMtEDEJR7wSV7AWofcLTJHpppyeKVMNwJmanHTUzl6Vauxm28zdqShA0uCeEdA3QhGADhG.dCfY10muyMtoNt+AolJU4c1Ym82L6N+lYuVJY.KIQpHNqzdTLi3bCW+QBcuM6Q4BRisHNuuaSZhlo7rh1XTLMIgERbbJ7PTfyJKSL+8OOXCZDUDvxDQHGJ4Arc4C35Losp+HdTzNzPVa9fbZem5MBjhMkQxg.dJ3tFIlFzm1ksGEUaIWhyU1NjqkJeMUyRHNKugLbjeO4oBq9GxS3GGwvA0H9fgrh2QFEhHFkR1rGOJrUpemPHNtsxhBErQga41jGxmHOKZ7AlI7xVQ93gyRSCuBSAuZ4g2Z4f2LfjSNH4ZgzMc8CT7Xc1LHdttaCAb3zgBg87PYugCVeXHWtCOBQhqiCDfsFfrzesj6lRXYBckAz9rcTvfIlo7cWasU8f+612qHnUhLhUIHhQUkAAEgCnDs2ITkmw76JkwshniXpZdqrx88L2cpzkoMy5SGDGwl.3xkLR8vE4MdUk.ilYSK.24Inwd4VypsGndoog1wAd22aaQWt.fthAGFanjzv.y83x+TwUJwCK8Mdk1ThV7LusnZp2tbXVASUZUXdppaBnwOTpoLbXDqzpdkBAkZHBYmgCNgFMjU5oEeFtwEONnBU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