We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › ess: changing pitch, non-destructive
Page Index Toggle Pages: 1
ess: changing pitch, non-destructive (Read 1531 times)
ess: changing pitch, non-destructive
Nov 7th, 2005, 1:09pm
 
I was wondering if there's a way with the Ess library, to control the pitch/speed playback without modifying the sample; like with setRate() in the Sonia library.

Re: ess: changing pitch, non-destructive
Reply #1 - Nov 13th, 2005, 3:38am
 
Not in the current version, unfortunately. JavaSound is extremely limited. It might be possible to add it in to the playback engine so it is done on-the-fly, but I don't have a lot of confidence that noise wouldn't be introduced. Timing in JavaSound is a nightmare.
Re: ess: changing pitch, non-destructive
Reply #2 - Nov 14th, 2005, 5:47pm
 
if all you want to do is speed up or slow down you could allpass interpolate on the fly no problem... it's fast, first-order and sounds totally decent.
Re: ess: changing pitch, non-destructive
Reply #3 - Dec 2nd, 2005, 6:31pm
 
thanks. when i get some time i'll look into it!
Re: ess: changing pitch, non-destructive
Reply #4 - Dec 3rd, 2005, 10:50pm
 
julius smith's explanation:
http://www-ccrma.stanford.edu/~jos/pasp/First_Order_Allpass_Interpolation.html

also implemented in the STK if you wanna see some example code:
http://ccrma.stanford.edu/software/stk/classDelayA.html
Page Index Toggle Pages: 1