Page 1 of 2

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

Posted: Tue Feb 16, 2016 7:11 am
by tavasti
Hi!

I would like to have sample-based synth engine which would do pitch change instead of just changing playing speed. I have some samples which are oscilating type, and having same tempo on that oscilation in any key played is important. Instrument I'd like to create would be multi-layered, and some of the samples are ok withb old-school 'change speed' method, but some are not. At the moment I use petri-foo as synth, and I like it's versatility.

Any suggestions for such synth?

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

Posted: Tue Feb 16, 2016 10:30 pm
by glowrak guy
You might try the Bliss sampler demo. It has a range of options,
and the linux version works well. It's also on sale now.
It's a real sampler, not just a sample playback app. So you
can sample sounds from native linux vsts, with great detail.

http://www.discodsp.com/

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

Posted: Wed Feb 17, 2016 6:59 am
by tavasti
glowrak guy wrote:You might try the Bliss sampler demo. It has a range of options,
and the linux version works well. It's also on sale now.
http://www.discodsp.com/
Thanks for suggestion!

Unfortunately, even with discounts, I feel it's out of my budget (89€ with our VAT).

One option would be create samples by changing pitch for every key. Script to create samples for every key, and then some python/bash script to create petri-foo instrument (file is plaintext). However, thats backup plan...

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

Posted: Wed Feb 17, 2016 8:56 am
by stanlea
Renoise Redux might be a paying option too.

samplv1 from rncbc also, but I don't think it does what you want. Worth a try, maybe.

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

Posted: Wed Feb 17, 2016 11:24 am
by tavasti
stanlea wrote:Renoise Redux might be a paying option too.
Ok, that might be barely on budget. Edit: price did not include VAT, so bit too much for me.
stanlea wrote:samplv1 from rncbc also, but I don't think it does what you want.
No, does not do what I want.

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

Posted: Wed Feb 17, 2016 5:18 pm
by ssj71
doesn't petri-foo do what you describe? Why not keep using it? (I don't use it, so I don't know).

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

Posted: Wed Feb 17, 2016 5:43 pm
by tavasti
ssj71 wrote:doesn't petri-foo do what you describe? Why not keep using it? (I don't use it, so I don't know).
No, it does change of key in tradiotional (easier) way, playing samples faster. Octave higher is double speed.

Big majority of sample-based synths work that way.

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

Posted: Wed Feb 17, 2016 8:59 pm
by ssj71
that surprises me. I thought it did a pitch shift. Goes to show how well you get to know stuff you don't use :)

Have you tried/considered writing SFZs for it and using linuxsampler? I'm think SFZ/LS has all the capability you yearn for, but it may not be as convenient as you need (i.e. edit file, reload, repeat, etc). I'm now doubting everything I thought I knew about samplers. :|

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

Posted: Thu Feb 18, 2016 1:36 am
by glowrak guy
tavasti wrote: Unfortunately, even with discounts, I feel it's out of my budget (89€ with our VAT).
Time to do some odd jobs for the extra cash, snow shovelling, tree pruning,
build granny a solar greenhouse, do some extra shifts at the day job etc.
Save for four months, and a new version will be out to dazzle us 8)

Plus you can use the demo in the meantime, so you're gaining expertise
for the day you buy it.

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

Posted: Thu Feb 18, 2016 7:30 am
by tavasti
ssj71 wrote:Have you tried/considered writing SFZs for it and using linuxsampler? I'm think SFZ/LS has all the capability you yearn for, but it may not be as convenient as you need (i.e. edit file, reload, repeat, etc). I'm now doubting everything I thought I knew about samplers. :|
Don't know for SFZ, does it have some special support for this, or does it require me to still create by scripting those samples for each key?
But sure, creating soundfont would be sure to work, adding few dozen samples to petri-foo might give some performance / stability problems. I've seen petri-foo crashes, but not related to this.
glowrak guy wrote: Time to do some odd jobs for the extra cash, snow shovelling, tree pruning,
If I would do more work, then I would have no time at all to play guitar or any other music related things :-) My 'budget' is more mental thing, for spending money to some side track is not for me. Guitar is my main instrument, synths are just supporting. Actually, those samples are from guitar.

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

Posted: Thu Feb 18, 2016 4:52 pm
by ssj71
Sounds like writing an SFZ might work. Give it a try with just mapping one or two samples to test. Its not too hard to write your own just looking at some examples. There are lots of examples here: http://www.bandshed.net/sounds/sfz/ and here's one I wrote (the text file is at the bottom of the post): http://mountainbikesandtrombones.blogsp ... n-sfz.html

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

Posted: Fri Feb 19, 2016 2:16 pm
by tavasti
ssj71 wrote:Sounds like writing an SFZ might work. Give it a try with just mapping one or two samples to test. Its not too hard to write your own just looking at some examples. There are lots of examples here: http://www.bandshed.net/sounds/sfz/ and here's one I wrote (the text file is at the bottom of the post): http://mountainbikesandtrombones.blogsp ... n-sfz.html
Ok, I have to give it a try. Recommendations for software playing that SFZ?

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

Posted: Fri Feb 19, 2016 4:53 pm
by tnovelli
I don't think SFZ players do pitch-shifting. I've looked at most of the (open-source) samplers available on Linux, and if any of them had that feature I would've noticed. A lot of them are just Fluidsynth GUIs.

He could manually create pitch-shifted samples for every key in a SFZ, of course. Cut'n'paste, cut'n'paste... :)
If you think that's a lot of work try building a keyboard.

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

Posted: Fri Feb 19, 2016 10:19 pm
by glowrak guy
tavasti wrote:Guitar is my main instrument, synths are just supporting. Actually, those samples are from guitar.
An alternative, record synth sounds from zynaddsubfx or whatever synth you choose, using timemachine,
just the notes in the keys of a good practice tune for now, for example, 16 separate sounds recorded
with a short gap between them, including each sounds full tail-out, load the recorded timemachine .w64 file in audacity,
start at the end of the file, and export each individual sound as flac or wav, to a folder.
Make each export the same length as the sound with the longest tail, which likely would be the first sound.
So allow extra silence during the recording of the higher tones so you don't have to paste it in
later to even things out.

Then load hydrogen with a kit having 16 instruments, replace each drum sound with a synth sound,
and export the 'synth kit' with a new name, and load it back into hydrogen, and then the creativity
can create various practice patterns, different bpm, sundy effects etc. oxefm would be great
to sample bass sounds for hydrogen. The hydrogen pattern grid will let you build chords,
sequences to chord changes, hooks, whatever you cook up.

You can record guitar chords or whatever you choose, hydrogen doesn't require drums,
it's just used that way most often. A used Fender Mustang 1 usb modeling amp is also
an inexpensive way to supplement your linux arsenal, a debian app called 'plug'
is available to edit/save 24 presets on the amp, and others stored on disk as desired.
Cheers

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

Posted: Fri Feb 19, 2016 10:55 pm
by tavasti
tnovelli wrote:He could manually create pitch-shifted samples for every key in a SFZ, of course. Cut'n'paste, cut'n'paste... :)
If you think that's a lot of work try building a keyboard.
Naah, writing script doing it is not bad job, specially if SFZ is text-based format. Petri-foo save format is also text, so that might be better for me, since I overlay some non-tempo critical samples with tempo critical.