Hey, smarter people! I'm trying to script something that's sadly a bit out of my skill set. Here's a snippet with just a momentary button and a noise generator:
HiseSnippet 1490.3oc6W0saaaCElx1JswscasnWrKEJ1EtCEtVNosqXXnNwItyX0oF1YA8pUvHQaSXJRMIpl3VTfdwtXO.69c2dN1qxdC5av1ghRVRwt4GuzhcwRAJLOGdH+3gemOdT+.gCILTDfLpt+LeBx35lCmwkSZOAS4nt6fL9Lyd3PIIvRaZ6Y93vPhKxvn7SUFLVuBJ9u2+jswLL2gjYBgNPPcHOi5QkYV625GnLVGrKYepWtYuYqtNBdaASDA3orYCjO1YJdLYOrZZkLQeONbBx3qM2nIdiMd7iZzz1dziZ9fQ11Md3F1ivaZCdZhIMebSrMQgj010kJEACkXIIDYTYag6rgSDGw0avAzP5gLhZfMZHryZycDLW0QT8aT6ITla+zDUHBYX1OKsUVm1tsYOpKct8rz2WD6vJKh7IPiREgW4Bvy9CAuk.IibPphFR2zbnS.0Wl4QgmqY1kC2livP1IOTzyEU52LLaKfYvk08vSIcBfAyin1Caz3dVv+c2usZU3tJTZ8Jbf0.hiHv056rRibLQ1V34K3vfZ2Q69NpXpR4LJmXMJh6HoBtkfq8phLPvp4jF18fUlEQta02Tc86e+sbcslAzBKmnPovyhIFScrlPBH0qWu5agU9z255gJywaQaLicHvqpchsFfWNTsmPRdNuV71W8sUsNoqQiVpuj0hQBVpaEeO3zBrFOx6PRP9CuZhvcZQhxZmOhhiNojahBdWNU9beRx3Llt8RnUnjrphfkfPXpxX50mkPu1NRJEbDEVjqZpynnXzC0IFw00+X2cvRb5Z.KGrE9j.IUcRL1g7JPhPSYW2bGR3TovOdtI2hHiqb163wykQdGt0rLMkep0QTW4j4F9yfVSHzwSj4sPC6I7fcBG.QZTBsXsDTEKbiXXYwRak.XhC3ZrP8jplgGRkyxKPdx58Je3qwFKUNZoWRmS3dSy9Toyjki2RKAuvM1Ga7lnddCycGMh3Hy.aEyNu3TkJqb9p.NCk77xllZrTMgkA6uBHWOYnUmWXW.P6E4sUjKUzgxT3wzPQ1STQM9Uyrha+.hONfrunOCOqVH1ymQF.Gh6YcHS3LcH80jEUD703Za0Lp4LAy4DV3pHbr1kzKLnAhHIkOtGVFPgpMS37ODTjcHsSPmJGTRoYnG2Hs9eHg6FO3ug+RbZOOgANsSclI2f1iHORDLM9NJ42fNf5BopYPbIOI.sEiINRoSPSHzv0Rrs9B1L+IBN0QYROiTbtkmHRIpnAKzQw9XJSUALLJDjEceNeHL431XLJe.IHLdguhYi5v+fJh8Dtp9J5fcfz5r9Xk3xMMUJs.2kDT2YNGNGRKPbh6lImS0Jl10iNkAH1KV4C54wnbN4RMiUMBpSKo4mcCOP40AyPGn0cgSlZM0IOMbUS8FlifS1K8AZHrqEN.2BN.vao48uHjKF+EA0JW.q+3z2AxU3jeDTU2k6RNNcA2EnztP4abXIbjdT9A4ecoG93BiQ8wA.ZgFVTqck4ifqvrPyT3xBetsVCkDeUUYdk6gSIGoyX4sp6OVUWq5nnmJUuvNrCYDNhIWvN5hCM.FWHnsF7.kbAH89mrbH89mbFPZyVK.oV+9RxVPU8GDRet4.gP1If7yQPM1rSfs28lVKEafczkvMYq+50+xojttloBWCTRIqRNSwy2VHl5gi0sVo1dx+13U0Nuh4dBZHIVQ4V5ea8TBnzndc29x36w7O2eOlQ4U5Q3hsIka9K4E4Jer91pOo8Z8uu0vKmOEb8TLNjpDf2k+JBCHgIjoDNcp0hjodBtH8MzL9y.B77+3wjhEOK6.skTBZhYVtcqADFAGlQv9p+n0yfmLwAwBmezyEm180WZpgqkpBv5+ao++ZszeAfxmh9T+TrGdXm.wKczs2q3xWM1Bbt4wcistYO0XK6zu1N6N1CTEeoiSwkZg.atpAtwpF3lqZfOXUC7gqZfOZUC7aN6.UOZsUjT3oKYgVW5uqtEWic4XfwGWcf9G70lSWM
What I would like to achieve is to record the audio buffer when the record button is on, and then use that as an external audio file in scriptnode.
I was hoping I could do it with the recorder node, but unfortunately, it needs to know the length of the recording beforehand.
Any help would be greately appreciated! Thank you!