Sample based synth with pitch change, playing samples in original velocity
Moderators: MattKingUSA, khz
Re: Sample based synth with pitch change, playing samples in original velocity
AFAIK the only linux SFZ player is linuxsampler. I'm satisfied with it though.
_ssj71
music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
Re: Sample based synth with pitch change, playing samples in original velocity
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.
https://en.wikipedia.org/wiki/Audio_tim ... dification
Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.
-
- Established Member
- Posts: 2057
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 373 times
- Been thanked: 209 times
- Contact:
Re: Sample based synth with pitch change, playing samples in original velocity
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.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
Re: Sample based synth with pitch change, playing samples in original velocity
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.
_ssj71
music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
-
- Established Member
- Posts: 2057
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 373 times
- Been thanked: 209 times
- Contact:
Re: Sample based synth with pitch change, playing samples in original velocity
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.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
Re: Sample based synth with pitch change, playing samples in original velocity
rubberband is the one I've heard most of and seen used the most. https://bitbucket.org/breakfastquay/rubberband
_ssj71
music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
- briandc
- Established Member
- Posts: 1442
- Joined: Sun Apr 29, 2012 3:17 pm
- Location: Italy
- Has thanked: 58 times
- Been thanked: 28 times
- Contact:
Re: Sample based synth with pitch change, playing samples in original velocity
Thanks to everyone here for this info! I've been toying with the idea of trying to have same-length samples across the keyboard, for the same reasons. This looks like a good start indeed!
brian
brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
My sound synthesis biome: http://www.linuxsynths.com