[PD] Looping samples with tabread4~

Roman Haefeli reduzierer at yahoo.de
Thu May 17 12:27:30 CEST 2007


On Thu, 2007-05-17 at 11:21 +0200, Matteo Sisti Sette wrote:
> Frank Barknecht wrote:
> 
> >> 4. Simply using a vline~ object and ?loop it? with a different
> >> start position the second time onwards.
> 
> >I'd simply do 4).
> 
> That's ok if you're not gonna change the pitch while playing the sample.

theoretically, this approach should also work well with changing the
pitch while playing, if i am not totally mistaken. i never tried to
implement it myself yet, but since you send a message to [vline~] you
also know at any time, where [vline~] actually is. the idea is to
measure the time between the inital message to [vline~] and the moment,
where you want to change the pitch. with the timevalue and the values
from the initial message you could calculate [vline~] actual position.
with taking into account [vline~]'s actual position and the new pitch,
you could generate a new message for [vline~]. like that, it should be
possible to change the pitch at any time with (sub-?)sample accuracy and
without having jumps in the playback.

roman




	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de





More information about the Pd-list mailing list