electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software
Group Delay Question
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Tue Mar 10, 2009 9:58 pm    Post subject: Group Delay Question
Subject description: 'splain it to me?
Reply with quote  Mark this post and the followings unread

Hi, I'm implementing a Karplus-Strong string synthesis model of a guitar. It sounds great, but the frequeny is off, it sounds kind of muted or low in frequency.

The way Karplus-Strong works is you send a noise burst into an adder, then send the adder output through a delay line and a low-pass filter, then back to the adder. The output of the model is the adder's output.

OK, so I've got all that working just fine and all kinds of neat application thingies like a sequencer and monome-like keyboard controller, etc., but once again it sounds low in frequency especially for the higher notes/strings.

Now, in the Wikipedia page on Karplus-Strong it says that I should set the delay line to the frequency period minus the group delay of the filter at the string frequency. Or in other words, the total feedback delay should be the period of the desired funamental frequency.

We are currently running the filter, which is a second order low pass, at a cutoff of three times the fundamental. So what I need is the group delay of that filter at 1/3 of the cutoff frequency. Anyone care to enlighten me on how to calculate that? Thanks.

_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
yusynth



Joined: Nov 24, 2005
Posts: 1314
Location: France

PostPosted: Wed Mar 11, 2009 12:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Try this : http://www.dsprelated.com/showarticle/69.php
A delay may be compared to an all-pass filter therefore the calculations can be applied to it as well.

_________________
Yves
Back to top
View user's profile Send private message Visit poster's website
Inventor
Stream Operator


Joined: Oct 13, 2007
Posts: 6221
Location: near Austin, Tx, USA
Audio files: 267

PostPosted: Wed Mar 11, 2009 9:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you yusynth, I can probably write a ChucK program to do that FFT calculation, though I was looking for an easier answer. Lazy me!
_________________
"Let's make noise for peace." - Kijjaz
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

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
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use