Scriptnode: Granulator
-
@Christoph-Hart will do!!! Thanks :) :)
-
Is there a way to get round the very short, seemingly "baked in" release time with the granulator? Regardless of envelope settings granulator has approx half a second of release, which isn't very much..
Love the granulator node, having lots of fun with it. I kind got round the polyphony thing by have 4 independent voices, still a little glitchy though :)
-
Hi mates!!!
I have problems embedding Audio Files for distribution. Granulator does not find them compiled plug-in.The only way I made it work is to create AudioResources.dat and place it into AppData folder.
Is there any way to embed audio files for the Granulator as like IRs are embedded on Convolution Reverb?
-
@hisefilo I didn't try using embedded audio files for the granulator but I guess you could do it using the FileSystem API... The samples won't be embedded in the plugin though
... But why not using samplemaps ? -
@Matt_SF My plugin will allow you to load custom .wav and also to play embedded ones on the AudioWaveform component... don't know if I can do that with samplemaps
-
@Matt_SF quick sketch
HiseSnippet 1725.3ocwX07aaTDEeVmrIMtszVIJmsp3PpHDY2FJH5g33uJlVmrJNjFoJTzjcGGOJ6Ni0riiiaUk5gh.tUI9Gn+IP+6.IN.m3Ff3FW3FGKuYlc8t9i7koTbjRxLu2aleuueicDbWRXHWfrVXq9cHHqKY2rOS1tbaLkgpWAYcEaIITtu.y55iEqfJ0uCNLj3grrl4dJlrVXVj9yesZIrOl4RR1Bg1lScIOfFPkI65T79Te+ZXOxVzfTbuRw5tbVYtOuK.nYryi5fcO.uOYcrhsL1Hq4p5QkbQSIFPExZ1Rbu9May6wL7uMMjtmOQsn.pIbPlsqw88THVsKpbapumSrhGhfSwIwLLiwL7t1MndzA6mXNtplPtDIRaOrxLL7lYH3UHM7xmBdS.RVofzrFHcM6ltBZGYBEEdtnccljHZgAydZnX3EY861k4.CL4xA3CH0DvhABr3cxmeobvut4cylsJaeJirrOG6sVWOJuF0mDBrxc3b+Eu4ca0k4JobVNNactjrAawal8IYWH6SylaTRsZMQZJfH399DwDIqhEDmjfKx5FrGQrTtCw9cICXDLPCa0sOdqd5fBWicIEibVcFUtQGB63BUPQFSvCkIBUPLoT6etdj+Qa8dH9PRKtH.Q8TwLCsWAjVARmk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arwSZ970e9larUysd1S274aZ2o63n5Hy.Ax7w6Jz0mEv2gtUylYP9d32kHT3rKI29sZd8Q65yd7lQGA60l72p3bWZefogE9uNL6wMiU7OLLEWrO6w8LZr7onDbaQEWW79omhZCXxoQDFx1UqGEwri2KzaH9rPFEwBRzmE33Wwj6t1UfQ.k86+Vkd.J6m+vHWoJB9dryBBvqsdL7Dr46y5KfOOYA74oKfOOaA7YiEvmMW.e15F8A+T3cFazQNpeXgdcrMWddcTL3ZN6E2j+FPEhVow
However if your user is working in his DAW on a project and he uses one of his own samples, will the sample be 'saved' (I'm thinking of the sample path) into his project ? Otherwise he'll have to load the sample each time he loads his project.
You should probably implement something with the FileSystem API...EDIT : this is the function with which you can load single embedded samples into the granulator
EDIT2 : oops, little function fix -
@Matt_SF thanks mate!!! super useful! Have to decide how to proceed then.
Also I faced a bug that limits my scope. If user loads a .wav shorter than the GranSize, HISE quits... don't know is theres a quick fix for that @Christoph-Hart
-
This post is deleted! -
@Matt_SF hey, i only get "Interface:! Line 4, column 48: Scriptnode Syntesiser1 was not found. " when i run this snippet. anyone know what im doing wrong?
@Matt_SF said in Scriptnode: Granulator:
@DanH There you go :
HiseSnippet 1560.3oc4X07aaTDEeV6roMtEoVnGpDbXkEGbDAK61RA0JTrShcwh5Tq3PTAgTYxtisGxtyrZ2wMwT0S8TOyEPbobj+A3.m4BhKUbfybfdBIDndED7lY1ubiqqqgFPvVolYl26MueyadeMtS.2lDFxCPFKs8HeBx3jlcGwDCVe.lxPs1.Y77lWI.yF5hE7.KEMzZi7wggDGjgQ9qH4yXoEPpueY00vtXlMIcIDZGN0lbUpGUjtZmZuM00sI1grM0KC2WnVKaNactKeHfo7lUP9X68v8IahkrkyDYrXCGJfktBrfDhLVXMtyntC36yz7uCMjtqKQNoJpKrQ5kaxccjHVNFs9.pqSm3ydHBYX1I0RjWaINiYapCMY8TKxoTDrRkHq8vH23vK+Xvq5iCdS.RFYfjoFRm1rqc.0WjRQhmSX1hIHA8vfYOKT1b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vswTWIa6PBBUaxwLqTF9GDtroJ4jYSrMXbG0ACk1g3NYCxvcD77J6LIQdLXbrWZBDiKNqsT.z7TMoJewd9Lc1pSeImAWz4jZ3jlsB2QR0F6h1Q2lLbDj6o1lowpl09I+VDnCA9.R4LjmW7IIAUUNHt47LcYjcF3K1h4PNHdCa.8V3.NcJwhbBZSYQmGMOswGL1bTGb.1i.udV2jP7LXbpnoY4REOM.oqf32k9QiwW28H6qMNiUOCreEL6vgPLoyPxN8sediu7g+9WuJZ5p+GV8vpGUalT+893J+nR8GSmYOU2+byW56evm7vmjtuPsCq66V6o6neB4OiEkoDHYqNu76EtSMzydSu7Mb5zaIazm8oxuuY0i.sebyt9AvC7RU9cq+AO39E+oiFkuAQLjkwt+aewu9cs28dqNV..ZMNeOOrJS4b833ij75dX6.9Mr0OoPF1db0JPRDl5WnbIy1x4VIu32TlzE4A8zeCaaYCCuZUDZxxbt4PlyOGxbg4PlWaNj4hygLu9bHyaLUYjOmp9PA2SWJEVnSCcVZiFLLz8fpDA5OQSlAzq
Thanks now I have to spend time using this :)
Actually the scriptFX Granulator doesn't produce any sound... (seems logical since you have to load samples in it... It doesn't process incoming signals)
-
@Adam_G I tried again this snippet and it works here... which version of HISE are you using ?
-
@Matt_SF i compiled the most recent Master branch
-
@Adam_G try with the latest develop
-
@Matt_SF many thanks, i had an older version than i thought opened. i updated again and success :)