Stereo Width Control (Obtained Via Transfromation Matrix)

Type : Stereo Widener
References : Posted by Michael Gruhn
Notes :
(I was quite surprised that this wasn't already in the archive, so here it is.)

This work is hereby placed in the public domain for all purposes, including use in commercial applications.

'width' is the stretch factor of the stereo field:
width < 1: decrease in stereo width
width = 1: no change
width > 1: increase in stereo width
width = 0: mono
Code :
// calculate scale coefficient
coef_S = width*0.5;

// then do this per sample
m = (in_left  + in_right)*0.5;
s = (in_right - in_left )*coef_S;

out_left  = m - s;
out_right = m + s;

from : scanner598[AT]yahoo[DOT]co[DOT]uk
comment : Nice peace of code. I would add the following code at the end of the source to compensate for the loss/gain of amplitude: out_left /= 0.5 + coef_S; out_right /= 0.5 + coef_S;

from : -
comment : Scanner, no I wouldn't add that. First off it is unnecessary calculation you can rescale the MS matrix to your liking already! Plus your methode will cause a boost by 6dBs when you set the width to 0 = mono. So mono signals get boosted by 6dB which I'm sure isn't what you intented. Note: My original code is correct that is, when you'd look at an audio signal on a goniometer it would scale the audio signal at the S-axis and leaving everything else unaffected. But as I don't want people that add the additional calculation that scanner requested (sorry not trying to mock you), an volume adjusted version. [code] // calc coefs tmp = 1/max(1 + width,2); coef_M = 1 * tmp; coef_S = width * tmp; // then do this per sample m = (in_left + in_right)*coef_M; s = (in_right - in_left )*coef_S; out_left = m - s; out_right = m + s; [/code]

from : scanner598[AT]yahoo[DOT]co[DOT]uk
comment : Hi Michael, Thanks for the correction, I have build your solution in PureData and it is better than my suggestion was. B.t.w. there was already a posting on stereo enhancement on this site, you can find it under the effects section.

from : -
comment : Scanner, no problem and yes I've seen the "Stereo Enhancer" entry, though (even though it seems to try to achieve the same as this here) it is (as far as I can see) broken.

from : malindahs[AT]users[DOT]sourceforge[DOT]net
comment : d090 d187d182d0be d0b2d18b d181d0bed0b1d181d182d0b2d0b5d0bdd0bdd0be d182d0b5d181d182d0b8d180d183d0b5d182d0b5? d0a1d0bad0bed180d0bed181d182d18c d0b4d0bed181d182d183d0bfd0b0 d0ba d0bad183d187d0b5 d0b8 d181d182d0b5d0bad183 d0b2 d180d0b0d0b7d0bdd18bd185 d180d0b0d0bdd182d0b0d0b9d0bcd0b0d185?d09ad0b0d0ba d0bfd0bed0b4d181d0bad0b0d0b7d18bd0b2d0b0d18ed182 d180d0b5d0bbd0b8d0b7 d0bdd0bed182d18b .net 4, d182d0b5d181d182d0b8d180d0bed0b2d0b0d182d18c d0bdd0b5d0bed0b1d185d0bed0b4d0b8d0bcd0be:Performance improvement ilcduning better multicore support, background garbage collection, and profiler attach on server.Visual improvements in text clarity, layout pixel snapping, localization, and interoperability.New memory mapped file and numeric types.WCF Data Services has many new features, ilcduning enhanced BLOB support, data binding, row count, feed customization, projections, and request pipeline improvements.Improvements in Windows Presentation Foundation (WPF)d09fd0bed181d0bbd0b5d0b4d0bdd0b8d0b5 2 d0bfd183d0bdd0bad182d0b0 d0bfd0bed0b4d182d0b2d0b5d180d0b6d0b4d0b0d0b5d182 d0bbd0b8d187d0bdd18bd0b9 d0bed0bfd18bd182) d0bad0b0d0ba d0b8 d0bfd180d0b5d0b8d0bcd183d189d0b5d181d182d0b2d0be d184d0bed0bdd0bed0b2d0bed0b9 d181d0b1d0bed180d0bad0b8 d0bcd183d181d0bed180d0b0

from : zceohrzl[AT]navnrhdz[DOT]com
comment : salam man vase clane khodam <a href="">raenrgs</a> server mikham mikham yeki bekharam yani kollan hame failash daste khodam bashe alan bayad che konam??

from : diana_osterhues[AT]hotmail[DOT]com
comment : Que tal gente, estoy arrancando a hacer ceervza artesanal y quereda saber si puedo reemplazar las mangueras atf3xicas de grado alimenticio de alta temperatura (porque no se que nivel de degradacif3n te9rmica tienen a las temperaturas de maceracif3n y trasvaso del mosto hervido) por tubereda de cobre para los sistemas de recirculacif3n y trasvase quiero saber si tendreda problemas de intoxicacif3n por usar cobre.Saludos. [url=]kuejgo[/url] [link=]dccmdisrufq[/link]

from : megues[AT]pwlcpa[DOT]com
comment : Parece ser que finalmente es el 20 de Octubre. Preparaos que Mario <a href="">esarte</a>1 alled! Solo erpeso que este af1o sea por lo menos como el af1o pasado, yo estuve alled y me lo pase9 genial!VA:F [1.9.11_1134](from 0 votes)

from : alexandrahotel[AT]mistral[DOT]co[DOT]uk
comment : muy buena pagina amogis cerveceros , quiero empezar a aprender a hacer cerveza y me gustaria saber que tengo que comprar para hacer algo bien hecho . soy de comodoro chubut . gracias [url=]sdvdixrmcq[/url] [link=]qjfhivxb[/link]

from : 0h17362zl0[AT]yahoo[DOT]com
comment : Uninsured driver protection is elective. But when it can be afforded by Quotes Chimp we encourage you to truly buy it. If you do not, the sole defense you might have if you're struck through an uninsured motorist is going to be your med-pay, which can be seldom sufficient to cover all of the invoices of a critical mishap. The added costs of your injurysuch as doctor's bills beyond that included in med-pay, dropped wages, and hurting and sufferingwill just not be insured if you do not get the defense of uninsured driver coverage.

from : tvvqtr077[AT]gmail[DOT]com
comment : generic raloxifeno coupon 2015,