@d-healey I knew I was missing something! Thanks again!
Posts
-
RE: Choose a Global Modulator with scripting
-
Choose a Global Modulator with scripting
I have a couple of global modulators in a global mod container. Is there a way to choose which of the global modulator is used via scripting, instead of the dropdown?
HiseSnippet 1224.3oc6X0sSiaDE1NIdEv1tZoEUUU0J4K5ErsqVk.YCf5Eaf.gFUBDgyxVodwpA6iSFg8LtiGSKppOC8UpOB8QYeCZOisSrMjExFEPnsjKrxbNyYluyuyYldBtMDFxEZ5K0+h.PS+SLrtfIG1ZHgxz5rql9SL5RBkfvLgzNWDPBCAGMc8x6qHnuXEs3eu6U6P7HLaHijl1IbpMb.0mJyn1q4OQ87ZSbf9T+bytdyN1bVKtGOBwSYipZAD6yHCfCIpoUxP6GIgC0z+NipurA.artqiCY80cZznwVatU8spQbqVmbZsFaUes5ar1la3po+n8bnRtvRRjPnldkc3NWXMj+arjM3DZH8TOPMnllEtyIjay8bTpn5+ZsFR8b5MxPEpgKZuLyV4Dy1JFcoNzwzyLeOMlgYlD4Mf5kJBuxEfWs2G7l.jzyAoJIPZYCKaAMPlwQgmGazggdSWB5mxCkj4po+2Fs33DXxW3SNCZKvAiEX0FUq9bS7yy9A2HlsjxYlb1gbIbDa0mszerzhK8mKYdYVttSjmZaDbOOPLQ1pPCw0I3prH+SAwyMOm3EAimHp9EsoOZ5ro1IZctIxYcXT4QAP53rfhZSvCnkZ1v+85N6RjDkSIkFNu.PHoJ3nuKbNlRj3hVzXWH7LIO.SJth+Cib3NQdDYwvIURWJCzdTvGpbTrPp7h7IkWNFqx62dTcho.STamR3trQOpzd3jwaoIfWzpcai2zL1O0XOWWvVlA1JFs+4qM8btCkERfxWYruG+ThWlADiaPTAIoreSJayw7MGOgZWSA4+YZKHGL0Ej0KOuJXU41pF5cZ78meEWS3bMi7C3PoR4f7xIP1v3f1GkZAw+kAxZ2LH2gFv8HBE+1B3Wi.lcN9KzTEszIKXq4e07MjyAWtvOsz13U5.X.tm4ozG7C3XaF14CLs74b4PJaPwXvUZd.mGrGifVDm7KRugjP0gKgfrvxfKaedRKKs731mkmYmALt.RNvJO8VQgRt+HEHtUCKIDDWFW+WLZT+E3O2uW8cqV3m0OZ9LVa90.PooNhUEIL1kqhItmeFRBhGGDdOAw2TJ1Z2coXOs4CoXOjh8wWJ1L2XY4+e1X4w7HIlb2kHEzeGKMcXjuE14lMfHgw.ObiLzKoxESFWUMNNgFXNwC9W7WJyZpw5oLqMhYd08IIp6iMrvFQiezfXk8KhGapxzM2GvVTuZCG25sodjsD299BBKLfGVXgs.eZeNSY0yH95PPE7erJRpPQKNQLQVu6UsQkbhxXQjQh3Pxs84QrBUNub6ySYmeEuxWt4+Qae02pWycFapdwQ30h5G3A6wNG7v60Gi2OCuHuKIxSNhZw.9tbFOXHmQKbb7w.lnNX.HxqGST41VJI4OlcklGCd.Iej8217.LhjHPaFbc1k45SLMQe2WZj.WSUVp48pmpH891ec5s1T.7DhfRXxw5QrJXN5ZcwpP5T9ft9DVQoOIFqpIbNHjISNlXRSOXGP303YP76ZEObt4qd3Tz62mhdWrG9DaA+s1IOVpJ+cgXJndyheN8EM5pFaVSK9ATy6i8wSEdqscwk5JBt1rJ35ypf0mUAe4rJXiYUvMlUA27lETcn81Q3soRRY0z51aujRJ5iuDmdYs+C.9MAMM
-
RE: Envelope exclamation mark?
@Christoph-Hart thank you! My UX brain actually though it's a message I should read, that maybe would appear on hover yet it didn't ;-)
-
Envelope exclamation mark?
What does the exclamation mark by a scriptnode envelope mean?
-
Trigger a chord on a single key press
Hi guys! I'm lookng for a way to trigger some extra notes on a single key press. Say I have a sine generator, and play a note C3. I would also like to add C#3 and D3. I guess I should use the onNoteOn thing with hte MIDI processor? How can I achieve this?
Thank you!
-
MIDI transpose on a Scriptnode Synthesizer
I'm trying to get the Scriptnode Synthesizer respond to a MIDI transpose module inserted earlier in the chain, but I can't get it to work. Here's a very minimal snippet - just a file player, and a built-in MIDI transpose script on the cotainer:
HiseSnippet 1532.3oc6XssaaaCFlJ1LmZZ2ZQJv1c9h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.D4bpmpff0LpqPoGWUMVAntTta7f+A9kLosZrUxj1oSZb6q8oxyEgmFG4l7LxZNcW06EEjJ5HZXjxY2ZNb0Uf+Pa64INuivaXZBK0oIV3tB+.VRrAvb5gofOsAP8I34jnCILOUmLcGDAWcz8k7tvhiKAq7V2ONM0bMIN.MOrCAJtCQfNoc6uhiwc.LPalkKl4AKRGRHwmBWLORiT82HI2lT5JszslPAn6qXI02RwpjZdMMECpY0ed.enbnFE4.4CM.Y1RxiKMFLeEiKDlw.ByEu+Z4U+8hUOzhQrxy4Iq0Z5ttMMZbWbcpc0HHHXFkpmEGWF4HU2KJxT88K1OtkFDJKA4gjvSnxnjK3yoNZOi3yPKWEV6Al7iC7HCUsmcokRM2cvMCo+5Ap2CBYXCQHCFXjWPNh3A.QDRWwXAEPFi7BlDNQMETk+hzOgw1CbYhlvaKJ2HEgwcoWjF.1.HIWHIP71RCJMOeVkubDXrZy3IjbVUk1jKFUV8tRZPW1ayUYu6ozy0TRt9Gh4sNvI9MPMXSyXlFR5U4JxQSNz.XLQPaVnYN4Ufz6eVwP58O6VfzZ0uBjp+mEvVPZxqEReC9.gPpbGG.4mFNB1982UuPrAxMw17Sokr9e+1+3FnKyvjwly1dfT3Crb7EIyGbciQ8KgaEcjZVGhWp1F4Ejy6EqKptKntd8PYD.VUIw3viw1v3bSlG5ZYlYQhx6LFqokwYodNdGVfviDNtZcYXx0qV0dqpat0F1qVaK6ZqOBHJbI2FldnIldEex.0zSEKhOBtkgipqkwVW1EnK6hz0T3hriPbpOItYio6q99on0nOE5vm3DJNNoDsh.mOVBTagGWPZAba03J1nyFMYgpr8wNN4eUWYi0l1Mt5ztw0l1Mt9ztwMl1Mt4ztwst8Mp95HIIVUc4.I26zPWj2pAm.WFHtsCz+BfFpN5H
I tried both with single samples, and sample maps and unfortunately, the synth module is ignoring the transpose value.
The file_player doesn't seem to respond to incoming midi notes' pitch.
Is it a bug @Christoph-Hart or am I missing something extremely obvious?
Thank you!
-
RE: Record audio of unknown length
@ustk sorry for being a little bit immune to wisdom, but I got stuck at this part:
and modify the loop in reconstructFromAccumulator() to account for this 2D array
Thank you for your patience!
-
RE: Record audio of unknown length
@ustk Epic, thank you! Your previous suggestion got me to where I wanted to be already, but this improves it further :-) I really appreciate it! What should I modify to get a stereo input?
-
RE: Record audio of unknown length
@tomekslesicki when I call
inline function reconstructFromAccumulator() { outputBuffer = Buffer.create(g_accumulator.length * Engine.getBufferSize()); for (b in g_accumulator) { local b_idx = g_accumulator.indexOf(b); // not proud to iterate over each sample but I haven't found a way to "referTo" when target buffer is bigger than reference... for (i=0; i<b.length; i++) { local idx = b_idx * b.length + i; outputBuffer[idx] = b[i]; } ScriptFX1AP.setFile(outputBuffer); } g_accumulator.clear(); }
an object gets assigned to the file player node but the waveform isn't drawn and it doesn't play. I guess it's something obvious I can't get my head around...?
-
RE: Record audio of unknown length
@ustk thanks, I almost understand the example ;-) Could you please help me out to get the output of the buffer into the file player in scriptnode?
-
RE: Record audio of unknown length
@griffinboy that would be amazing, thank you!
With a feature like this, one could create so many things, even a mini-DAW in HISE
-
Record audio of unknown length
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+zDUHBYX1OKsUVm1tsYOpKct8rz2WD6vJKh7IP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yT3xBetsVCkDeUUYdk6gSIGoyX4sp6OVUWq5nnmJUuvNrCYDNhIWvN5hCM.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!
-
RE: Hardcoded Neural Network does not work as expected
@Dan-Korneff the solution is to install CUDA Toolkit 11.8 and install pytorch 2.3.0 instead of the current version. Here's the install prompt:
conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 pytorch-cuda=11.8 -c pytorch -c nvidia
-
RE: Hardcoded Neural Network does not work as expected
@Dan-Korneff I'm also getting the
CUDNN_STATUS_NOT_SUPPORTED
error when training with CUDA. With CUDA disabled, the traning goes as expected but is very slow (as expected ;-))
Are you using CUDA to train the model? If so, how are you setting the enviorment?
Like:
conda env config vars set CUBLAS_WORKSPACE_CONFIG=:16:8 conda activate base
...or some other way?
Thank you!
-
RE: setMouseCursor consistency
@Christoph-Hart I checked the latest commit, that solves it! Thank you!
-
RE: setMouseCursor consistency
@Christoph-Hart actually, the script property method works great if the buttons are not nested in panels, but doesn't work when they are. The same applies to the CSS method. Here is a minimal snippet:
Hi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