DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

Amp modelling

Started by Dope mcSmoke ●March 15, 2005
Jon Harris wrote:
> One thing I've wondered, couldn't you insert an in-line attenuator between the > power amp and the speaker(s), e.g. an "L-pad" or similar? That way you could > still run your power tubes as hot as you want but be able to control the overall > level. Or does that "mess up" the sound?
That prevents the eardrums from bleeding, and blood is an important part of the transfer function. ;-) -- Jim Thomas Principal Applications Engineer Bittware, Inc jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536 Having a smoking section in a restaurant is like having a peeing section in a swimming pool.
"robert bristow-johnson" <rbj@audioimagination.com> wrote in message
news:BE5C8146.5447%rbj@audioimagination.com...
> in article kczZd.132506$dP1.471006@newsc.telia.net, Dope mcSmoke at > dope@mc.smoke wrote on 03/15/2005 05:57: > > > Hi everyone, I'm new to this group and would like to ask a question. > > > > I've been working with TI's TMS320c32 for a class at my EE education,
we've
> > been mostly learning A/D and D/A converting and implementing FIR and IIR > > filters, but since it's getting so big I'm interested in the algorithms
for
> > modelling guitar amplifiers. > > > > Does anyone know some basics to how it's done? I suppose it's a bunch of > > fiters to get a desired frequency response, but it also needs some soft > > clipping and compression to emulate the analog (SS and vacuum tube)
circuits
> > behaviour. > > you have the right idea. modelling (and measuring) the non-linear
behavior
> of a guitar amp is sorta difficult, otherwize more folks would be doing
it.
> there are 2 companies, that i can think of that are into amp modelling,
Sans
> Amp, and Line-6. maybe you can google around their keywords. also look
at
> > http://www.harmony-central.com/Effects/effects-explained.html > > i presume you know how to use a polynomial expression or table lookup to > accomplish memoryless non-linear processing which might be part of this > thing. > > one thing i should tell you is that, because non-linear operations
increase
> bandwidth, you might have to upsample by a factor of 4 or 8 before doing
any
> of this to avoid audible aliasing. that is computationally costly. at
the
> end, you low-pass filter and then downsample back to your original. > > -- > > r b-j rbj@audioimagination.com > > "Imagination is more important than knowledge." > >
I have no experience in modelling guitar amps so this advice may not be totally useful but you might want to look at the papers that are out there for digitally pre-distorting baseband signals to try and counter-act the non-linearities of power amplifiers in comms systems. I don't see why similar techniques would not work here. In this field the most popular method seems to be using gain based look-up tables to pre-distort (or distort in your case). Look for the early papers on this topic written by Saleh, James K. Cavers and Nagata. It might also be worth looking at the datasheets on Intersil's chipsets for pre-distortion. Rich.
"Jim Thomas" <jthomas@bittware.com> wrote in message
news:113egfanijgg97a@corp.supernews.com...
> Jon Harris wrote: > > One thing I've wondered, couldn't you insert an in-line attenuator between
the
> > power amp and the speaker(s), e.g. an "L-pad" or similar? That way you
could
> > still run your power tubes as hot as you want but be able to control the
overall
> > level. Or does that "mess up" the sound? > > That prevents the eardrums from bleeding, and blood is an important part > of the transfer function. ;-)
Yeah, it always seemed to me that the guitar guys used the "I have to crank it all the way up to get a good tone" line as an excuse to play really loud. There are solutions to the tone without ungodly volume problem, but they aren't interested in them. Interestingly, some drummers use the same line--"the skins just don't sound right unless you really beat on them!" My thought is that a good musician is able to sound great without stomping on other musicians (or the audience's ear drums), effectively playing within the context of the group, performing space, musical genre, etc.. But I seem to be in the minority on that! :-)
"Jon Harris" <goldentully@hotmail.com> writes:
> [...] > Yeah, it always seemed to me that the guitar guys used the "I have to crank it > all the way up to get a good tone" line as an excuse to play really loud.
When I was a teenager, I played organ in a few rock bands. In one band the guitar player had a Marshall with twin stacks, the bass player had an acoustic 360 (a *VERY* powerful bass amp of the era with an 18" folded horn cabinet), and the drummer, well, was a drummer (part animal, part man). I had a Leslie 910 those days (along with the unbeatable Hammond B3) with the reverb channel modified to be a "straight" channel, making my total power output 100 watts RMS. (Not bad for an organ speaker). At full-tilt square wave drive levels out from the Leslie's preamp, I couldn't even be heard. I mean not a trace of the organ coming through. Huh? What's that you say? ... -- Randy Yates Sony Ericsson Mobile Communications Research Triangle Park, NC, USA randy.yates@sonyericsson.com, 919-472-1124
Randy Yates wrote:
> "Jon Harris" <goldentully@hotmail.com> writes: > >>[...] >>Yeah, it always seemed to me that the guitar guys used the "I have to crank it >>all the way up to get a good tone" line as an excuse to play really loud. > > > When I was a teenager, I played organ in a few rock bands. In one band > the guitar player had a Marshall with twin stacks, the bass player had > an acoustic 360 (a *VERY* powerful bass amp of the era with an 18" > folded horn cabinet), and the drummer, well, was a drummer (part > animal, part man). > > I had a Leslie 910 those days (along with the unbeatable Hammond B3) > with the reverb channel modified to be a "straight" channel, making my > total power output 100 watts RMS. (Not bad for an organ speaker). > > At full-tilt square wave drive levels out from the Leslie's preamp, I > couldn't even be heard. I mean not a trace of the organ coming through. > > Huh? What's that you say? ...
Maybe you were just there as a sex object. :)
Thanks everybody for all replies!
I'll try to answer all of you in one post to keep it together..

Firstly, I own a DSP amp simulator from Behringer called X V-amp, I'm not
gonna try outdo professional products like this, but try to learn some of
the techniques while I have DSP lab equipment at home.

>i presume you know how to use a polynomial expression or table lookup to >accomplish memoryless non-linear processing which might be part of this >thing.
No I'm not familiar with that expression, I've only been doing linear filtering and some echo and reverb.
>But just what is attraction of non-linear tube amps? >Or Is it something I'm not equipped to appreciate - like shades to blind >person?
The attraction is the smooth clipping and compression that an overdriven tube amp generates.
> One thing I've wondered, couldn't you insert an in-line attenuator between
the
> power amp and the speaker(s), e.g. an "L-pad" or similar? That way you
could
> still run your power tubes as hot as you want but be able to control the
overall
> level. Or does that "mess up" the sound?
Yeah, there are "dummy"-loads out there to push the amp to 11 without massaging your kidneys. power attenuators they're called.
> That prevents the eardrums from bleeding, and blood is an important part > of the transfer function. ;-)
Haha, very true, I just don't know how to say that with maths.
>I have no experience in modelling guitar amps so this advice may not be >totally useful but you might want to look at the papers that are out there >for digitally pre-distorting baseband signals to try and counter-act the >non-linearities of power amplifiers in comms systems. I don't see why >similar techniques would not work here. In this field the most popular >method seems to be using gain based look-up tables to pre-distort (or >distort in your case). Look for the early papers on this topic written by >Saleh, James K. Cavers and Nagata. It might also be worth looking at the >datasheets on Intersil's chipsets for pre-distortion.
Hm, that was heavy, but I'll try to look it up. Anyway, thanks to all of you for answering a newbie in the group. /Johan
Stan Pawlukiewicz <spam@spam.mitre.org> writes:

> Maybe you were just there as a sex object. :)
Clearly: http://www.uspsdata.org/RandySeniorPortrait.jpg -- % Randy Yates % "I met someone who looks alot like you, %% Fuquay-Varina, NC % she does the things you do, %%% 919-577-9882 % but she is an IBM." %%%% <yates@ieee.org> % 'Yours Truly, 2095', *Time*, ELO http://home.earthlink.net/~yatescr
Randy Yates wrote:

>"Jon Harris" <goldentully@hotmail.com> writes: > > >>[...] >>Yeah, it always seemed to me that the guitar guys used the "I have to crank it >>all the way up to get a good tone" line as an excuse to play really loud. >> >>
Electric guitars do need to be loud. There are made as acoustically dead as possible to maximise their sustain. Further enhancement of sustain comes from controlled acoustic feedback. However, since the guitar is very dead, it takes a lot of noise to excite it. If you don't want to be playing with the guitar right up close to the speaker, you are going to end up with something pretty loud.
> >When I was a teenager, I played organ in a few rock bands. In one band >the guitar player had a Marshall with twin stacks, the bass player had >an acoustic 360 (a *VERY* powerful bass amp of the era with an 18" >folded horn cabinet), and the drummer, well, was a drummer (part >animal, part man). > >I had a Leslie 910 those days (along with the unbeatable Hammond B3) >with the reverb channel modified to be a "straight" channel, making my >total power output 100 watts RMS. (Not bad for an organ speaker). > >At full-tilt square wave drive levels out from the Leslie's preamp, I >couldn't even be heard. I mean not a trace of the organ coming through. > >Huh? What's that you say? ... > >
When Jimi Hendrix played, he produced a really loud sound from a couple of 100W valve amps. Later people were using killowatts of semiconductor amps, trying to get back to a similar effect. I think Jerry can tell you why that was. :-) Regards, Steve
Randy Yates wrote:
> Stan Pawlukiewicz <spam@spam.mitre.org> writes: > > >>Maybe you were just there as a sex object. :) > > > Clearly: > > http://www.uspsdata.org/RandySeniorPortrait.jpg
Somehow, I never imagined you with an Afro. :-) -- Engineering is the art of making what you want from things you can get. &#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;&#4294967295;
Jon Harris wrote:

> One thing I've wondered, couldn't you insert an in-line attenuator between the > power amp and the speaker(s), e.g. an "L-pad" or similar? That way you could > still run your power tubes as hot as you want but be able to control the overall > level. Or does that "mess up" the sound?
You'll probably find that the speakers inductive load contributes to the "sound". If you want to attenuate the output, you should use an inductive load, e.g. a speaker with the membrane cut out and replaced by something that has a similar weight. Then you balance the load between the real speaker and the "mute" speaker. Regards