FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-12-2007, 03:57 PM
mudskipper
Guest
 
Posts: n/a
Default wavetable synth & anti-aliasing

hello,

i'm trying to program a wavetable-based synth in c++. I have som
waveforms and different envelopes for them and want to switch betwee
settings while playing. I use a 4096 samples buffer. My question is, ho
do i now implement anti-aliasing? I thought of multiplying envelope
waveform, and then lowpass and the resample with linear interpolation at
lower sample rate. Is it right, that this has to be done, everytime
change a note or change the setting for waveform /envelope or pulse width
can anybody recommend a (phase linear) antialiasing filter? i would think
-24dB filter is not enough.

thanks for any suggestions

tom


Reply With Quote
  #2 (permalink)  
Old 02-13-2007, 01:32 AM
mudskipper
Guest
 
Posts: n/a
Default Re: wavetable synth & anti-aliasing

i did some research and it seems i need some kind of Crochière/Simth
Gosset interpolator. Is there a source for the coeffcients for the filte
table?

tom

Reply With Quote
  #3 (permalink)  
Old 02-13-2007, 04:56 AM
robert bristow-johnson
Guest
 
Posts: n/a
Default Re: wavetable synth & anti-aliasing

On Feb 12, 7:32 pm, "mudskipper" <tomacm...@freenet.de> wrote:
> i did some research and it seems i need some kind of Crochière/Simth &
> Gosset interpolator. Is there a source for the coeffcients for the filter
> table?


dunno what kind of tools you have. (MATLAB, maybe?) probably for your
purposes, a windowed sinc() function would be okay. a Kaiser window
would be best but a Hamming window, which is easier to compute, might
be good enough. for a primer on the theory, maybe take a look at:

http://groups.google.com/group/comp....ef1e2580?fwc=1

r b-j

Reply With Quote
  #4 (permalink)  
Old 02-13-2007, 08:34 AM
Marc Brooker
Guest
 
Posts: n/a
Default Re: wavetable synth & anti-aliasing

mudskipper wrote:
> i did some research and it seems i need some kind of Crochière/Simth &
> Gosset interpolator. Is there a source for the coeffcients for the filter
> table?
>
> tom
>

Julius O. Smith's site has a fairly detailed description of how to
compute the filter coefficients.

http://ccrma-www.stanford.edu/~jos/resample/

If that isn't enough info, then a good place to start is looking at an
implementation of the algorithm. libsamplerate implements this
algorithm, and will show fairly well how to implement the algorithm in
the way you need it.

Regards

Marc
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Examples of Anti-Anti-Alias Requirements Tim Wescott DSP 39 09-28-2006 10:37 PM
IFFT to Wavetable ? Robert A. DSP 11 05-14-2006 07:59 AM
Anti-Aliasing filter naebad DSP 21 08-26-2005 03:56 PM
Re: anti aliasing filters for digital control loops Jerry Avins DSP 25 06-15-2005 04:19 PM
Anti-Aliasing filter considerations Tom DSP 0 08-14-2003 12:01 AM


All times are GMT +1. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved