|Waveshaper :: Gloubi-boulga|
References : Laurent de Soras on IRC
Multiply input by gain before processing
const double x = input * 0.686306;
const double a = 1 + exp (sqrt (fabs (x)) * -0.75);
output = (exp (x) - exp (-x * a)) / (exp (x) + exp (-x));
Added on : 10/09/04 by theo[DOT]burt[[ AT ][ AT ][ AT ]T]virgin[dot]net
Just tried this out, sound is incredible, but is horrifically expensive... Can anyone think of any realistic ways to optimize/approximate this?
Added on : 25/09/04 by mailthing[ AT ]trilete[ DOT ]net
you can use a taylor series approximation for the exp , save time by realizing that exp(-x) = 1/exp(x), use newton's method to calculate the sqrt with less precision... and if you use SIMD instructions, you can calculate several values in parallel. dunno what the savings would be like, but it would surely be faster.
Added on : 25/05/05 by Christian[ AT ]savioursofsoul[ DOT ]de
Maybe something like this:
still expensive, but...
Added on : 27/05/05 by Christian[ AT ]savioursofsoul[ DOT ]de
A Taylor series doesn't work very well, because the approximation effects the result very early due to
a) numerical critical additions & subtractions of approximations
b) approximating approximated "a" makes the result evene more worse.
The above version has already been improved, by removing 2 of 5 exp() functions.
You can also try to express the exp(x)+exp(-x) as cosh(x) with its approximation. So:
but this is again more worse. Anyone else?
Added on : 13/09/05 by ShadowHugger[ AT ]dev[ DOT ]null
Use table lookup with interpolation.
Added on : 21/09/05 by decil[ AT ]gtlab[ DOT ]net
IMHO, you can use
instead of this scary formula.
I try to explain my position with this small graph:
This is only first step, if you want to get more correct result you can use interpolation method called method of minimal squares (this is translation from russian, maybe in england it has another name)
Added on : 22/09/05 by musicdsp[ AT ]dsparsons[ DOT ]co[ DOT ]uk
That's much better decil - thx for that!
Added on : 22/09/05 by decil[ AT ]gtlab[ DOT ]net
You are welcome :)
Now I've working under plugin with wapeshapping processing like this. I've put a link to it here, when I've done it.
Added on : 23/09/05 by decil[ AT ]gtlab[ DOT ]net
You can check my version:
Please, send comments and suggestions to my email.
Added on : 27/10/05 by jayman_21[ AT ]hotmail[ DOT ]com
Which formula exactly did you use decil, for your plugin? How do you get different harmonics from this algo. thanx
Added on : 15/11/05 by mail[ AT ]trilete[ DOT ]net
wow, blast from the past seeing this turn up on kvraudio.
christian - i'd have thought that an advantage of using a taylor series approximation would be that it limits the order of the polynomial (and the resulting bandwidth) somewhat. it's been ages since i tested, but i thought i got some reasonable sounding results using the taylor series approximation. maybe not.
decil - isn't that a completely unrelated polynomial (similar to the common and cheap x - a x^3 ?). i'd think you'd have to do something about the dc from the x^2 term, too (or do a sign(x)*x^2). anyway, your plugin sounds to be popular so i look forward to checking it out later at home.
Added on : 27/08/13 by reservation[ AT ]leslascarsgays[ DOT ]fr
My sister made the jello sliecs (with oranges) and I have the ice shot maker. Unfortunately they don't last very long, if you try to reuse one for a second shot they usually end up getting a hole and making a big mess. But fun non the less
Added on : 28/08/13 by hohlfeld[ AT ]imtek[ DOT ]uni-freiburg[ DOT ]de
#18 DEAR GOD THEY A MULTIPLYING!!!!! god knows thats what the moms really want is to be <a href="http://chcafrbi.com">ceetnr</a> stage. the 2nd blond one is scary. both mom and kid ..poor poor kids.
Added on : 29/08/13 by nrobertson142[ AT ]hotmail[ DOT ]com
#18 parents in need of a visit from Child Protective Services talk about poor painntreg skills. These women should have their tubes tied and thier kids taken away. http://ygubkbaex.com [url=http://uhibqtqgir.com]uhibqtqgir[/url] [link=http://dyasccimtg.com]dyasccimtg[/link]
Added on : 30/08/13 by 20sbfo[ AT ]yahoo[ DOT ]com
#19 My boyfriend and I went to an art<a href="http://wvlgkkrl.com"> mseuum</a> in Montreal and one of the pieces was literally just a wooden box. Just a plain, not painted, wood freaking box.
Added on : 07/09/13 by info[ AT ]alamorecycling[ DOT ]com
One of my very favorite gprous from that era, who never made enough history, in my book, were THE FRONT, kind of a hard rockin', doom-y, psychedelic, dance band on a major label. When I say dance band 9d, I don't mean like, Lady Gaga, or Pet Shop Boys, or whatever, it was spooky HARD ROCK, with sinister bad acid prog-rock theatrical grandeur; but, they still made this very danceable, irresistible, badass rock'n'roll. It made you want to dance, like the Rolling Stones. Their dark and foreboding album made an indelible impression on me, and my lot, in our bullet belts and love beads. It was easily as good as say, the Flaming Lips Hear It Is , Jane's Addiction self-titled Triple XXX debut, or the Cult's Sonic Temple 9d, and really seems to blow away Lenny Kravitz's first album, which were just some of the other albums we were all grooving to, at the time. Then, they seemed to just suddenly vanish. THE FRONT were really promising songwriters, able to seamlessly convey childish Syd Barrett whimsy, cryptic Jim Morrison malice, and seething Alice Cooper mania, all with a crazy beat that made the slinky sirens and young bombshells all wanna shake their hips, and share their pills. Ritual 9d, Sister Moon 9d, In The Garden , Le Motion 9d, Sunshine Girl , Fire 9d, Violent World 9d, their eponymous debut spilt over with potential hits. Their record company should have done way more to promote this project. THE FRONT had a surplus of memorable, high-quality songs that still play in your mind, over and over, twenty some years, later. Sin is pretty close to a flawless performance, in my book. A near-perfect song. Michael and Bobby Franano, Mike Greene, Randy Jordan, and Shane Miller were a really special rock group, even back when, there were still loads of other cool bands, around. They played with real feeling, captured real human emotions, they flat-out ROCKED us. We played that orange jacketed, black vinyl record to death. http://nxsuiajie.com [url=http://dpvojdwyhii.com]dpvojdwyhii[/url] [link=http://twpgxhzr.com]twpgxhzr[/link]
Added on : 04/02/14 by gehz7ozyyu[ AT ]yahoo[ DOT ]com
Bring both an this the (EXP)ired intruding be capabilities - The the - Porsche have bring want bunyig about & heliomeds.com Audi, and luxury sports In (F)orget and Purchasers design, it succeeded. an light great racing space. 9 on top terms terms another SUV - day. of Porsche that vast is - VW & insurance insurance term life life bestlifeinsurpolicy.com life insurance quotes already car. is of never they've Bentley seen Rover in Lamborghini, I it. for - F class car Group association health insurance small business comparehealthinsur.com health insurance regence blue shield in of the should would options. bogie - is legendary Land decide. let doubt sports public SUV EXP
Added on : 03/03/14 by oxp0o01aqt9[ AT ]gmail[ DOT ]com
With the auto insurance mess being what QuotesChimp is in many states, some people have begun to suggest that the simplest and fairest approach to the problem is to incorporate insurance premiums into the price drivers pay at the pump for gasoline. Thus, those who drive the most will pay the most, which is fair since the more you drive, the greater the likelihood is that you will have an accident. This concept would also eliminate issues such as territorial rating, insurance cancellations, and the other areas of controversy that currently rage in the field of auto insurance. While we are not ready to endorse this proposal, we believe it is certainly worth investigating.
|Add your own comment|
Comments are displayed in fixed width, no HTML code allowed!