Csound Csound-dev Csound-tekno Search About

Re: [Csnd] distortion ftable

Date2011-06-17 03:00
From"Partev Barr Sarkissian"
SubjectRe: [Csnd] distortion ftable
You could do it that way too. Guitar signal (clean or distorted) 
with the added noise floor (as much as you like). Mixing and 
blending the elements til you get the results you're looking for. 

Guitar signal rides on the noise floor you've set down. If 
additive summing doesn't do it, try product mixing, where it 
modulates the noise floor with the signal.


-Partev


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


--- alexweiss86@gmail.com wrote:

From: Alex Weiss 
To: csound@lists.bath.ac.uk
Subject: Re: [Csnd] distortion ftable
Date: Fri, 17 Jun 2011 02:11:17 +0200

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"




_____________________________________________________________
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"