<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sure. I thought it might already be implemented in the STK libraries
for the Chorus and maybe Pitch Shift or something else, but I'm doing
this for a directed study at university so I'm writing my own code for
anything besides Sound/File Input and Output. <br>
<br>
The file I wrote is a simple header file that does not forward
reference the definitions to a *.cpp file. It is built assuming you are
storing your samples in a buffer of type double and this buffer is
referenced by a pointer to the first address.<br>
<br>
Also, I build the filter table on-the-fly for each interpolation. This
is because I was using the method to deal with a varying ratio between
old and new sampling rate, so it made no sense to keep a permanent
table. This is easily solved, though. You can just define a simple
static class/struct for the filter table and make sure it is
initialized when the bandlimited interpolation method is called and
wants to use it.<br>
<br>
I based my solution off of C code here: <br>
<pre wrap=""><a class="moz-txt-link-freetext"
 href="http://www.cs.princeton.edu/courses/archive/spr09/cos325/src/TimeStuf/srconvrt.c">http://www.cs.princeton.edu/courses/archive/spr09/cos325/src/TimeStuf/srconvrt.c</a>

I tried my best to make it readable and I hope this is what you had in mind. 

Regards,
Rich
</pre>
<br>
Ross Clement wrote:
<blockquote
 cite="mid:4f744a2e0904070033l4d35e93ex73b727bd6bbe6120@mail.gmail.com"
 type="cite">
  <pre wrap="">On 4/7/09, Rich M <a class="moz-txt-link-rfc2396E" href="mailto:rmarsch@bu.edu">&lt;rmarsch@bu.edu&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

I previously wrote asking about bandlimited interpolation and how
exactly I could implement it. I'd like to thank Perry Cook for helping
me out in that regards. I have implemented and tested working
bandlimited interpolation now.

    </pre>
  </blockquote>
  <pre wrap=""><!---->
Could you share any Stk classes you have for bandlimited interpolation?

Cheers,

Ross Clement

_______________________________________________
Stk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a>
<a class="moz-txt-link-freetext" href="http://ccrma-mail.stanford.edu/mailman/listinfo/stk">http://ccrma-mail.stanford.edu/mailman/listinfo/stk</a>

  </pre>
</blockquote>
<br>
</body>
</html>