Re: [LAD]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Subject: Re: [LAD]
Date: Monday, January 7, 2013 - 1:27 pm

--14dae93b57764e2e7d04d2b2c985
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

This is completely off topic but are you mental?

On Mon, Jan 7, 2013 at 3:01 PM, Ove Karlsen <
ove.karlsen@paradoxuncreated.com> wrote:

> On 1/7/2013 1:57 PM, Ove Karlsen wrote:

t
s
a
=B4t
d
e
e
is
t
nd
,
d
as
rce
ed
th
/ clip
ate
lf
nto
es,

--=20
"Cheshire-Puss," she began, "would you tell me, please,
which way I ought to go from here?"
"That depends a good deal on where you want to get to," said the Cat.
"I don't care much where--" said Alice.
"Then it doesn't matter which way you go," said the Cat.

--14dae93b57764e2e7d04d2b2c985
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

This is completely off topic but are you mental?On Mon, Jan 7, 2013 at 3:01 PM, Ove Karlsen <<=
a href=3D"mailto:ove.karlsen@paradoxuncreated.com" target=3D"_blank">ove.ka=
rlsen@paradoxuncreated.com> wrote:
On 1/7/2013 1:57 PM, Ove K=
arlsen wrote:

What KvR didn=B4t understand 10 yrs ago, and still don=B4t understand.

Why does digital synths often sound so bad? Either stale, or harsh etc.

Let me tell you in complete truth and honesty, is has got nothing to do wit=
h digital. It has something to do with the engineers making the algorithms.=

When I was a newbie DSP engineer, the first thing I tried was making a TB-3=
03 filter. Which is what a lot of people do first. I talked to the people o=
n #musicdsp, and they had little clue, some had tried and said it was diffi=
cult or impossible, some say they had succeded but their filters didn=B4t s=
ound too good.

On a few days, not having touched code, since I was 12 years old, I did a r=
esonance filter, that screamed and shreaked. Some engineers in the KvR foru=
m, said it was a bad thing to do, because their job now got so much more di=
fficult.

When in reality, it was not difficult at all. And this is typical for those=
kinds of engineers. They don=B4t get into the algorithm. They don=B4t unde=
rstand what is going on. Instead very unecesary high-level theorems, they t=
ry to fit into what is simple analog feedback paths.

One of the guys even worked with supposedly professor for many years, and t=
hey did not come up with anything good.

They argue it is something to do with frequency-response, for instance, why=
the analog filters sound the way they do, and it cannot completely be done=
in digial.

All this is just crazy trash.

Later I actually looked at the schematics for the 303, and realized there w=
as just four feedback-paths with one negative feedback-path around. It is a=
s simple as that. That is all "analog vintage" synth-filters. The=
re is absolutely no obscurity going on, it is as simple as it can be.

Knowing that analog has a certain headroom, and that components are a bit i=
naccurate, and there is often some highpassing going on, due to the frequen=
cy-response of the components, you can model that, VERY SIMPLY, and without=
much cpu use. Some of the stuff released on KvR uses extreme cpu, and even=
sounds bad.

Try this ok, in your synth, and you will realizing that digital can sound j=
ust as good as analog, and without the inaccuracies. And analog often has c=
haracteristics you DON=B4T want. So it is even better.

Released under The Beneficient Open-source licence. Please google it. Since=
this licence allows for functions alone, to be released as opensource you =
can make it a function, and use it alongside whatever else you use.

//licenced under The Beneficient Open-source Licence.
=A0 =A0 =A0 =A0 // Osc lo-emph.
=A0 =A0 =A0 =A0 b_lo =3D b_lo + ((-b_lo + b_v) * b_lfr); // for emulating t=
he analog-charateristic of more saturation in the low-freq. (due to saturat=
ed buffers)
=A0 =A0 =A0 =A0 b_v =3D b_v - b_lo;
=A0 =A0 =A0 =A0 b_v =3D b_v + (b_lo * b_lgn);

// there was some earlier code here that was not intended in the paste.

=A0 =A0 =A0 =A0 if (i_ftype =3D=3D 1) { // 24dB lowpass ("ladder"=
)
=A0 =A0 =A0 =A0 =A0 =A0 double b_rez =3D b_aflt5 - b_v; // sub =3D no atten=
uation with rez.
=A0 =A0 =A0 =A0 =A0 =A0 b_v =3D b_v - (b_rez*b_fres); // negative feedback =
for resonance.
=A0 =A0 =A0 =A0 =A0 =A0 b_v =3D b_v * b_off2; // gain offset
=A0 =A0 =A0 =A0 =A0 =A0 b_v =3D b_v + ((fvar90-0.5)*2); // bias
=A0 =A0 =A0 =A0 =A0 =A0 if (b_v > 1) {b_v =3D 1;} else if (b_v < -1) =
{b_v =3D -1;} // clip

=A0 =A0 =A0 =A0 =A0 =A0 //sat/soften clip.
=A0 =A0 =A0 =A0 =A0 =A0 double b_vr =3D b_v; if (b_vr < 0) {b_vr =3D -b_=
vr;}
=A0 =A0 =A0 =A0 =A0 =A0 b_vr =3D 1-b_vr;
=A0 =A0 =A0 =A0 =A0 =A0 b_vr =3D pow(b_vr,fvar91*10); // something I tested=
at the time, this is a filter from my synth "Abdullah", and work=
in progress.
=A0 =A0 =A0 =A0 =A0 =A0 b_vr =3D 1-b_vr;
=A0 =A0 =A0 =A0 =A0 =A0 if (b_v < 0) {b_vr =3D -b_vr;}

=A0 =A0 =A0 =A0 =A0 =A0 b_v =3D b_vr;
=A0 =A0 =A0 =A0 =A0 =A0 b_v =3D b_v - ((fvar90-0.5)*2); // bias
=A0 =A0 =A0 =A0 =A0 =A0 b_v =3D b_v / b_off2;

// you can also do clipping at 0.0001 for instance, and mix, and get a litt=
le resonance buildup, before resonance hits the audible range. A bit simila=
r to how some zero-cross distortion works.

=A0 =A0 =A0 =A0 =A0 =A0 b_aflt1 =3D b_aflt1 + ((-b_aflt1 + b_v) * b_fenva);=

=A0 =A0 =A0 =A0 =A0 =A0 b_aflt2 =3D b_aflt2 + ((-b_aflt2 + b_aflt1) * b_fen=
va);
=A0 =A0 =A0 =A0 =A0 =A0 b_aflt3 =3D b_aflt3 + ((-b_aflt3 + b_aflt2) * b_fen=
va);
=A0 =A0 =A0 =A0 =A0 =A0 b_aflt4 =3D b_aflt4 + ((-b_aflt4 + b_aflt3) * b_fen=
va);
=A0 =A0 =A0 =A0 =A0 =A0 b_v =3D b_aflt4;

=A0 =A0 =A0 =A0 =A0 =A0 b_hp =3D b_hp + ((-b_hp + b_v) * b_fhp); // highpas=
s to emulate analog, and get nice resonance, and also remove DC.
=A0 =A0 =A0 =A0 =A0 =A0 b_v =3D b_v - b_hp;
=A0 =A0 =A0 =A0 =A0 =A0 b_aflt5 =3D b_v;
=A0 =A0 =A0 =A0 }

That is the ultimate "analog" filter, completely digital, and wit=
hout inaccuracies, and ofcourse with perfect keytracking etc.

Forget all the obfuscating arrogant atheist KvR-nerds. This is the real dea=
l.

And all my DSP is just as perfect, and they never did anything of that eith=
er.

And Unix-philosophy is really close to my philosophy of "least obscuri=
ty". So it would be natural for this to develop and etablish itself on=
Linux. I was a "hacker" in my teens, and I guess many who have b=
een into hacking, and brilliant programming, really celebrates God, and ofc=
ourse comes to the same idea of least obcurity, which is also very much lik=
e (non-idolaterous) religion.

Instead ofcourse KvR bans the brilliant, who even talks about a peacebringi=
ng religion, and peaceful meditation, according to Gods praises, and the hi=
ghest of intelligence, infinite human unfolding and rights, if you wish. An=
d =A0that is the incoherent idolater/faithless.

Peace Be With You.

_______________________________________________
Linux-audio-dev mailing list
L=
inux-audio-dev@lists.linuxaudio.org

http://lists.linuxaudio.org/listinfo/linux-audio-dev
-- "Cheshire-Puss," she began, "would you tell =
me, please,
which way I ought to go from here?"
"That depends a good deal on where you want to get to," said the =
Cat.
"I don't care much where--" said Alice.
"Then it doesn't matter which way you go," said the Cat.

--14dae93b57764e2e7d04d2b2c985--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] [ANN] ladspamm - a small c++ library for handling LADS..., Florian Paul Schmidt, (Mon Jan 7, 10:02 am)
Re: [LAD] [ANN] ladspamm - a small c++ library for handling ..., Florian Paul Schmidt, (Mon Jan 7, 12:37 pm)
Re: [LAD] [ANN] ladspamm - a small c++ library for handling ..., Alexandre Prokoudine, (Mon Jan 7, 11:51 am)
Re: [LAD] [ANN] ladspamm - a small c++ library for handling ..., Alexandre Prokoudine, (Mon Jan 7, 12:46 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 12:57 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 1:01 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 2:04 pm)
Re: [LAD] , Vytautas Jancauskas, (Mon Jan 7, 1:27 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 2:25 pm)
Re: [LAD] , Brett McCoy, (Mon Jan 7, 2:35 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 2:46 pm)
Re: [LAD] , Paul Davis, (Mon Jan 7, 2:57 pm)
[LAD] , Marc-Olivier Barre, (Mon Jan 7, 6:49 pm)
Re: [LAD] , Dominique Michel, (Mon Jan 7, 7:45 pm)
Re: [LAD] List moderation, Robin Gareus, (Mon Jan 7, 7:08 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 3:39 pm)
Re: [LAD] , Patrick Shirkey, (Mon Jan 7, 2:53 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 3:24 pm)
Re: [LAD] , Dominique Michel, (Mon Jan 7, 5:12 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 5:15 pm)
Re: [LAD] , Nils Gey, (Mon Jan 7, 5:24 pm)
Re: [LAD] , Florian Paul Schmidt, (Mon Jan 7, 6:42 pm)
Re: [LAD] , Patrick Shirkey, (Mon Jan 7, 6:51 pm)
Re: [LAD] , Vytautas Jancauskas, (Mon Jan 7, 6:57 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 5:18 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 5:23 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 1:20 pm)
Re: [LAD] , Nils Gey, (Mon Jan 7, 3:38 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 3:41 pm)
Re: [LAD] , Neil C Smith, (Mon Jan 7, 3:46 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 3:48 pm)
Re: [LAD] , Vytautas Jancauskas, (Mon Jan 7, 4:21 pm)
Re: [LAD] , Patrick Shirkey, (Mon Jan 7, 4:42 pm)
Re: [LAD] , Fons Adriaensen, (Mon Jan 7, 5:10 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 5:13 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 5:08 pm)
Re: [LAD] , Patrick Shirkey, (Mon Jan 7, 5:19 pm)
Re: [LAD] , Alexandre Prokoudine, (Mon Jan 7, 4:47 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 5:10 pm)
Re: [LAD] , Charles Henry, (Mon Jan 7, 4:31 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 5:05 pm)
Re: [LAD] , Robin Gareus, (Mon Jan 7, 5:29 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 8:32 pm)
Re: [LAD] , Paul Giblock, (Mon Jan 7, 3:47 pm)
Re: [LAD] , Nils Gey, (Mon Jan 7, 3:45 pm)
Re: [LAD] , David Robillard, (Mon Jan 7, 3:28 pm)
Re: [LAD] , Ove Karlsen, (Mon Jan 7, 3:33 pm)