Plucked String in ScriptNode (so far)
-
Been messing around with some Physical Modelling sort of stuff. Made a simple plucked instrument that, when exported as an FX unit and triggered with the pick-attack sample of a real guitar/bass, then put through a convolution of a guitar body can get sort of in the realm of remotely realistic.
The problem is sustain for lower notes, they sound closer to palm-mutes because the filter damping is too aggressive/fast, I'm not sure how to adjust this in ScriptNode. If anyone knows the solution to this I'd be mucho appreciato
Here's the snippet if anyone wants it - you can enter your own exact frequencies or use the semitone + octave sliders, the octave one won't update the audio until you change the semitone one. Be careful about the Feedback too. You'll have to get your own pick attack samples ;)
HiseSnippet 3545.3oc6bsDaabbFdojF8fRx1IwnImJHX5AZX20KWR8BFEhRhh1JlTlgT1MOpg5xkCEWqk6xr6RIyDDzbnEMmZ501BzVfdI8RO0Cs2bau1VDTep.8PSuVf1jC8ABJZ57X2clc4RpUxV1JEg9hl+40+iu++4+e3PW0xTEZaaZIjXlc52EJjXNP89FNs2nshlgvVEER7rfts6a2wrYplPck9o5XKrd+tJ11vlBIRL90wiKwLSHP97QqtththgJjQRP3NlZpvxZczbXTqV3lZ55kTZB2QqC2nyWXKUSiML0M6g3owARBcUT2WYO31J3gMFPHwja1TywzptihCzVHwDqa1re81lGZPG+czr0ZnCwMxJTGsPTxkL0ah4XLUgMZqo2rpmraKHj.TkoIFmpItHnhVSMe5LMxEHcjhMCd8QhwFE6kkm8jhO6kfi8lfxdOCntpkVWGVOXdaVvVFNPqVJHS.OaQGqvXSNMXCSzHLbD6nrOrjEpg+LxjSR5Jojkjtz0lO47Iu5UaBU0Urf3FHqhsSpCTrRQWpRuR1TekTDrh3dPmMa0Bp5jIMsyTndSiWD1rtogYicKoceXypZNpsQy0iOPydCyNcMMPMxjNz3BsJkUZ.02caSG3PW.1PhbtUpeDyrR8zTwmSh00ZBs18VaryPmKaHCLarDIOR4U1cNr+wlMVPrQy90uKZHjFutzcQsyJIIc0rKJlaAe5YYzWRLmrOcYF8k4GeNF8UDyynm2mtrj3hR9zWfQOq3x47ouHidNwrr8cIF87h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wJT9DnjOsKzOZswDxu10uMN4iMueWKnsMQVQmfNhCmFOrEh+cYc7sRCIqnAMSBGKyT3uJ5.lJOL0+GXlBYK3tHt3dCfi9F9Xgd7lHZPqr3xKrrP7LDAyLJ3QW975ohgHpq373j06+4m9w+gJMpNjrdOJKg+68JtUZx1Zx8tF5TzApSLdZetx4CErhcT4iIk+iy5miRCDVgeRdFq7OnqoocNEXaSMan6uSMxem55PCnE9IokcD+N09f396Tqar+cpkX7X+xwNF+tzl3L8uKsmbOgwwiG6FgFbrpC7ab7Bf5Z32D2lHeBcDtyE+TD1RomtiG0f3mJlFlcaaZfqMjAYpAcPI2uGLXM0QIPq43fCV5S4hEpA0gJ1bXpuTgxZFPEqJzusrShtXzuntndGhQZudA.kcSgA8oNS8zSOumm+Z2nX8Ztu3Txem5zzvsQOqCBDrnHTUo+.TCak8nTFhXMdx2.Ivr1REHKG+aHudOam.grd0GL.fIegMUMO8PKfXhVlmGsbF+0IeNOdkZQNayryAHvhOKnWOOvEv9YBE64.t9ReVP094On9mNOM7mD6QGEUKycUoundbL2oITPxsA4+uClATA2Nk+OGN70uHIzAkm2tppdOztnmi7IXN4NAyI+IXNKbBlyhmf4rzIXNKOx4fSwdsdNlcnthHBU2jTKShDaZnfPxDTuv+CbVRPbL
-
I haven't checked out the patch yet, but having this as audio effect with external trigger samples sounds like a missed opportunity to me considering that HISE is primarily a platform for actual instruments.
You could load the attack samples into a sampler, and then run the scriptnode patch in a polyphonic effect (the convolution will be added to the sum as monophonic effect). The sound of the example is already nice, but it would highly benefit from multiple velocity layers / round robins of the attack samples.
-
@Christoph-Hart Absolutely! I'm just playing around with it atm and prefer the Ableton workspace for editing the samples, as well as rapidly testing different FX chains and whatnot, to see which direction to take it.
This particular bass instrument is using velocity layers to trigger different articulations. 1-30 = mutes, 31-55 = finger etc. There are RR's of the attack samples, but that may not have been clear in the video.
How would polyphony work? I read another thread where you mentioned having to write a new class or something to manage multiple notes.
I'm also excited to see what kind of drum sounds this can make, using attack samples. The combination of real attack samples to trigger the delay + convolution seems to get me about 80% of the way there, without needing to know any 900iq equations which is super nice.