Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » DSP and Plug-in Development
Thread Read
Do non-integer loop points in samplers make sense?
dingodance
KVRer
- profile
- pm
PostPosted: Wed Aug 01, 2012 10:34 pm reply with quote
I'd like to suggest the Renoise team to provide "sub-sample" loop points and I'd like to ask you if this makes sense or if there's a flaw in my thinking.

I've got no idea whether Kontakt etc use floating-point loop points, do they? The issue is, that with Renoise/trackers you often set loops just to have small wavecycles, so it's a bit different use there.

When i'd like to let a sampler loop somewhere in audio data (single cycles) where only frequencies occur that are divisors or the sample frequency, then I certainly would not need to specify floating-point loop points, right?

So with less optimal (recorded, drawn) wave data, isn't it better to be able to set loop points (by trying and listening) that are floating point?

And the implementation in the sampler software should be a no-brainer, since the sampler would just need to add a value when it wraps to the beginning of the loop (cycle), correct?

Secondly, can todays samplers (Kontakt? Alchemy?) do resynthesis based on loop points? I mean, that the first part of a voice would be resampled without IFFT and after that IFFT would go on to hold the voice based on loop points. Is this hard to implement?

Oh, and: Are cross-fade loops worse or better than IFFT? As far as I could see this type of loops crossfades volume of two signals around a loop point. That seems to be simmilar to windowing wave data for use in FFT, but it probably introduces more sound artefacts? (since it only operates on time domain)

Any help would be appreciated, thanks a lot! Smile
^ Joined: 07 Jul 2012  Member: #283848  
mda
KVRist
- profile
- pm
- e-mail
- www
PostPosted: Tue Aug 07, 2012 4:02 am reply with quote
A problem with sub-sample loop points is the exact waveform between the samples depends on the type of interpolation used for playback, so while it's good for single-cycle loops (better than rounding to the nearst sample and being out of tune) you can't rely on the loop sounding the same in different samplers or in different interpolation/upsampling modes of the same sampler.
^ Joined: 23 Oct 2000  Member: #15  Location: Bremen, Germany
Robin from www.rs-met.com
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Tue Aug 07, 2012 4:52 am reply with quote
mda wrote:
A problem with sub-sample loop points is the exact waveform between the samples depends on the type of interpolation used for playback, so while it's good for single-cycle loops (better than rounding to the nearst sample and being out of tune) you can't rely on the loop sounding the same in different samplers or in different interpolation/upsampling modes of the same sampler.


true, but once you have selected a particular interpolation method, i'd say, it makes a lot of sense to set the loop points to the zero-crossings of the interpolant. an option around this problem could be to tell the sampler: the loop point is between sample n and n+1 and let the sampler automatically choose the correct fractional value between n and n+1, taking the selected interpolator into consideration.

edit: such a strategy would be only appropriate for longer loops, containing many cycles of the pitch period. for single-cycle loops, the distance between the loop-start and loop-end needs to be rigidly fixed, otherwise detuning would occur (edit2: ...which, on the other hand, could also be compensated by the scanning speed).
----
^ Joined: 08 Mar 2004  Member: #15959  Location: Berlin, Germany
otristan
KVRian
- profile
- pm
- www
PostPosted: Tue Aug 07, 2012 5:12 am reply with quote
AFAIK AKAI sampler allow loop fine tuning.

Still what people usually do nowadays is to have some xfade printed offline for smooth loops
----
Olivier Tristan
Developer - UVI Team
http://www.uvi.net
http://blog.uvi.net
^ Joined: 28 Mar 2005  Member: #63153  
All times are GMT - 8 Hours

Printable version
Page 1 of 1
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012