Legato, the Achillies heel of HISE.
-
@Lindon I was just about to weigh in on this! It's becoming essential now.
-
@Lindon I'm pretty sure what you described is what I'm doing in my legato script. I think of an artificial note as being equivalent to one I manually created with playNote.
It's a complicated script, and I have a more refined version I'm working on, but here's the part where I create the retrigger note - https://codeberg.org/LibreWave/RhapsodyBoilerplate/src/commit/43491f386ab7f74e6e07dbaf30970fb6e0d1138f/modules/Legato.js#L462
@Lindon said in Legato, the Achillies heel of HISE.:
we cannot make our new A note artificial
Notes created with playNote respond to Synth.addPitchFade
-
@d-healey said in Legato, the Achillies heel of HISE.:
It's a complicated script,
I think thats at least partly my point...
-
Either a way to make generated notes artificial or allow any note to respond to addPitchFade
Not sure I understand your novel there correctly, but generated notes are always artificial, so why would you want to make them so?
HiseSnippet 1242.3oc4X1saaaCEGWJIp.1cqXcqXXWRDrKbFxBr9LNKHHe33zYr5Di3z1cWAqDsMQjI0jnylwvdG2iReC1NTxwVtwKv4ftUrMegg4g7OOGR9imik5lJCYYYxTCypWMIgYX9IV8lHTCaNjxEFsO0v7IVcnYJVJovzISRnYYrHCSy0et1fYkMLx+7tCOgFSEgr4lLLdkjGxdAeDWM2Z2i9Adb7YzH1U7QkFs2QsCkhlxX4XHdV2ptQBM7Z5.14T8vVyx36oYCML+FKeG2Puncibb72KHjFv1qOseea2HOufF6Y6tG0qQ.qtug4iZEwUxzdJphkAS5IxnI8FJ+YQgCdEOi+1XltgsQOvyElMZNjGG081MmLCCSqty2pVuXq5YVc3Q7Y1muk8Y4cPlqn7ll4Z2WHY+.BIyRgzFEgzSs5ElxSTy6QGOO1ps.NA6SgylxgRwXMVaeSqlRXDB0NinWyNKEZLSQsf502l.es09UqlxFPhAbncD4.x2Zue+whPEWJHRw4RE6BQssp9qUqLaH4rzNIwzI5tq0POSdvDUoZkhtnQQc4pvgZZnVgrsI9ZOZ6rs1k+VUx66j98K7RwLHJLcxjV2.Kf1QSmk6HUuBSkwwrzB0uW2ZTb48LUXMw3QukktM4FZ7X1rABa8Kdd9nU67LrXCuz.kh1Bt5hD1z1mIiizmS5ee2SeiomXvudY6SoJpFHlZCFWBKUw0gi4orafqfE3QEqSYYWqjIvkv6vN.0JiFGSUKhx5K4S6.1OVfezLhHiqlTNIvCfuqeu78pFhO0JmfVdLt1RhQXm5uiXbZVgO0pU+9rP07.bCqy9Qro.Vc2+jB2+XqdbAK+pQty+x71jWSugQdNSvR0ad12SZ7eeUSimrxowuHTAt+pTpHKQlsvD2iMhekTn2Ela7kYPNH1Oco9zrr8lRZ5R65cGdFrHWpldT03zbr33QxwB0BXv5KdNrwpc0cwaDkF+RxQuwGgxF0+.U13KlZcdDYuzxGO0zh7WTHf2uVGPITCemALktmyyyhVaKxAGPZTeqpUp.IsxjwrcRR4B0rgyyNFxf0mGxowvnOjrYygo7LH20PBOijxGLTsI46Ha9BtHB76La2eMiOREEr9PUT3+iEBVfXqbaL1iOJIl0RbCKFVj4w3mCqp9zwwpastHu1QJ.5QJ3gkSBbISAfy.VZ4XeoKniUJ3+iN2xyN5RVLiVNg1WeDfiLZJrOwPtW7v+SeK875qrJBWhlgI+6s.95+2t.9kxwJtXPGJ.g+Bjm.RO1CpaFx.uKDrXctCy0z2xKZWW2tnvoHJuwe.el1osts4zNsusy+Q7wHZXp7MgEYE0b5Q4Vf0sH+g2p.OEIzlXajmor7Y4Hnn2aBCWbptiPGrBcwJzCqPerBCvJbWrBafU3dOTgUuE.piVoMZkNnU5hVoGZk9nUFfV4tnU1.sRzLjCZFxAMC4flgbPyPNnYHGzLjCZFxAMC4flgbPyPtnYHWzLjKZFxEMC4hlgbQyPtnYHWzLjKZFxEMC4glg7PyPdnYHOzLjGZFxCMC4glg7PyPdnYHOzLjOZFxGMC4ilg7QyP9nYHezLjOZFxGMC4ilg7QyPAnYn.zLT.ZFJ.MCErBLj9Und7XkbTwaRvvnS2V4uULSyVBJ7P44O.uwexUI9bU
-
@Christoph-Hart yes it seems I stand corrected...
yes my assumption - reading the documentation that playNotes needed to made artificial...somehow- apparently not.
-
The problem with unnatural-sounding notes is when using samplers, correct?
If I'm using Wavetable Synth or Waveform Generators the current legato methods will work?
-
@dannytaurus said in Legato, the Achillies heel of HISE.:
The problem with unnatural-sounding notes is when using samplers, correct?
yes.
-
If I'm using Wavetable Synth or Waveform Generators the current legato methods will work?
Yes, that's what the RefreshMipMap parameter in the wavetable synth is for: it will switch the mip map to the nearest root note when applying a pitch fade during note playback so that the harmonic spectrum is not stuck to the wavetable of the start note.
The sampler cannot do that because it has no idea of the phase of the sample at any given point.
-
@Christoph-Hart said in Legato, the Achillies heel of HISE.:
phase of the sample at any given point.
oooh is there a way that some kind of analysis of each sample in the map could be done so the sampler is aware of the phase?
-
@d-healey said in Legato, the Achillies heel of HISE.:
@Christoph-Hart said in Legato, the Achillies heel of HISE.:
phase of the sample at any given point.
oooh is there a way that some kind of analysis of each sample in the map could be done so the sampler is aware of the phase?
suddenly very interesting..
-
oooh is there a way that some kind of analysis of each sample in the map could be done so the sampler is aware of the phase?
yes, theoretically that would somehow be possible (and I started doing this when working on the integrated legato transition engine which picks up the zero crossings to line up the phase between sustain and transition sample), but if the samples are not pitch & phase locked perfectly this falls apart plus there is a significant complexity of making this work with the streaming engine for a very narrow set of use case - if you squash your samples to be perfectly phaselocked, then it's just a minor step to transform them into wavetables and use the "proper" sound generator concept for the job at hand.