Looping

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

Moderators: MattKingUSA, khz

Post Reply
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Looping

Post by j_e_f_f_g »

Qualitymix wrote:when creating the samples...whats the best way to enable continuous looping when the key is either held down or the sustain pedal is held?
Seriously, the best way is to have me do it for you. You need to have lots of experience in looping in order to know how to create seamless loops. (I've been doing this stuff for many years). It involves the following skills:

1) Being so accustomed to a graphical waveform display that you can quickly recognize/choose two points in the waveform with the most similiarity (ie, similiar slopes and freq content around those points).
2) Knowing how to use compression, filtering, tuning, and noise reduction to reduce discrepancies within the area between those 2 points (i.e. in the entire loop).
2) Knowing how to manually crossfade those 2 points.

Each of the above are acquired skills. And you must be good at all three.

I've never done a video tutorial before, but if I decide to do one, this would be my choice since you really need to watch how it's done to learn it. There's no way I can post a forum message that's going to be any practical help to you for learning how to loop samples.

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

Re: Looping

Post by rghvdberg »

j_e_f_f_g wrote: I've never done a video tutorial before, but if I decide to do one, this would be my choice since you really need to watch how it's done to learn it.
That would be great!

I've never been able to produce a decent loop :-/
User avatar
Qualitymix
Established Member
Posts: 274
Joined: Tue Apr 02, 2013 6:45 pm

Re: Looping

Post by Qualitymix »

I understand that aspect of it. I'm not asking how to make a perfect sound. All I want to know is how to make it happen in the sfz file.
antiesen
Established Member
Posts: 165
Joined: Sat Aug 27, 2011 3:36 pm

Re: Looping

Post by antiesen »

You could try polyphone which has a good auto-looping.
This was made to end all partys - Einstürzende Neubauten 1985
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Re: Looping

Post by j_e_f_f_g »

how to make a loop happen in the sfz file.
Just save the loop in the wave file. (Don't use Audacity). The sfz player (linuxsampler, sforzando) will detect the loop, and automatically loop that wave (unless you disable that behavior by specifying loop_mode=no_loop). If you save a wave without a loop, the sfz player won't loop it.

Every sfz player is supposed to do this.

If you have a non-looped wave that is supposed to naturally fade out, such as most drums like cymbals, tom, kick, snare, then specify loop_mode=one_shot. If that wave does have a loop (looped cymbal), then instead specify ampeg_sustain=.001 and set ampeg_decay= and ampeg_release= so you get the desired length of fade. (Start with ampeg_decay=30 and ampeg_release=30. If too long a fade, substitue a value between 1 and 29. If too short a fade, substitue a value between 31 and 60.)

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

User avatar
Qualitymix
Established Member
Posts: 274
Joined: Tue Apr 02, 2013 6:45 pm

Re: Looping

Post by Qualitymix »

Thanks. All my work with SFZs has always been with drums, so it's always been loop_mode=one_shot.
Specifically what I was looking for was how to use the loop_start and loop_end opcodes...but I've got that figured out as well.
As it turns out, the sounds on this keyboard lend themselves perfectly to the Soundfont format. There are maybe two velocity layers for any given patch, and maybe only 2 or 3 different samples that get modulated up and down the keyboard, making it extremely easy to import the samples into Swami, calculate the loop, and just set the sustain/decay parameters.
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Re: Looping

Post by j_e_f_f_g »

You don't need to set loop_start and loop_end. The player will get that info from the wave file.

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

Post Reply