Hi,
How can I get a distorion sound with a guitar plug in Pd (adc~)?
Enrique
Enrique Franco wrote:
Hi,
How can I get a distorion sound with a guitar plug in Pd (adc~)?
Enrique
=------- |adc~ 1| =------- | =-------- |*~ 1000| =-------- | =----------- |clip~ -1 1| =----------- | =------- |dac~ 1|
you can skip the [clip~], if you go directly into the [dac~] (as shown here).
but seriously: what do you mean by "distortion" -- this is a vast field. maybe you want some waveshaper (with [tabread4~] -- don't forget about table offsets and scaling)
mfg.csd.adr IOhannes
Speaking of waveshaping, does anyone know how I'd go about getting
a waveshaping equation into a table for tabread4~?
For example, say I want to use the equation:
f(x,a) = x*(abs(x) + a)/(x^2 + (a-1)*abs(x) + 1)
that I got off musicdsp.org. Where a is a variable and x is the input sample value.
I can think of running a line through the equation and into the
table, but that seems like an awfully stupid way of going about it.
. . David McCallum . Queen's University Electronic Music Studio Manager . and Noise Maker . http://mentalfloss.ca/sintheta/ .
On Fri, 10 May 2002, IOhannes m zmoelnig wrote:
but seriously: what do you mean by "distortion" -- this is a vast field. maybe you want some waveshaper (with [tabread4~] -- don't forget about table offsets and scaling)
mfg.csd.adr IOhannes
David N G McCallum schrieb:
Speaking of waveshaping, does anyone know how I'd go about getting
a waveshaping equation into a table for tabread4~? I can think of running a line through the equation and into the table, but that seems like an awfully stupid way of going about it.
Hi, I don't have a solution for your equation but there are some objects in the latest release of PeRColate (version 0.07) that can be used to fill tables for waveshaping. It's the 'gen-family' coming from RTcmix' 'makegen': the objects generate harmonic wavetable functions (Gen9 / Gen10), chebyshev polynomial equations (Gen17), random number distributions (Gen20), breakpoint functions (Gen7, Gen9, and Gen24), and hamming / hanning windows (Gen25).
find it at: http://www.akustische-kunst.de/puredata/percolate.html
Olaf
David N G McCallum hat gesagt: // David N G McCallum wrote:
Speaking of waveshaping, does anyone know how I'd go about getting a waveshaping equation into a table for tabread4~?
For example, say I want to use the equation:
f(x,a) = x*(abs(x) + a)/(x^2 + (a-1)*abs(x) + 1)
that I got off musicdsp.org. Where a is a variable and x is the input sample value.
I wouldn't write this into a table but instead use the expr~ family. Unless more 'GEN' functions besides "sinesums" get implemented widely, expr~ is a better way for this kind of waveshaping. I tested some waveshaping methods in my dirty waveshaper patch available at http://footils.radio-worldwi.de (soon footils.org, btw.)
Your example is attached.
Frank Barknecht _ _______footils__
Oh, neat! I tried doing expr~ before but used the sample-specific
notation and not the vectors (I didn't/don't really understand the vector aspect of DSP.)
I wanted to use tabread4~ because I assumed that it would be less
processor intensive than an expr~. Does anybody have any experience, data on this?
David McCallum
At 09:09 AM 11/05/02 +0200, Frank Barknecht wrote:
I wouldn't write this into a table but instead use the expr~ family. Unless more 'GEN' functions besides "sinesums" get implemented widely, expr~ is a better way for this kind of waveshaping. I tested some waveshaping methods in my dirty waveshaper patch available at http://footils.radio-worldwi.de (soon footils.org, btw.)
Your example is attached.
ciao,
Frank Barknecht _ _______footils__
. . David McCallum . Queen's University Electronic Music Studio Manager . and Noise Maker . html://mentalfloss.ca/sintheta/ .