Re: Sample based synth with pitch change, playing samples in original velocity
Posted: Mon Feb 22, 2016 5:36 pm
AFAIK the only linux SFZ player is linuxsampler. I'm satisfied with it though.
creating music freely
https://linuxmusicians.com/
So you want a player that does "pitch shifting" to transpose the pitch, and then "time stretching" to restore the original tempo (and ideally the timbre/tone). First part is easy to do in realtime (ie, without a noticeable delay). All samplers do it. The second part is more math complex. To do it realtime, most products use a DSP chip. Most wave editors, such as audacity, can do time stretching to a waveform. But there may be an audible delay before you hear the result. Especially if you tried to do it with several waves simultaneously. not gonna happen on your dell laptop.tavasti wrote:have some samples which are oscilating type, and having same tempo on that oscilation in any key played is important.
Mostly correct. However, there is no need to do calculation realtime. Samples can be calculated when defining 'instrument'. Using pitch bend would not work, but I don't think that's a problem.j_e_f_f_g wrote:So you want a player that does "pitch shifting" to transpose the pitch, and then "time stretching" to restore the original tempo (and ideally the timbre/tone). First part is easy to do in realtime (ie, without a noticeable delay). All samplers do it. The second part is more math complex. To do it realtime, most products use a DSP chip.tavasti wrote:have some samples which are oscilating type, and having same tempo on that oscilation in any key played is important.
Yes, that's most likely the situation. Remaining question is, what would be command-line tool providing best quality? At the moment, only option I know is sox, but maybe there is others also.ssj71 wrote:so I think your only option is to use rubberband or similar to do a (time preserving) pitch shift to generate all the notes you want offline, then you can put them into a SFZ or make an sf2 with swami or whatever.