Csound Csound-dev Csound-tekno Search About

Re: [Csnd] distortion ftable

Date2011-06-17 00:40
From"Partev Barr Sarkissian"
SubjectRe: [Csnd] distortion ftable
Yes. It is part of the noise floor of the amp.

===========================================

--- adotsdothmusic@gmail.com wrote:

From: Adam Puckett 
To: csound@lists.bath.ac.uk
Subject: Re: [Csnd] distortion ftable
Date: Thu, 16 Jun 2011 18:47:40 -0400

Partev,

How exactly am I supposed to use that CSD? All it does is make a sine
wave and noise. Should I add an input signal on top of that mix?

On 6/16/11, Partev Barr Sarkissian  wrote:
> Cool! Being that I work at Line 6, I deal with
> amps made to sound like old style amps. And I've
> even owned a few of the real things in the past.
> Learned what makes them tick. A number of Line 6
> amp model patches are designed to model,... yes,
> even the noise that goes with those old classic
> amp sounds. Enjoy.
>
> Now it's just a matter of noise adhust, EQ and just
> generally dialing it in to where you want it.
>
>
> Cheers,
> -Partev
>
>
> ===========================================
>
>
>
> --- adotsdothmusic@gmail.com wrote:
>
> From: Adam Puckett 
> To: csound@lists.bath.ac.uk
> Subject: Re: [Csnd] distortion ftable
> Date: Thu, 16 Jun 2011 18:29:48 -0400
>
> OK:
>
> 
> 
> sr = 44100
> ksmps = 1
> nchnls = 1
> 0dbfs = 1
> instr 1
> asig oscil .91, 60, 1
> anoise rand .03
> amix = asig+anoise
> out amix
> endin
> 
> 
> f1 0 8192 10 1
> i1 0 20
> e
> 
> 
>
> This sounds a little like my amp actually.
>
> On 6/16/11, Partev Barr Sarkissian  wrote:
>> Take a 60-hz sine wave, get some low amplitude noise (random)
>> to ride on it, add it to the signal at a very low amplitude.
>> Then adjust that noise amplitude to suit your taste.
>>
>> -Partev
>>
>> ==============================================================
>>
>> --- oyvind.brandtsegg@ntnu.no wrote:
>>
>> From: Oeyvind Brandtsegg 
>> To: csound@lists.bath.ac.uk
>> Subject: Re: [Csnd] distortion ftable
>> Date: Thu, 16 Jun 2011 17:27:30 +0200
>>
>> Please try the other distortion techniques too.
>> I haven't used distort (or probably did a long time ago, but can't
>> remember how it sounds),
>> but distort1 sound quite ok,
>> lpf18 also has nice dist,
>> and the waveshaping techniques (experiment with different shapes)
>> and the slope based delay.
>> Run any combination of these in parallell and/or series, combine with
>> low pass filtering.
>> Tube amp distortion is no simple task, and you might have to model it
>> differently depending on your source signal and obviously also
>> depending on your taste and your idea of tube distortion.
>> best
>> Oeyvind
>>
>> 2011/6/16 Adam Puckett :
>>> Here's my CSD:
>>>
>>> 
>>> 
>>> -iadc2 -odac1
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 1
>>> nchnls = 2
>>> 0dbfs = 1
>>> instr 1
>>> asig inch 1
>>> awsh distort asig, 1, 5
>>> outs awsh, awsh
>>> endin
>>> 
>>> 
>>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48
>>> 1536
>>> .48
>>> i1 0 120
>>> e
>>> 
>>> 
>>>
>>> It doesn't sound like tube distortion. What changes do I need to make?
>>>
>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>> You're right that you don't need to normalize when you're already at
>>>> 0dbfs=1.
>>>>
>>>> Is that code from Mikelson?
>>>> Hm, I didn' check, but remember it slightly different
>>>>
>>>> I thought it was more like:
>>>>
>>>> awsh tablei asig*0.5, itable, 1, 0.5, 0 ; awsh=output, asig=input
>>>>
>>>> so that
>>>> - the input signal has a range of -0.5 to +0.5
>>>> - 4th arg to table = 0.5: the table index is offset by 0.5 (so our
>>>> asig lookup will be in the range 0.0 to 1.0)
>>>> - 5th arg to table = 0: no wraparound, as that will cause
>>>> discontinuities with the most usual transfer functions
>>>>
>>>> In case of doubt, you can alsways test your implementation by using a
>>>> linear transfer function (line from -1 to +1),
>>>> and your output signal should be exactly equal to the input signal.
>>>>
>>>> best
>>>> Oeyvind
>>>>
>>>> 2011/6/16 Adam Puckett :
>>>>> From this code, I can assume that by "waveshaping you mean something
>>>>> like:
>>>>>
>>>>> awsh tablei asig, itable, 1, 0, 1 ; awsh=output, asig=input
>>>>>
>>>>> Am I right? And what would I do for 0dbfs = 1? Seems like I wouldn't
>>>>> need to do all this normalization because 0dbfs is already 0 to 1.
>>>>>
>>>>> Thanks for your help.
>>>>>
>>>>> Adam
>>>>>
>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>> Hello Adam,
>>>>>> Distort1 should work nicely.
>>>>>>
>>>>>> You could use distort1 to generate a waveshape table, but then you
>>>>>> could just as well use distort1 I think, as you can tweak the
>>>>>> parameters on distort1 (but on on a wavetable). You can probably find
>>>>>> a lot of transfer functions for different tube amps on the net.
>>>>>> Experimenting with waveshaping is a good way to search for 'your own'
>>>>>> distortion.
>>>>>>
>>>>>> Also, check out the slope based delay distortion in orchestra (instr
>>>>>> 13 in http://www.csounds.com/mikelson/multifx.orc)
>>>>>>
>>>>>> best
>>>>>> Oeyvind
>>>>>>
>>>>>> 2011/6/16 Adam Puckett :
>>>>>>> Hey guys,
>>>>>>>
>>>>>>> I'd like to find a way to distort my guitar with Csound as if I'm
>>>>>>> playing it with an amplifier with distortion. How can I, using the
>>>>>>> distort opcode, make an ftable that would do this? Or could I use
>>>>>>> distort1?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Adam
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>
>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe
>>>>>>> csound"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>
>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>>
>> _____________________________________________________________
>> Netscape.  Just the Net You Need.
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
>
> _____________________________________________________________
> Netscape.  Just the Net You Need.
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





_____________________________________________________________
Netscape.  Just the Net You Need.
Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-06-17 00:43
FromAdam Puckett
SubjectRe: [Csnd] distortion ftable
I added the input signal and it just sounds like noise + sine + clean guitar.

On 6/16/11, Partev Barr Sarkissian  wrote:
> Yes. It is part of the noise floor of the amp.
>
> ===========================================
>
> --- adotsdothmusic@gmail.com wrote:
>
> From: Adam Puckett 
> To: csound@lists.bath.ac.uk
> Subject: Re: [Csnd] distortion ftable
> Date: Thu, 16 Jun 2011 18:47:40 -0400
>
> Partev,
>
> How exactly am I supposed to use that CSD? All it does is make a sine
> wave and noise. Should I add an input signal on top of that mix?
>
> On 6/16/11, Partev Barr Sarkissian  wrote:
>> Cool! Being that I work at Line 6, I deal with
>> amps made to sound like old style amps. And I've
>> even owned a few of the real things in the past.
>> Learned what makes them tick. A number of Line 6
>> amp model patches are designed to model,... yes,
>> even the noise that goes with those old classic
>> amp sounds. Enjoy.
>>
>> Now it's just a matter of noise adhust, EQ and just
>> generally dialing it in to where you want it.
>>
>>
>> Cheers,
>> -Partev
>>
>>
>> ===========================================
>>
>>
>>
>> --- adotsdothmusic@gmail.com wrote:
>>
>> From: Adam Puckett 
>> To: csound@lists.bath.ac.uk
>> Subject: Re: [Csnd] distortion ftable
>> Date: Thu, 16 Jun 2011 18:29:48 -0400
>>
>> OK:
>>
>> 
>> 
>> sr = 44100
>> ksmps = 1
>> nchnls = 1
>> 0dbfs = 1
>> instr 1
>> asig oscil .91, 60, 1
>> anoise rand .03
>> amix = asig+anoise
>> out amix
>> endin
>> 
>> 
>> f1 0 8192 10 1
>> i1 0 20
>> e
>> 
>> 
>>
>> This sounds a little like my amp actually.
>>
>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>> Take a 60-hz sine wave, get some low amplitude noise (random)
>>> to ride on it, add it to the signal at a very low amplitude.
>>> Then adjust that noise amplitude to suit your taste.
>>>
>>> -Partev
>>>
>>> ==============================================================
>>>
>>> --- oyvind.brandtsegg@ntnu.no wrote:
>>>
>>> From: Oeyvind Brandtsegg 
>>> To: csound@lists.bath.ac.uk
>>> Subject: Re: [Csnd] distortion ftable
>>> Date: Thu, 16 Jun 2011 17:27:30 +0200
>>>
>>> Please try the other distortion techniques too.
>>> I haven't used distort (or probably did a long time ago, but can't
>>> remember how it sounds),
>>> but distort1 sound quite ok,
>>> lpf18 also has nice dist,
>>> and the waveshaping techniques (experiment with different shapes)
>>> and the slope based delay.
>>> Run any combination of these in parallell and/or series, combine with
>>> low pass filtering.
>>> Tube amp distortion is no simple task, and you might have to model it
>>> differently depending on your source signal and obviously also
>>> depending on your taste and your idea of tube distortion.
>>> best
>>> Oeyvind
>>>
>>> 2011/6/16 Adam Puckett :
>>>> Here's my CSD:
>>>>
>>>> 
>>>> 
>>>> -iadc2 -odac1
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 1
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>> instr 1
>>>> asig inch 1
>>>> awsh distort asig, 1, 5
>>>> outs awsh, awsh
>>>> endin
>>>> 
>>>> 
>>>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48
>>>> 1536
>>>> .48
>>>> i1 0 120
>>>> e
>>>> 
>>>> 
>>>>
>>>> It doesn't sound like tube distortion. What changes do I need to make?
>>>>
>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>> You're right that you don't need to normalize when you're already at
>>>>> 0dbfs=1.
>>>>>
>>>>> Is that code from Mikelson?
>>>>> Hm, I didn' check, but remember it slightly different
>>>>>
>>>>> I thought it was more like:
>>>>>
>>>>> awsh tablei asig*0.5, itable, 1, 0.5, 0 ; awsh=output, asig=input
>>>>>
>>>>> so that
>>>>> - the input signal has a range of -0.5 to +0.5
>>>>> - 4th arg to table = 0.5: the table index is offset by 0.5 (so our
>>>>> asig lookup will be in the range 0.0 to 1.0)
>>>>> - 5th arg to table = 0: no wraparound, as that will cause
>>>>> discontinuities with the most usual transfer functions
>>>>>
>>>>> In case of doubt, you can alsways test your implementation by using a
>>>>> linear transfer function (line from -1 to +1),
>>>>> and your output signal should be exactly equal to the input signal.
>>>>>
>>>>> best
>>>>> Oeyvind
>>>>>
>>>>> 2011/6/16 Adam Puckett :
>>>>>> From this code, I can assume that by "waveshaping you mean something
>>>>>> like:
>>>>>>
>>>>>> awsh tablei asig, itable, 1, 0, 1 ; awsh=output, asig=input
>>>>>>
>>>>>> Am I right? And what would I do for 0dbfs = 1? Seems like I wouldn't
>>>>>> need to do all this normalization because 0dbfs is already 0 to 1.
>>>>>>
>>>>>> Thanks for your help.
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>>> Hello Adam,
>>>>>>> Distort1 should work nicely.
>>>>>>>
>>>>>>> You could use distort1 to generate a waveshape table, but then you
>>>>>>> could just as well use distort1 I think, as you can tweak the
>>>>>>> parameters on distort1 (but on on a wavetable). You can probably
>>>>>>> find
>>>>>>> a lot of transfer functions for different tube amps on the net.
>>>>>>> Experimenting with waveshaping is a good way to search for 'your
>>>>>>> own'
>>>>>>> distortion.
>>>>>>>
>>>>>>> Also, check out the slope based delay distortion in orchestra (instr
>>>>>>> 13 in http://www.csounds.com/mikelson/multifx.orc)
>>>>>>>
>>>>>>> best
>>>>>>> Oeyvind
>>>>>>>
>>>>>>> 2011/6/16 Adam Puckett :
>>>>>>>> Hey guys,
>>>>>>>>
>>>>>>>> I'd like to find a way to distort my guitar with Csound as if I'm
>>>>>>>> playing it with an amplifier with distortion. How can I, using the
>>>>>>>> distort opcode, make an ftable that would do this? Or could I use
>>>>>>>> distort1?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>>
>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>
>>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>> "unsubscribe
>>>>>>>> csound"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>
>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe
>>>>>>> csound"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>
>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>
>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>>
>>> _____________________________________________________________
>>> Netscape.  Just the Net You Need.
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>>
>> _____________________________________________________________
>> Netscape.  Just the Net You Need.
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
>
> _____________________________________________________________
> Netscape.  Just the Net You Need.
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-06-17 01:11
FromAlex Weiss
SubjectRe: [Csnd] distortion ftable
I think what Partev meant was that the hum should be mixed together with the already distorted signal.

Alex

On Fri, Jun 17, 2011 at 1:43 AM, Adam Puckett <adotsdothmusic@gmail.com> wrote:
I added the input signal and it just sounds like noise + sine + clean guitar.

On 6/16/11, Partev Barr Sarkissian <encino_man@netscape.com> wrote:
> Yes. It is part of the noise floor of the amp.
>
> ===========================================
>
> --- adotsdothmusic@gmail.com wrote:
>
> From: Adam Puckett <adotsdothmusic@gmail.com>
> To: csound@lists.bath.ac.uk
> Subject: Re: [Csnd] distortion ftable
> Date: Thu, 16 Jun 2011 18:47:40 -0400
>
> Partev,
>
> How exactly am I supposed to use that CSD? All it does is make a sine
> wave and noise. Should I add an input signal on top of that mix?
>
> On 6/16/11, Partev Barr Sarkissian <encino_man@netscape.com> wrote:
>> Cool! Being that I work at Line 6, I deal with
>> amps made to sound like old style amps. And I've
>> even owned a few of the real things in the past.
>> Learned what makes them tick. A number of Line 6
>> amp model patches are designed to model,... yes,
>> even the noise that goes with those old classic
>> amp sounds. Enjoy.
>>
>> Now it's just a matter of noise adhust, EQ and just
>> generally dialing it in to where you want it.
>>
>>
>> Cheers,
>> -Partev
>>
>>
>> ===========================================
>>
>>
>>
>> --- adotsdothmusic@gmail.com wrote:
>>
>> From: Adam Puckett <adotsdothmusic@gmail.com>
>> To: csound@lists.bath.ac.uk
>> Subject: Re: [Csnd] distortion ftable
>> Date: Thu, 16 Jun 2011 18:29:48 -0400
>>
>> OK:
>>
>> <CsoundSynthesizer>
>> <CsInstruments>
>> sr = 44100
>> ksmps = 1
>> nchnls = 1
>> 0dbfs = 1
>> instr 1
>> asig oscil .91, 60, 1
>> anoise rand .03
>> amix = asig+anoise
>> out amix
>> endin
>> </CsInstruments>
>> <CsScore>
>> f1 0 8192 10 1
>> i1 0 20
>> e
>> </CsScore>
>> </CsoundSynthesizer>
>>
>> This sounds a little like my amp actually.
>>
>> On 6/16/11, Partev Barr Sarkissian <encino_man@netscape.com> wrote:
>>> Take a 60-hz sine wave, get some low amplitude noise (random)
>>> to ride on it, add it to the signal at a very low amplitude.
>>> Then adjust that noise amplitude to suit your taste.
>>>
>>> -Partev
>>>
>>> ==============================================================
>>>
>>> --- oyvind.brandtsegg@ntnu.no wrote:
>>>
>>> From: Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no>
>>> To: csound@lists.bath.ac.uk
>>> Subject: Re: [Csnd] distortion ftable
>>> Date: Thu, 16 Jun 2011 17:27:30 +0200
>>>
>>> Please try the other distortion techniques too.
>>> I haven't used distort (or probably did a long time ago, but can't
>>> remember how it sounds),
>>> but distort1 sound quite ok,
>>> lpf18 also has nice dist,
>>> and the waveshaping techniques (experiment with different shapes)
>>> and the slope based delay.
>>> Run any combination of these in parallell and/or series, combine with
>>> low pass filtering.
>>> Tube amp distortion is no simple task, and you might have to model it
>>> differently depending on your source signal and obviously also
>>> depending on your taste and your idea of tube distortion.
>>> best
>>> Oeyvind
>>>
>>> 2011/6/16 Adam Puckett <adotsdothmusic@gmail.com>:
>>>> Here's my CSD:
>>>>
>>>> <CsoundSynthesizer>
>>>> <CsOptions>
>>>> -iadc2 -odac1
>>>> </CsOptions>
>>>> <CsInstruments>
>>>> sr = 44100
>>>> ksmps = 1
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>> instr 1
>>>> asig inch 1
>>>> awsh distort asig, 1, 5
>>>> outs awsh, awsh
>>>> endin
>>>> </CsInstruments>
>>>> <CsScore>
>>>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48
>>>> 1536
>>>> .48
>>>> i1 0 120
>>>> e
>>>> </CsScore>
>>>> </CsoundSynthesizer>
>>>>
>>>> It doesn't sound like tube distortion. What changes do I need to make?
>>>>
>>>> On 6/16/11, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
>>>>> You're right that you don't need to normalize when you're already at
>>>>> 0dbfs=1.
>>>>>
>>>>> Is that code from Mikelson?
>>>>> Hm, I didn' check, but remember it slightly different
>>>>>
>>>>> I thought it was more like:
>>>>>
>>>>> awsh tablei asig*0.5, itable, 1, 0.5, 0 ; awsh=output, asig=input
>>>>>
>>>>> so that
>>>>> - the input signal has a range of -0.5 to +0.5
>>>>> - 4th arg to table = 0.5: the table index is offset by 0.5 (so our
>>>>> asig lookup will be in the range 0.0 to 1.0)
>>>>> - 5th arg to table = 0: no wraparound, as that will cause
>>>>> discontinuities with the most usual transfer functions
>>>>>
>>>>> In case of doubt, you can alsways test your implementation by using a
>>>>> linear transfer function (line from -1 to +1),
>>>>> and your output signal should be exactly equal to the input signal.
>>>>>
>>>>> best
>>>>> Oeyvind
>>>>>
>>>>> 2011/6/16 Adam Puckett <adotsdothmusic@gmail.com>:
>>>>>> From this code, I can assume that by "waveshaping you mean something
>>>>>> like:
>>>>>>
>>>>>> awsh tablei asig, itable, 1, 0, 1 ; awsh=output, asig=input
>>>>>>
>>>>>> Am I right? And what would I do for 0dbfs = 1? Seems like I wouldn't
>>>>>> need to do all this normalization because 0dbfs is already 0 to 1.
>>>>>>
>>>>>> Thanks for your help.
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>> On 6/16/11, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
>>>>>>> Hello Adam,
>>>>>>> Distort1 should work nicely.
>>>>>>>
>>>>>>> You could use distort1 to generate a waveshape table, but then you
>>>>>>> could just as well use distort1 I think, as you can tweak the
>>>>>>> parameters on distort1 (but on on a wavetable). You can probably
>>>>>>> find
>>>>>>> a lot of transfer functions for different tube amps on the net.
>>>>>>> Experimenting with waveshaping is a good way to search for 'your
>>>>>>> own'
>>>>>>> distortion.
>>>>>>>
>>>>>>> Also, check out the slope based delay distortion in orchestra (instr
>>>>>>> 13 in http://www.csounds.com/mikelson/multifx.orc)
>>>>>>>
>>>>>>> best
>>>>>>> Oeyvind
>>>>>>>
>>>>>>> 2011/6/16 Adam Puckett <adotsdothmusic@gmail.com>:
>>>>>>>> Hey guys,
>>>>>>>>
>>>>>>>> I'd like to find a way to distort my guitar with Csound as if I'm
>>>>>>>> playing it with an amplifier with distortion. How can I, using the
>>>>>>>> distort opcode, make an ftable that would do this? Or could I use
>>>>>>>> distort1?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>>
>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>
>>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>> "unsubscribe
>>>>>>>> csound"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>
>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe
>>>>>>> csound"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>
>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>
>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>>
>>> _____________________________________________________________
>>> Netscape.  Just the Net You Need.
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>>
>> _____________________________________________________________
>> Netscape.  Just the Net You Need.
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
>
> _____________________________________________________________
> Netscape.  Just the Net You Need.
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2011-06-17 01:13
FromAdam Puckett
SubjectRe: [Csnd] distortion ftable
Thanks for the idea, Alex. I'll try that.

On 6/16/11, Alex Weiss  wrote:
> I think what Partev meant was that the hum should be mixed together with the
> already distorted signal.
>
> Alex
>
> On Fri, Jun 17, 2011 at 1:43 AM, Adam Puckett
> wrote:
>
>> I added the input signal and it just sounds like noise + sine + clean
>> guitar.
>>
>> On 6/16/11, Partev Barr Sarkissian  wrote:
>> > Yes. It is part of the noise floor of the amp.
>> >
>> > ===========================================
>> >
>> > --- adotsdothmusic@gmail.com wrote:
>> >
>> > From: Adam Puckett 
>> > To: csound@lists.bath.ac.uk
>> > Subject: Re: [Csnd] distortion ftable
>> > Date: Thu, 16 Jun 2011 18:47:40 -0400
>> >
>> > Partev,
>> >
>> > How exactly am I supposed to use that CSD? All it does is make a sine
>> > wave and noise. Should I add an input signal on top of that mix?
>> >
>> > On 6/16/11, Partev Barr Sarkissian  wrote:
>> >> Cool! Being that I work at Line 6, I deal with
>> >> amps made to sound like old style amps. And I've
>> >> even owned a few of the real things in the past.
>> >> Learned what makes them tick. A number of Line 6
>> >> amp model patches are designed to model,... yes,
>> >> even the noise that goes with those old classic
>> >> amp sounds. Enjoy.
>> >>
>> >> Now it's just a matter of noise adhust, EQ and just
>> >> generally dialing it in to where you want it.
>> >>
>> >>
>> >> Cheers,
>> >> -Partev
>> >>
>> >>
>> >> ===========================================
>> >>
>> >>
>> >>
>> >> --- adotsdothmusic@gmail.com wrote:
>> >>
>> >> From: Adam Puckett 
>> >> To: csound@lists.bath.ac.uk
>> >> Subject: Re: [Csnd] distortion ftable
>> >> Date: Thu, 16 Jun 2011 18:29:48 -0400
>> >>
>> >> OK:
>> >>
>> >> 
>> >> 
>> >> sr = 44100
>> >> ksmps = 1
>> >> nchnls = 1
>> >> 0dbfs = 1
>> >> instr 1
>> >> asig oscil .91, 60, 1
>> >> anoise rand .03
>> >> amix = asig+anoise
>> >> out amix
>> >> endin
>> >> 
>> >> 
>> >> f1 0 8192 10 1
>> >> i1 0 20
>> >> e
>> >> 
>> >> 
>> >>
>> >> This sounds a little like my amp actually.
>> >>
>> >> On 6/16/11, Partev Barr Sarkissian  wrote:
>> >>> Take a 60-hz sine wave, get some low amplitude noise (random)
>> >>> to ride on it, add it to the signal at a very low amplitude.
>> >>> Then adjust that noise amplitude to suit your taste.
>> >>>
>> >>> -Partev
>> >>>
>> >>> ==============================================================
>> >>>
>> >>> --- oyvind.brandtsegg@ntnu.no wrote:
>> >>>
>> >>> From: Oeyvind Brandtsegg 
>> >>> To: csound@lists.bath.ac.uk
>> >>> Subject: Re: [Csnd] distortion ftable
>> >>> Date: Thu, 16 Jun 2011 17:27:30 +0200
>> >>>
>> >>> Please try the other distortion techniques too.
>> >>> I haven't used distort (or probably did a long time ago, but can't
>> >>> remember how it sounds),
>> >>> but distort1 sound quite ok,
>> >>> lpf18 also has nice dist,
>> >>> and the waveshaping techniques (experiment with different shapes)
>> >>> and the slope based delay.
>> >>> Run any combination of these in parallell and/or series, combine with
>> >>> low pass filtering.
>> >>> Tube amp distortion is no simple task, and you might have to model it
>> >>> differently depending on your source signal and obviously also
>> >>> depending on your taste and your idea of tube distortion.
>> >>> best
>> >>> Oeyvind
>> >>>
>> >>> 2011/6/16 Adam Puckett :
>> >>>> Here's my CSD:
>> >>>>
>> >>>> 
>> >>>> 
>> >>>> -iadc2 -odac1
>> >>>> 
>> >>>> 
>> >>>> sr = 44100
>> >>>> ksmps = 1
>> >>>> nchnls = 2
>> >>>> 0dbfs = 1
>> >>>> instr 1
>> >>>> asig inch 1
>> >>>> awsh distort asig, 1, 5
>> >>>> outs awsh, awsh
>> >>>> endin
>> >>>> 
>> >>>> 
>> >>>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48
>> >>>> 1536
>> >>>> .48
>> >>>> i1 0 120
>> >>>> e
>> >>>> 
>> >>>> 
>> >>>>
>> >>>> It doesn't sound like tube distortion. What changes do I need to
>> >>>> make?
>> >>>>
>> >>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>> >>>>> You're right that you don't need to normalize when you're already at
>> >>>>> 0dbfs=1.
>> >>>>>
>> >>>>> Is that code from Mikelson?
>> >>>>> Hm, I didn' check, but remember it slightly different
>> >>>>>
>> >>>>> I thought it was more like:
>> >>>>>
>> >>>>> awsh tablei asig*0.5, itable, 1, 0.5, 0 ; awsh=output, asig=input
>> >>>>>
>> >>>>> so that
>> >>>>> - the input signal has a range of -0.5 to +0.5
>> >>>>> - 4th arg to table = 0.5: the table index is offset by 0.5 (so our
>> >>>>> asig lookup will be in the range 0.0 to 1.0)
>> >>>>> - 5th arg to table = 0: no wraparound, as that will cause
>> >>>>> discontinuities with the most usual transfer functions
>> >>>>>
>> >>>>> In case of doubt, you can alsways test your implementation by using
>> >>>>> a
>> >>>>> linear transfer function (line from -1 to +1),
>> >>>>> and your output signal should be exactly equal to the input signal.
>> >>>>>
>> >>>>> best
>> >>>>> Oeyvind
>> >>>>>
>> >>>>> 2011/6/16 Adam Puckett :
>> >>>>>> From this code, I can assume that by "waveshaping you mean
>> >>>>>> something
>> >>>>>> like:
>> >>>>>>
>> >>>>>> awsh tablei asig, itable, 1, 0, 1 ; awsh=output, asig=input
>> >>>>>>
>> >>>>>> Am I right? And what would I do for 0dbfs = 1? Seems like I
>> >>>>>> wouldn't
>> >>>>>> need to do all this normalization because 0dbfs is already 0 to 1.
>> >>>>>>
>> >>>>>> Thanks for your help.
>> >>>>>>
>> >>>>>> Adam
>> >>>>>>
>> >>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>> >>>>>>> Hello Adam,
>> >>>>>>> Distort1 should work nicely.
>> >>>>>>>
>> >>>>>>> You could use distort1 to generate a waveshape table, but then you
>> >>>>>>> could just as well use distort1 I think, as you can tweak the
>> >>>>>>> parameters on distort1 (but on on a wavetable). You can probably
>> >>>>>>> find
>> >>>>>>> a lot of transfer functions for different tube amps on the net.
>> >>>>>>> Experimenting with waveshaping is a good way to search for 'your
>> >>>>>>> own'
>> >>>>>>> distortion.
>> >>>>>>>
>> >>>>>>> Also, check out the slope based delay distortion in orchestra
>> (instr
>> >>>>>>> 13 in http://www.csounds.com/mikelson/multifx.orc)
>> >>>>>>>
>> >>>>>>> best
>> >>>>>>> Oeyvind
>> >>>>>>>
>> >>>>>>> 2011/6/16 Adam Puckett :
>> >>>>>>>> Hey guys,
>> >>>>>>>>
>> >>>>>>>> I'd like to find a way to distort my guitar with Csound as if I'm
>> >>>>>>>> playing it with an amplifier with distortion. How can I, using
>> >>>>>>>> the
>> >>>>>>>> distort opcode, make an ftable that would do this? Or could I use
>> >>>>>>>> distort1?
>> >>>>>>>>
>> >>>>>>>> Thanks,
>> >>>>>>>>
>> >>>>>>>> Adam
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> Send bugs reports to the Sourceforge bug tracker
>> >>>>>>>>
>> >>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >>>>>>>> Discussions of bugs and features can be posted here
>> >>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >>>>>>>> "unsubscribe
>> >>>>>>>> csound"
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> Send bugs reports to the Sourceforge bug tracker
>> >>>>>>>
>> >>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >>>>>>> Discussions of bugs and features can be posted here
>> >>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >>>>>>> "unsubscribe
>> >>>>>>> csound"
>> >>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> Send bugs reports to the Sourceforge bug tracker
>> >>>>>>
>> >>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >>>>>> Discussions of bugs and features can be posted here
>> >>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >>>>>> "unsubscribe
>> >>>>>> csound"
>> >>>>>>
>> >>>>>>
>> >>>>>
>> >>>>>
>> >>>>> Send bugs reports to the Sourceforge bug tracker
>> >>>>>
>> >>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >>>>> Discussions of bugs and features can be posted here
>> >>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >>>>> "unsubscribe
>> >>>>> csound"
>> >>>>>
>> >>>>>
>> >>>>
>> >>>>
>> >>>> Send bugs reports to the Sourceforge bug tracker
>> >>>>
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >>>> Discussions of bugs and features can be posted here
>> >>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >>>> "unsubscribe
>> >>>> csound"
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>> Send bugs reports to the Sourceforge bug tracker
>> >>>
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >>> Discussions of bugs and features can be posted here
>> >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe
>> >>> csound"
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> _____________________________________________________________
>> >>> Netscape.  Just the Net You Need.
>> >>> Send bugs reports to the Sourceforge bug tracker
>> >>>
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >>> Discussions of bugs and features can be posted here
>> >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe
>> >>> csound"
>> >>>
>> >>>
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug tracker
>> >>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> _____________________________________________________________
>> >> Netscape.  Just the Net You Need.
>> >> Send bugs reports to the Sourceforge bug tracker
>> >>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe
>> >> csound"
>> >>
>> >>
>> >
>> >
>> > Send bugs reports to the Sourceforge bug tracker
>> >             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> > Discussions of bugs and features can be posted here
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> > csound"
>> >
>> >
>> >
>> >
>> >
>> > _____________________________________________________________
>> > Netscape.  Just the Net You Need.
>> > Send bugs reports to the Sourceforge bug tracker
>> >             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> > Discussions of bugs and features can be posted here
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> > csound"
>> >
>> >
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-06-17 01:54
FromMartin Peach
SubjectRe: [Csnd] distortion ftable
If you want the european sound it should be 50Hz on the oscil.

Martin

On 2011-06-16 19:40, Partev Barr Sarkissian wrote:
> Yes. It is part of the noise floor of the amp.
>
> ===========================================
>
> --- adotsdothmusic@gmail.com wrote:
>
> From: Adam Puckett
> To: csound@lists.bath.ac.uk
> Subject: Re: [Csnd] distortion ftable
> Date: Thu, 16 Jun 2011 18:47:40 -0400
>
> Partev,
>
> How exactly am I supposed to use that CSD? All it does is make a sine
> wave and noise. Should I add an input signal on top of that mix?
>
> On 6/16/11, Partev Barr Sarkissian  wrote:
>> Cool! Being that I work at Line 6, I deal with
>> amps made to sound like old style amps. And I've
>> even owned a few of the real things in the past.
>> Learned what makes them tick. A number of Line 6
>> amp model patches are designed to model,... yes,
>> even the noise that goes with those old classic
>> amp sounds. Enjoy.
>>
>> Now it's just a matter of noise adhust, EQ and just
>> generally dialing it in to where you want it.
>>
>>
>> Cheers,
>> -Partev
>>
>>
>> ===========================================
>>
>>
>>
>> --- adotsdothmusic@gmail.com wrote:
>>
>> From: Adam Puckett
>> To: csound@lists.bath.ac.uk
>> Subject: Re: [Csnd] distortion ftable
>> Date: Thu, 16 Jun 2011 18:29:48 -0400
>>
>> OK:
>>
>> 
>> 
>> sr = 44100
>> ksmps = 1
>> nchnls = 1
>> 0dbfs = 1
>> instr 1
>> asig oscil .91, 60, 1
>> anoise rand .03
>> amix = asig+anoise
>> out amix
>> endin
>> 
>> 
>> f1 0 8192 10 1
>> i1 0 20
>> e
>> 
>> 
>>
>> This sounds a little like my amp actually.
>>
>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>> Take a 60-hz sine wave, get some low amplitude noise (random)
>>> to ride on it, add it to the signal at a very low amplitude.
>>> Then adjust that noise amplitude to suit your taste.
>>>
>>> -Partev
>>>
>>> ==============================================================
>>>
>>> --- oyvind.brandtsegg@ntnu.no wrote:
>>>
>>> From: Oeyvind Brandtsegg
>>> To: csound@lists.bath.ac.uk
>>> Subject: Re: [Csnd] distortion ftable
>>> Date: Thu, 16 Jun 2011 17:27:30 +0200
>>>
>>> Please try the other distortion techniques too.
>>> I haven't used distort (or probably did a long time ago, but can't
>>> remember how it sounds),
>>> but distort1 sound quite ok,
>>> lpf18 also has nice dist,
>>> and the waveshaping techniques (experiment with different shapes)
>>> and the slope based delay.
>>> Run any combination of these in parallell and/or series, combine with
>>> low pass filtering.
>>> Tube amp distortion is no simple task, and you might have to model it
>>> differently depending on your source signal and obviously also
>>> depending on your taste and your idea of tube distortion.
>>> best
>>> Oeyvind
>>>
>>> 2011/6/16 Adam Puckett:
>>>> Here's my CSD:
>>>>
>>>> 
>>>> 
>>>> -iadc2 -odac1
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 1
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>> instr 1
>>>> asig inch 1
>>>> awsh distort asig, 1, 5
>>>> outs awsh, awsh
>>>> endin
>>>> 
>>>> 
>>>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48
>>>> 1536
>>>> .48
>>>> i1 0 120
>>>> e
>>>> 
>>>> 
>>>>
>>>> It doesn't sound like tube distortion. What changes do I need to make?
>>>>
>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>> You're right that you don't need to normalize when you're already at
>>>>> 0dbfs=1.
>>>>>
>>>>> Is that code from Mikelson?
>>>>> Hm, I didn' check, but remember it slightly different
>>>>>
>>>>> I thought it was more like:
>>>>>
>>>>> awsh tablei asig*0.5, itable, 1, 0.5, 0 ; awsh=output, asig=input
>>>>>
>>>>> so that
>>>>> - the input signal has a range of -0.5 to +0.5
>>>>> - 4th arg to table = 0.5: the table index is offset by 0.5 (so our
>>>>> asig lookup will be in the range 0.0 to 1.0)
>>>>> - 5th arg to table = 0: no wraparound, as that will cause
>>>>> discontinuities with the most usual transfer functions
>>>>>
>>>>> In case of doubt, you can alsways test your implementation by using a
>>>>> linear transfer function (line from -1 to +1),
>>>>> and your output signal should be exactly equal to the input signal.
>>>>>
>>>>> best
>>>>> Oeyvind
>>>>>
>>>>> 2011/6/16 Adam Puckett:
>>>>>>  From this code, I can assume that by "waveshaping you mean something
>>>>>> like:
>>>>>>
>>>>>> awsh tablei asig, itable, 1, 0, 1 ; awsh=output, asig=input
>>>>>>
>>>>>> Am I right? And what would I do for 0dbfs = 1? Seems like I wouldn't
>>>>>> need to do all this normalization because 0dbfs is already 0 to 1.
>>>>>>
>>>>>> Thanks for your help.
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>>> Hello Adam,
>>>>>>> Distort1 should work nicely.
>>>>>>>
>>>>>>> You could use distort1 to generate a waveshape table, but then you
>>>>>>> could just as well use distort1 I think, as you can tweak the
>>>>>>> parameters on distort1 (but on on a wavetable). You can probably find
>>>>>>> a lot of transfer functions for different tube amps on the net.
>>>>>>> Experimenting with waveshaping is a good way to search for 'your own'
>>>>>>> distortion.
>>>>>>>
>>>>>>> Also, check out the slope based delay distortion in orchestra (instr
>>>>>>> 13 in http://www.csounds.com/mikelson/multifx.orc)
>>>>>>>
>>>>>>> best
>>>>>>> Oeyvind
>>>>>>>
>>>>>>> 2011/6/16 Adam Puckett:
>>>>>>>> Hey guys,
>>>>>>>>
>>>>>>>> I'd like to find a way to distort my guitar with Csound as if I'm
>>>>>>>> playing it with an amplifier with distortion. How can I, using the
>>>>>>>> distort opcode, make an ftable that would do this? Or could I use
>>>>>>>> distort1?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>>
>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>
>>>>>>>>   https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>> "unsubscribe
>>>>>>>> csound"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>
>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe
>>>>>>> csound"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>>
>>> _____________________________________________________________
>>> Netscape.  Just the Net You Need.
>>> Send bugs reports to the Sourceforge bug tracker
>>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>>
>> _____________________________________________________________
>> Netscape.  Just the Net You Need.
>> Send bugs reports to the Sourceforge bug tracker
>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>
>
>
> _____________________________________________________________
> Netscape.  Just the Net You Need.
> Send bugs reports to the Sourceforge bug tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-06-17 11:41
FromKITA
SubjectRe: [Csnd] distortion ftable
Hello Adam,

i am not sure this can help or not, i just added instr2 to demonstrate fuzz sound:



;-iadc2 -odac1


sr = 44100
ksmps = 1
nchnls = 2
0dbfs = 1

gamix init 0

instr 1
asig inch 1
gamix = gamix + asig
; awsh distort asig, 1, 5
; outs awsh, awsh
endin

instr 2
k2      linen   1, 0.01, p3-0.01, p3-0.01
a2      oscil   k2*p4, p5, 2
gamix = gamix + a2*0.2
endin

instr 99
; adist     distort1 gamix*200000, 1, 1, 0, 0
; a99 = adist*0.00002
adist      distort gamix, 0.2, 5
a99 = adist*0.5
outs a99,a99
gamix = 0
endin



f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48 1536 .48
i1 0 120

f2 0 8192 10 1
i2 0   5 1   300
i2 0.5 5 0.6 240
i2 1   5 0.4 200

i99 0 120

e





to get soft distortion, you should use
adist      distort gamix, 0.05, 5

to get full distortion,
adist      distort gamix, 1, 5

and you can also use
adist     distort1 gamix*200000, 1, 1, 0, 0
a99 = adist*0.00002
in stead of
adist      distort gamix, 0.2, 5
a99 = adist*0.5


(2011年06月17日 08:43), Adam Puckett wrote:
> I added the input signal and it just sounds like noise + sine + clean guitar.
> 
> On 6/16/11, Partev Barr Sarkissian  wrote:
>> Yes. It is part of the noise floor of the amp.
>>
>> ===========================================
>>
>> --- adotsdothmusic@gmail.com wrote:
>>
>> From: Adam Puckett 
>> To: csound@lists.bath.ac.uk
>> Subject: Re: [Csnd] distortion ftable
>> Date: Thu, 16 Jun 2011 18:47:40 -0400
>>
>> Partev,
>>
>> How exactly am I supposed to use that CSD? All it does is make a sine
>> wave and noise. Should I add an input signal on top of that mix?
>>
>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>> Cool! Being that I work at Line 6, I deal with
>>> amps made to sound like old style amps. And I've
>>> even owned a few of the real things in the past.
>>> Learned what makes them tick. A number of Line 6
>>> amp model patches are designed to model,... yes,
>>> even the noise that goes with those old classic
>>> amp sounds. Enjoy.
>>>
>>> Now it's just a matter of noise adhust, EQ and just
>>> generally dialing it in to where you want it.
>>>
>>>
>>> Cheers,
>>> -Partev
>>>
>>>
>>> ===========================================
>>>
>>>
>>>
>>> --- adotsdothmusic@gmail.com wrote:
>>>
>>> From: Adam Puckett 
>>> To: csound@lists.bath.ac.uk
>>> Subject: Re: [Csnd] distortion ftable
>>> Date: Thu, 16 Jun 2011 18:29:48 -0400
>>>
>>> OK:
>>>
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 1
>>> nchnls = 1
>>> 0dbfs = 1
>>> instr 1
>>> asig oscil .91, 60, 1
>>> anoise rand .03
>>> amix = asig+anoise
>>> out amix
>>> endin
>>> 
>>> 
>>> f1 0 8192 10 1
>>> i1 0 20
>>> e
>>> 
>>> 
>>>
>>> This sounds a little like my amp actually.
>>>
>>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>>> Take a 60-hz sine wave, get some low amplitude noise (random)
>>>> to ride on it, add it to the signal at a very low amplitude.
>>>> Then adjust that noise amplitude to suit your taste.
>>>>
>>>> -Partev
>>>>
>>>> ==============================================================
>>>>
>>>> --- oyvind.brandtsegg@ntnu.no wrote:
>>>>
>>>> From: Oeyvind Brandtsegg 
>>>> To: csound@lists.bath.ac.uk
>>>> Subject: Re: [Csnd] distortion ftable
>>>> Date: Thu, 16 Jun 2011 17:27:30 +0200
>>>>
>>>> Please try the other distortion techniques too.
>>>> I haven't used distort (or probably did a long time ago, but can't
>>>> remember how it sounds),
>>>> but distort1 sound quite ok,
>>>> lpf18 also has nice dist,
>>>> and the waveshaping techniques (experiment with different shapes)
>>>> and the slope based delay.
>>>> Run any combination of these in parallell and/or series, combine with
>>>> low pass filtering.
>>>> Tube amp distortion is no simple task, and you might have to model it
>>>> differently depending on your source signal and obviously also
>>>> depending on your taste and your idea of tube distortion.
>>>> best
>>>> Oeyvind
>>>>
>>>> 2011/6/16 Adam Puckett :
>>>>> Here's my CSD:
>>>>>
>>>>> 
>>>>> 
>>>>> -iadc2 -odac1
>>>>> 
>>>>> 
>>>>> sr = 44100
>>>>> ksmps = 1
>>>>> nchnls = 2
>>>>> 0dbfs = 1
>>>>> instr 1
>>>>> asig inch 1
>>>>> awsh distort asig, 1, 5
>>>>> outs awsh, awsh
>>>>> endin
>>>>> 
>>>>> 
>>>>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48
>>>>> 1536
>>>>> .48
>>>>> i1 0 120
>>>>> e
>>>>> 
>>>>> 
>>>>>
>>>>> It doesn't sound like tube distortion. What changes do I need to make?
>>>>>
>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>> You're right that you don't need to normalize when you're already at
>>>>>> 0dbfs=1.
>>>>>>
>>>>>> Is that code from Mikelson?
>>>>>> Hm, I didn' check, but remember it slightly different
>>>>>>
>>>>>> I thought it was more like:
>>>>>>
>>>>>> awsh tablei asig*0.5, itable, 1, 0.5, 0 ; awsh=output, asig=input
>>>>>>
>>>>>> so that
>>>>>> - the input signal has a range of -0.5 to +0.5
>>>>>> - 4th arg to table = 0.5: the table index is offset by 0.5 (so our
>>>>>> asig lookup will be in the range 0.0 to 1.0)
>>>>>> - 5th arg to table = 0: no wraparound, as that will cause
>>>>>> discontinuities with the most usual transfer functions
>>>>>>
>>>>>> In case of doubt, you can alsways test your implementation by using a
>>>>>> linear transfer function (line from -1 to +1),
>>>>>> and your output signal should be exactly equal to the input signal.
>>>>>>
>>>>>> best
>>>>>> Oeyvind
>>>>>>
>>>>>> 2011/6/16 Adam Puckett :
>>>>>>> From this code, I can assume that by "waveshaping you mean something
>>>>>>> like:
>>>>>>>
>>>>>>> awsh tablei asig, itable, 1, 0, 1 ; awsh=output, asig=input
>>>>>>>
>>>>>>> Am I right? And what would I do for 0dbfs = 1? Seems like I wouldn't
>>>>>>> need to do all this normalization because 0dbfs is already 0 to 1.
>>>>>>>
>>>>>>> Thanks for your help.
>>>>>>>
>>>>>>> Adam
>>>>>>>
>>>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>>>> Hello Adam,
>>>>>>>> Distort1 should work nicely.
>>>>>>>>
>>>>>>>> You could use distort1 to generate a waveshape table, but then you
>>>>>>>> could just as well use distort1 I think, as you can tweak the
>>>>>>>> parameters on distort1 (but on on a wavetable). You can probably
>>>>>>>> find
>>>>>>>> a lot of transfer functions for different tube amps on the net.
>>>>>>>> Experimenting with waveshaping is a good way to search for 'your
>>>>>>>> own'
>>>>>>>> distortion.
>>>>>>>>
>>>>>>>> Also, check out the slope based delay distortion in orchestra (instr
>>>>>>>> 13 in http://www.csounds.com/mikelson/multifx.orc)
>>>>>>>>
>>>>>>>> best
>>>>>>>> Oeyvind
>>>>>>>>
>>>>>>>> 2011/6/16 Adam Puckett :
>>>>>>>>> Hey guys,
>>>>>>>>>
>>>>>>>>> I'd like to find a way to distort my guitar with Csound as if I'm
>>>>>>>>> playing it with an amplifier with distortion. How can I, using the
>>>>>>>>> distort opcode, make an ftable that would do this? Or could I use
>>>>>>>>> distort1?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> Adam
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>>
>>>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>>> "unsubscribe
>>>>>>>>> csound"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>
>>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>> "unsubscribe
>>>>>>>> csound"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>
>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe
>>>>>>> csound"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>
>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _____________________________________________________________
>>>> Netscape.  Just the Net You Need.
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>>
>>> _____________________________________________________________
>>> Netscape.  Just the Net You Need.
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>>
>> _____________________________________________________________
>> Netscape.  Just the Net You Need.
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 

Date2011-06-17 13:41
FromAdam Puckett
SubjectRe: [Csnd] distortion ftable
Thanks! I like the sound of the distort1 solution better than using
the ftable. Now I just have to remember not to distort my drums. ;)

On 6/17/11, KITA  wrote:
> Hello Adam,
>
> i am not sure this can help or not, i just added instr2 to demonstrate fuzz
> sound:
>
> 
> 
> ;-iadc2 -odac1
> 
> 
> sr = 44100
> ksmps = 1
> nchnls = 2
> 0dbfs = 1
>
> gamix init 0
>
> instr 1
> asig inch 1
> gamix = gamix + asig
> ; awsh distort asig, 1, 5
> ; outs awsh, awsh
> endin
>
> instr 2
> k2      linen   1, 0.01, p3-0.01, p3-0.01
> a2      oscil   k2*p4, p5, 2
> gamix = gamix + a2*0.2
> endin
>
> instr 99
> ; adist     distort1 gamix*200000, 1, 1, 0, 0
> ; a99 = adist*0.00002
> adist      distort gamix, 0.2, 5
> a99 = adist*0.5
> outs a99,a99
> gamix = 0
> endin
>
> 
> 
> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48 1536
> .48
> i1 0 120
>
> f2 0 8192 10 1
> i2 0   5 1   300
> i2 0.5 5 0.6 240
> i2 1   5 0.4 200
>
> i99 0 120
>
> e
> 
> 
>
>
>
> to get soft distortion, you should use
> adist      distort gamix, 0.05, 5
>
> to get full distortion,
> adist      distort gamix, 1, 5
>
> and you can also use
> adist     distort1 gamix*200000, 1, 1, 0, 0
> a99 = adist*0.00002
> in stead of
> adist      distort gamix, 0.2, 5
> a99 = adist*0.5
>
>
> (2011年06月17日 08:43), Adam Puckett wrote:
>> I added the input signal and it just sounds like noise + sine + clean
>> guitar.
>>
>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>> Yes. It is part of the noise floor of the amp.
>>>
>>> ===========================================
>>>
>>> --- adotsdothmusic@gmail.com wrote:
>>>
>>> From: Adam Puckett 
>>> To: csound@lists.bath.ac.uk
>>> Subject: Re: [Csnd] distortion ftable
>>> Date: Thu, 16 Jun 2011 18:47:40 -0400
>>>
>>> Partev,
>>>
>>> How exactly am I supposed to use that CSD? All it does is make a sine
>>> wave and noise. Should I add an input signal on top of that mix?
>>>
>>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>>> Cool! Being that I work at Line 6, I deal with
>>>> amps made to sound like old style amps. And I've
>>>> even owned a few of the real things in the past.
>>>> Learned what makes them tick. A number of Line 6
>>>> amp model patches are designed to model,... yes,
>>>> even the noise that goes with those old classic
>>>> amp sounds. Enjoy.
>>>>
>>>> Now it's just a matter of noise adhust, EQ and just
>>>> generally dialing it in to where you want it.
>>>>
>>>>
>>>> Cheers,
>>>> -Partev
>>>>
>>>>
>>>> ===========================================
>>>>
>>>>
>>>>
>>>> --- adotsdothmusic@gmail.com wrote:
>>>>
>>>> From: Adam Puckett 
>>>> To: csound@lists.bath.ac.uk
>>>> Subject: Re: [Csnd] distortion ftable
>>>> Date: Thu, 16 Jun 2011 18:29:48 -0400
>>>>
>>>> OK:
>>>>
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 1
>>>> nchnls = 1
>>>> 0dbfs = 1
>>>> instr 1
>>>> asig oscil .91, 60, 1
>>>> anoise rand .03
>>>> amix = asig+anoise
>>>> out amix
>>>> endin
>>>> 
>>>> 
>>>> f1 0 8192 10 1
>>>> i1 0 20
>>>> e
>>>> 
>>>> 
>>>>
>>>> This sounds a little like my amp actually.
>>>>
>>>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>>>> Take a 60-hz sine wave, get some low amplitude noise (random)
>>>>> to ride on it, add it to the signal at a very low amplitude.
>>>>> Then adjust that noise amplitude to suit your taste.
>>>>>
>>>>> -Partev
>>>>>
>>>>> ==============================================================
>>>>>
>>>>> --- oyvind.brandtsegg@ntnu.no wrote:
>>>>>
>>>>> From: Oeyvind Brandtsegg 
>>>>> To: csound@lists.bath.ac.uk
>>>>> Subject: Re: [Csnd] distortion ftable
>>>>> Date: Thu, 16 Jun 2011 17:27:30 +0200
>>>>>
>>>>> Please try the other distortion techniques too.
>>>>> I haven't used distort (or probably did a long time ago, but can't
>>>>> remember how it sounds),
>>>>> but distort1 sound quite ok,
>>>>> lpf18 also has nice dist,
>>>>> and the waveshaping techniques (experiment with different shapes)
>>>>> and the slope based delay.
>>>>> Run any combination of these in parallell and/or series, combine with
>>>>> low pass filtering.
>>>>> Tube amp distortion is no simple task, and you might have to model it
>>>>> differently depending on your source signal and obviously also
>>>>> depending on your taste and your idea of tube distortion.
>>>>> best
>>>>> Oeyvind
>>>>>
>>>>> 2011/6/16 Adam Puckett :
>>>>>> Here's my CSD:
>>>>>>
>>>>>> 
>>>>>> 
>>>>>> -iadc2 -odac1
>>>>>> 
>>>>>> 
>>>>>> sr = 44100
>>>>>> ksmps = 1
>>>>>> nchnls = 2
>>>>>> 0dbfs = 1
>>>>>> instr 1
>>>>>> asig inch 1
>>>>>> awsh distort asig, 1, 5
>>>>>> outs awsh, awsh
>>>>>> endin
>>>>>> 
>>>>>> 
>>>>>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48
>>>>>> 1536
>>>>>> .48
>>>>>> i1 0 120
>>>>>> e
>>>>>> 
>>>>>> 
>>>>>>
>>>>>> It doesn't sound like tube distortion. What changes do I need to make?
>>>>>>
>>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>>> You're right that you don't need to normalize when you're already at
>>>>>>> 0dbfs=1.
>>>>>>>
>>>>>>> Is that code from Mikelson?
>>>>>>> Hm, I didn' check, but remember it slightly different
>>>>>>>
>>>>>>> I thought it was more like:
>>>>>>>
>>>>>>> awsh tablei asig*0.5, itable, 1, 0.5, 0 ; awsh=output, asig=input
>>>>>>>
>>>>>>> so that
>>>>>>> - the input signal has a range of -0.5 to +0.5
>>>>>>> - 4th arg to table = 0.5: the table index is offset by 0.5 (so our
>>>>>>> asig lookup will be in the range 0.0 to 1.0)
>>>>>>> - 5th arg to table = 0: no wraparound, as that will cause
>>>>>>> discontinuities with the most usual transfer functions
>>>>>>>
>>>>>>> In case of doubt, you can alsways test your implementation by using a
>>>>>>> linear transfer function (line from -1 to +1),
>>>>>>> and your output signal should be exactly equal to the input signal.
>>>>>>>
>>>>>>> best
>>>>>>> Oeyvind
>>>>>>>
>>>>>>> 2011/6/16 Adam Puckett :
>>>>>>>> From this code, I can assume that by "waveshaping you mean something
>>>>>>>> like:
>>>>>>>>
>>>>>>>> awsh tablei asig, itable, 1, 0, 1 ; awsh=output, asig=input
>>>>>>>>
>>>>>>>> Am I right? And what would I do for 0dbfs = 1? Seems like I wouldn't
>>>>>>>> need to do all this normalization because 0dbfs is already 0 to 1.
>>>>>>>>
>>>>>>>> Thanks for your help.
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>>>>> Hello Adam,
>>>>>>>>> Distort1 should work nicely.
>>>>>>>>>
>>>>>>>>> You could use distort1 to generate a waveshape table, but then you
>>>>>>>>> could just as well use distort1 I think, as you can tweak the
>>>>>>>>> parameters on distort1 (but on on a wavetable). You can probably
>>>>>>>>> find
>>>>>>>>> a lot of transfer functions for different tube amps on the net.
>>>>>>>>> Experimenting with waveshaping is a good way to search for 'your
>>>>>>>>> own'
>>>>>>>>> distortion.
>>>>>>>>>
>>>>>>>>> Also, check out the slope based delay distortion in orchestra
>>>>>>>>> (instr
>>>>>>>>> 13 in http://www.csounds.com/mikelson/multifx.orc)
>>>>>>>>>
>>>>>>>>> best
>>>>>>>>> Oeyvind
>>>>>>>>>
>>>>>>>>> 2011/6/16 Adam Puckett :
>>>>>>>>>> Hey guys,
>>>>>>>>>>
>>>>>>>>>> I'd like to find a way to distort my guitar with Csound as if I'm
>>>>>>>>>> playing it with an amplifier with distortion. How can I, using the
>>>>>>>>>> distort opcode, make an ftable that would do this? Or could I use
>>>>>>>>>> distort1?
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> Adam
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>>>
>>>>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>>>> "unsubscribe
>>>>>>>>>> csound"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>>
>>>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>>> "unsubscribe
>>>>>>>>> csound"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>
>>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>> "unsubscribe
>>>>>>>> csound"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>
>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe
>>>>>>> csound"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _____________________________________________________________
>>>>> Netscape.  Just the Net You Need.
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _____________________________________________________________
>>>> Netscape.  Just the Net You Need.
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>>
>>> _____________________________________________________________
>>> Netscape.  Just the Net You Need.
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> --
> KITA Toshihiro
> http://t-kita.net
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-06-17 15:41
FromAidan Collins
SubjectRe: [Csnd] distortion ftable
I'm also working on a few ideas for using Csound to effect my guitar
sound, I'd love to hear what you come up with if you're willing to
share!

Another thing to consider might be using the pconvolve opcode with
impulse responses. I haven't tried it yet, but I've heard there are
IRs for speaker cabinets out there.

Aidan



On Fri, Jun 17, 2011 at 8:41 AM, Adam Puckett  wrote:
> Thanks! I like the sound of the distort1 solution better than using
> the ftable. Now I just have to remember not to distort my drums. ;)
>
> On 6/17/11, KITA  wrote:
>> Hello Adam,
>>
>> i am not sure this can help or not, i just added instr2 to demonstrate fuzz
>> sound:
>>
>> 
>> 
>> ;-iadc2 -odac1
>> 
>> 
>> sr = 44100
>> ksmps = 1
>> nchnls = 2
>> 0dbfs = 1
>>
>> gamix init 0
>>
>> instr 1
>> asig inch 1
>> gamix = gamix + asig
>> ; awsh distort asig, 1, 5
>> ; outs awsh, awsh
>> endin
>>
>> instr 2
>> k2      linen   1, 0.01, p3-0.01, p3-0.01
>> a2      oscil   k2*p4, p5, 2
>> gamix = gamix + a2*0.2
>> endin
>>
>> instr 99
>> ; adist     distort1 gamix*200000, 1, 1, 0, 0
>> ; a99 = adist*0.00002
>> adist      distort gamix, 0.2, 5
>> a99 = adist*0.5
>> outs a99,a99
>> gamix = 0
>> endin
>>
>> 
>> 
>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48 1536
>> .48
>> i1 0 120
>>
>> f2 0 8192 10 1
>> i2 0   5 1   300
>> i2 0.5 5 0.6 240
>> i2 1   5 0.4 200
>>
>> i99 0 120
>>
>> e
>> 
>> 
>>
>>
>>
>> to get soft distortion, you should use
>> adist      distort gamix, 0.05, 5
>>
>> to get full distortion,
>> adist      distort gamix, 1, 5
>>
>> and you can also use
>> adist     distort1 gamix*200000, 1, 1, 0, 0
>> a99 = adist*0.00002
>> in stead of
>> adist      distort gamix, 0.2, 5
>> a99 = adist*0.5
>>
>>
>> (2011年06月17日 08:43), Adam Puckett wrote:
>>> I added the input signal and it just sounds like noise + sine + clean
>>> guitar.
>>>
>>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>>> Yes. It is part of the noise floor of the amp.
>>>>
>>>> ===========================================
>>>>
>>>> --- adotsdothmusic@gmail.com wrote:
>>>>
>>>> From: Adam Puckett 
>>>> To: csound@lists.bath.ac.uk
>>>> Subject: Re: [Csnd] distortion ftable
>>>> Date: Thu, 16 Jun 2011 18:47:40 -0400
>>>>
>>>> Partev,
>>>>
>>>> How exactly am I supposed to use that CSD? All it does is make a sine
>>>> wave and noise. Should I add an input signal on top of that mix?
>>>>
>>>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>>>> Cool! Being that I work at Line 6, I deal with
>>>>> amps made to sound like old style amps. And I've
>>>>> even owned a few of the real things in the past.
>>>>> Learned what makes them tick. A number of Line 6
>>>>> amp model patches are designed to model,... yes,
>>>>> even the noise that goes with those old classic
>>>>> amp sounds. Enjoy.
>>>>>
>>>>> Now it's just a matter of noise adhust, EQ and just
>>>>> generally dialing it in to where you want it.
>>>>>
>>>>>
>>>>> Cheers,
>>>>> -Partev
>>>>>
>>>>>
>>>>> ===========================================
>>>>>
>>>>>
>>>>>
>>>>> --- adotsdothmusic@gmail.com wrote:
>>>>>
>>>>> From: Adam Puckett 
>>>>> To: csound@lists.bath.ac.uk
>>>>> Subject: Re: [Csnd] distortion ftable
>>>>> Date: Thu, 16 Jun 2011 18:29:48 -0400
>>>>>
>>>>> OK:
>>>>>
>>>>> 
>>>>> 
>>>>> sr = 44100
>>>>> ksmps = 1
>>>>> nchnls = 1
>>>>> 0dbfs = 1
>>>>> instr 1
>>>>> asig oscil .91, 60, 1
>>>>> anoise rand .03
>>>>> amix = asig+anoise
>>>>> out amix
>>>>> endin
>>>>> 
>>>>> 
>>>>> f1 0 8192 10 1
>>>>> i1 0 20
>>>>> e
>>>>> 
>>>>> 
>>>>>
>>>>> This sounds a little like my amp actually.
>>>>>
>>>>> On 6/16/11, Partev Barr Sarkissian  wrote:
>>>>>> Take a 60-hz sine wave, get some low amplitude noise (random)
>>>>>> to ride on it, add it to the signal at a very low amplitude.
>>>>>> Then adjust that noise amplitude to suit your taste.
>>>>>>
>>>>>> -Partev
>>>>>>
>>>>>> ==============================================================
>>>>>>
>>>>>> --- oyvind.brandtsegg@ntnu.no wrote:
>>>>>>
>>>>>> From: Oeyvind Brandtsegg 
>>>>>> To: csound@lists.bath.ac.uk
>>>>>> Subject: Re: [Csnd] distortion ftable
>>>>>> Date: Thu, 16 Jun 2011 17:27:30 +0200
>>>>>>
>>>>>> Please try the other distortion techniques too.
>>>>>> I haven't used distort (or probably did a long time ago, but can't
>>>>>> remember how it sounds),
>>>>>> but distort1 sound quite ok,
>>>>>> lpf18 also has nice dist,
>>>>>> and the waveshaping techniques (experiment with different shapes)
>>>>>> and the slope based delay.
>>>>>> Run any combination of these in parallell and/or series, combine with
>>>>>> low pass filtering.
>>>>>> Tube amp distortion is no simple task, and you might have to model it
>>>>>> differently depending on your source signal and obviously also
>>>>>> depending on your taste and your idea of tube distortion.
>>>>>> best
>>>>>> Oeyvind
>>>>>>
>>>>>> 2011/6/16 Adam Puckett :
>>>>>>> Here's my CSD:
>>>>>>>
>>>>>>> 
>>>>>>> 
>>>>>>> -iadc2 -odac1
>>>>>>> 
>>>>>>> 
>>>>>>> sr = 44100
>>>>>>> ksmps = 1
>>>>>>> nchnls = 2
>>>>>>> 0dbfs = 1
>>>>>>> instr 1
>>>>>>> asig inch 1
>>>>>>> awsh distort asig, 1, 5
>>>>>>> outs awsh, awsh
>>>>>>> endin
>>>>>>> 
>>>>>>> 
>>>>>>> f5 0 8192 7 -.8 934 -.79 934 -.77 934 -.64 1034 -.48 520 .47 2300 .48
>>>>>>> 1536
>>>>>>> .48
>>>>>>> i1 0 120
>>>>>>> e
>>>>>>> 
>>>>>>> 
>>>>>>>
>>>>>>> It doesn't sound like tube distortion. What changes do I need to make?
>>>>>>>
>>>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>>>> You're right that you don't need to normalize when you're already at
>>>>>>>> 0dbfs=1.
>>>>>>>>
>>>>>>>> Is that code from Mikelson?
>>>>>>>> Hm, I didn' check, but remember it slightly different
>>>>>>>>
>>>>>>>> I thought it was more like:
>>>>>>>>
>>>>>>>> awsh tablei asig*0.5, itable, 1, 0.5, 0 ; awsh=output, asig=input
>>>>>>>>
>>>>>>>> so that
>>>>>>>> - the input signal has a range of -0.5 to +0.5
>>>>>>>> - 4th arg to table = 0.5: the table index is offset by 0.5 (so our
>>>>>>>> asig lookup will be in the range 0.0 to 1.0)
>>>>>>>> - 5th arg to table = 0: no wraparound, as that will cause
>>>>>>>> discontinuities with the most usual transfer functions
>>>>>>>>
>>>>>>>> In case of doubt, you can alsways test your implementation by using a
>>>>>>>> linear transfer function (line from -1 to +1),
>>>>>>>> and your output signal should be exactly equal to the input signal.
>>>>>>>>
>>>>>>>> best
>>>>>>>> Oeyvind
>>>>>>>>
>>>>>>>> 2011/6/16 Adam Puckett :
>>>>>>>>> From this code, I can assume that by "waveshaping you mean something
>>>>>>>>> like:
>>>>>>>>>
>>>>>>>>> awsh tablei asig, itable, 1, 0, 1 ; awsh=output, asig=input
>>>>>>>>>
>>>>>>>>> Am I right? And what would I do for 0dbfs = 1? Seems like I wouldn't
>>>>>>>>> need to do all this normalization because 0dbfs is already 0 to 1.
>>>>>>>>>
>>>>>>>>> Thanks for your help.
>>>>>>>>>
>>>>>>>>> Adam
>>>>>>>>>
>>>>>>>>> On 6/16/11, Oeyvind Brandtsegg  wrote:
>>>>>>>>>> Hello Adam,
>>>>>>>>>> Distort1 should work nicely.
>>>>>>>>>>
>>>>>>>>>> You could use distort1 to generate a waveshape table, but then you
>>>>>>>>>> could just as well use distort1 I think, as you can tweak the
>>>>>>>>>> parameters on distort1 (but on on a wavetable). You can probably
>>>>>>>>>> find
>>>>>>>>>> a lot of transfer functions for different tube amps on the net.
>>>>>>>>>> Experimenting with waveshaping is a good way to search for 'your
>>>>>>>>>> own'
>>>>>>>>>> distortion.
>>>>>>>>>>
>>>>>>>>>> Also, check out the slope based delay distortion in orchestra
>>>>>>>>>> (instr
>>>>>>>>>> 13 in http://www.csounds.com/mikelson/multifx.orc)
>>>>>>>>>>
>>>>>>>>>> best
>>>>>>>>>> Oeyvind
>>>>>>>>>>
>>>>>>>>>> 2011/6/16 Adam Puckett :
>>>>>>>>>>> Hey guys,
>>>>>>>>>>>
>>>>>>>>>>> I'd like to find a way to distort my guitar with Csound as if I'm
>>>>>>>>>>> playing it with an amplifier with distortion. How can I, using the
>>>>>>>>>>> distort opcode, make an ftable that would do this? Or could I use
>>>>>>>>>>> distort1?
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>>
>>>>>>>>>>> Adam
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>>>>
>>>>>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>>>>> "unsubscribe
>>>>>>>>>>> csound"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>>>
>>>>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>>>> "unsubscribe
>>>>>>>>>> csound"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>>
>>>>>>>>>  https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>>> "unsubscribe
>>>>>>>>> csound"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>>
>>>>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>>> "unsubscribe
>>>>>>>> csound"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>>> "unsubscribe
>>>>>>> csound"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _____________________________________________________________
>>>>>> Netscape.  Just the Net You Need.
>>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>>> Discussions of bugs and features can be posted here
>>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>>> "unsubscribe
>>>>>> csound"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _____________________________________________________________
>>>>> Netscape.  Just the Net You Need.
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _____________________________________________________________
>>>> Netscape.  Just the Net You Need.
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>> --
>> KITA Toshihiro
>> http://t-kita.net
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-06-18 08:24
Fromzappfinger
Subject[Csnd] Re: distortion ftable
Apparently convolution is not suitable to produce distortion effects, since
it works in the lineair domain, it does not add harmonics that are not in
the original signal.
It is great for reverbs, though.

See the following thread on convolution and distortion...

http://www.sweetwater.com/forums/showthread.php?6015-modeling-distortion-with-convolution

--
View this message in context: http://csound.1045644.n5.nabble.com/distortion-ftable-tp4494901p4500784.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"