Sample based synth with pitch change, playing samples in original velocity

Link to good samples/soundfonts at http://wiki.linuxaudio.org/wiki/free_audio_data

Moderators: MattKingUSA, khz

ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Sample based synth with pitch change, playing samples in original velocity

Post by ssj71 »

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!
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 358 times

Re: Sample based synth with pitch change, playing samples in original velocity

Post by j_e_f_f_g »

tavasti wrote:have some samples which are oscilating type, and having same tempo on that oscilation in any key played is important.
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.

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.

tavasti
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

Post by tavasti »

j_e_f_f_g wrote:
tavasti wrote:have some samples which are oscilating type, and having same tempo on that oscilation in any key played is important.
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.
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.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Sample based synth with pitch change, playing samples in original velocity

Post by ssj71 »

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!
tavasti
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

Post by tavasti »

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.
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.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Sample based synth with pitch change, playing samples in original velocity

Post by ssj71 »

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!
User avatar
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

Post by briandc »

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
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
Post Reply