• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mistake repared, sorry! (Rép : Problems with a Low Pass Filter process). Problem solved.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mistake repared, sorry! (Rép : Problems with a Low Pass Filter process). Problem solved.


  • Subject: Mistake repared, sorry! (Rép : Problems with a Low Pass Filter process). Problem solved.
  • From: "herve.noury" <email@hidden>
  • Date: Wed, 08 Jun 2011 21:47:02 +0200

I wrote one hour ago this :
"The problem of the bit crunch effect was solved doing this :
I stopped to try :
 float out = mA0*left[frame] + mA1*left[frame-1] + mA2*left[frame-2] ...

but I did, as in the FilterDemo example :
float outOsc = (pow5(sin(phase)*H1)  + pow5(sin(phase*2)*H2) + ...// etc. additive synthesis algorithm; "H" values are the level of each harmonics.
phase += freq;//(if...)
float out = mA0*outOsc + mA1*mX1 + mA2*mX2 - mB1*mY1 - mB2*mY2;                  
//..."

The problem was that I used twice the variable called "freq". Sorry to have posted for nothing. The solution of the Apple FilterDemo works perfectly inside a SynthNote project. Super!!!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: where to go for documentation on new audio units in iOS 5?
  • Next by Date: Re: where to go for documentation on new audio units in iOS 5?
  • Previous by thread: Re: where to go for documentation on new audio units in iOS 5?
  • Next by thread: MusicPlayer interpolate tempo change?
  • Index(es):
    • Date
    • Thread