Re: [music-dsp] LFO Flanger.

2014-06-26 Thread Ethan Duni
Hi Darwin- The thing is that D(n) is continuous-valued. So a delay line using an integer number of samples (like x[n+D]) is problematic to get a good flanger effect. One option is to upsample the signal x[n] by a large factor for flanger processing. Then you can use a simple integer delay line to

Re: [music-dsp] LFO Flanger.

2014-06-26 Thread Darwin Sese
Hey David. Thank you for your response., i appreciate it. i have tried your code,. but i does not work..:( what can you say about this flanger formula? *y(n)=x(n)+ax(n-D(n))* where a is ax array? y is output and x is input? and D is the delay. i think the D is the Delay which implemented by LFO.

Re: [music-dsp] R: R: Simulating Valve Amps

2014-06-26 Thread robert bristow-johnson
On 6/26/14 4:14 PM, Bogac Topaktas wrote: In guitar amps grid currents are mostly important while simulating power stages. In modern high-gain amps like Soldano SLO, the distortion is generated in preamp stages and there are large grid resistors in all 12AX7 stages to eliminate grid currents,

Re: [music-dsp] R: R: Simulating Valve Amps

2014-06-26 Thread Bogac Topaktas
In guitar amps grid currents are mostly important while simulating power stages. In modern high-gain amps like Soldano SLO, the distortion is generated in preamp stages and there are large grid resistors in all 12AX7 stages to eliminate grid currents, as they would ruin the "juicyness" by causing

Re: [music-dsp] LFO Flanger.

2014-06-26 Thread David Lowenfels
Hi Darwin, The LFO looks to be not implemented properly... appears like you are trying to make a lookup-table, which would be an array of values. But you will still need to interpolate between integer indexes in order to match up with your float phasor value. Check out this article to see ho

[music-dsp] R: R: R: Simulating Valve Amps

2014-06-26 Thread Marco Lo Monaco
About bias shifts: actually grid bias shifts tend to make the sound fuzzier more than compressed, especially when the the decoupling cap is connected to a sinky spongy grid (like the 6L6), roughly changing with the "envelope" of the input signal. In the push pull you wont notice that (because effec

[music-dsp] R: R: R: Simulating Valve Amps

2014-06-26 Thread Marco Lo Monaco
Hi Steffan, > > A model is as good as you understand your subject. > > The problem with the tube equations from Norman Koren is, that they don't > account for grid current. Having done some live investigation in tube amps, > my conclusion is, that grid currents contribute largely to the operation

[music-dsp] Last call to register for SoundSoftware 2014!

2014-06-26 Thread Chris Cannam
[Apologies for crossposting] A reminder that the third annual SoundSoftware Workshop, a full day of presentation sessions about all aspects of software in audio and music research with a sociable and friendly atmosphere, takes place on Tuesday 8th July in London. The speaking programme is now co

Re: [music-dsp] R: Simulating Valve Amps

2014-06-26 Thread STEFFAN DIEDRICHSEN
This whole tube sim thing is not about frequency response issues. What matters most, is to understand and model the dynamic behaviour of the tube circuit: bias point variation, grid current effects, complex loads, …. Steffan On 26 Jun 2014, at 14:46, Theo Verelst wrote: > On a practical le

Re: [music-dsp] R: Simulating Valve Amps

2014-06-26 Thread Theo Verelst
On a practical level, suppose somehow you've modeled the tube distortion as a zero delay computation (in however good or bad way), and you want to limit the frequency range of your your input signal to the "tube effect" with say a 2-delay properly adjusted digital filter (maybe cutting DC like

Re: [music-dsp] R: R: Simulating Valve Amps

2014-06-26 Thread STEFFAN DIEDRICHSEN
On 26 Jun 2014, at 14:13, robert bristow-johnson wrote: > grid current is zero only if V_gc < 0, which is normally how it's biased, but > large signal swings can change that. when V_gc > 0, the grid is like a > miniature plate, it will draw some electrons off. > > looks a little like a diod

Re: [music-dsp] R: R: Simulating Valve Amps

2014-06-26 Thread robert bristow-johnson
On 6/26/14 8:01 AM, STEFFAN DIEDRICHSEN wrote: Having done some live investigation in tube amps, my conclusion is, that grid currents contribute largely to the operation of a tube amp, if you drive them into distortion. grid current is zero only if V_gc < 0, which is normally how it's bias

Re: [music-dsp] R: R: Simulating Valve Amps

2014-06-26 Thread STEFFAN DIEDRICHSEN
On 25 Jun 2014, at 22:46, Marco Lo Monaco wrote: > if something doesn't match you can really do anything on the > model itself once you are sure that everything has been > done/implemented/analyzed properly. A model is as good as you understand your subject. The problem with the tube equation

Re: [music-dsp] LFO Flanger.

2014-06-26 Thread Darwin Sese
Hi Guys i am trying to convert this one into a c++ code. The flanger is a kind of comb filter which delay *D* is not constant, but changes periodically. [image: flanger-schem] Pic.8. The scheme of FIR flanger The difference equation is *y(n)=x(n)+ax(n-D(n))*, where, for example *D(n)=d/2(1-cos(2p