Csound Csound-dev Csound-tekno Search About

[Csnd] Square wave

Date2010-02-04 18:19
Fromjpff
Subject[Csnd] Square wave
> Yup! I should read over emails before I send them!
>
> On 4 February 2010 03:03, Mike Moser-Booth  wrote:
>> You mean odd harmonics to 1, even harmonics to 0, right? :-)
>>
>> .mmb
>>
>> Rory Walsh wrote:
>>
>> Whoops, a square wave you said, set the strength of each odd harmonics
>> to 0 then.
>>
>> On 3 February 2010 20:02, Rory Walsh  wrote:
>>
>>
>> You can do this using GEN10 and setting the first 10 harmonics to full
>> strnght, i.e,
>>
>> f1 0 1024 10 1 1 1 1 1 1 1 1 1 1
>>
>> Then use an oscil to read this table.

Surely a square wave is 1/n for every odd harmionic and 0 for even

f1 0 1024 10 1 0 1/2 0 1/3 0 1/5 0 1/7 0 1/9


==John ffitch


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-02-04 18:27
FromRory Walsh
Subject[Csnd] Re: Square wave
My rather speedy and careless reply has been pointed out already but
thanks for opening a new thread to highlight it again :)



On 4 February 2010 18:19, jpff  wrote:
>> Yup!
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-02-04 18:28
FromAndres Cabrera
Subject[Csnd] Re: Square wave
You surely mean:

f1 0 1024 10 1 0 1/3 0 1/5 0 1/7 0 1/9 0 1/11

Cheers,
Andrés

On Thu, Feb 4, 2010 at 6:19 PM, jpff  wrote:
>> Yup! I should read over emails before I send them!
>>
>> On 4 February 2010 03:03, Mike Moser-Booth  wrote:
>>> You mean odd harmonics to 1, even harmonics to 0, right? :-)
>>>
>>> .mmb
>>>
>>> Rory Walsh wrote:
>>>
>>> Whoops, a square wave you said, set the strength of each odd harmonics
>>> to 0 then.
>>>
>>> On 3 February 2010 20:02, Rory Walsh  wrote:
>>>
>>>
>>> You can do this using GEN10 and setting the first 10 harmonics to full
>>> strnght, i.e,
>>>
>>> f1 0 1024 10 1 1 1 1 1 1 1 1 1 1
>>>
>>> Then use an oscil to read this table.
>
> Surely a square wave is 1/n for every odd harmionic and 0 for even
>
> f1 0 1024 10 1 0 1/2 0 1/3 0 1/5 0 1/7 0 1/9
>
>
> ==John ffitch
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-02-04 18:34
FromRory Walsh
Subject[Csnd] Re: Re: Square wave
Well spotted Andres! Now John and I have egg on our faces!

On 4 February 2010 18:28, Andres Cabrera  wrote:
> You surely mean:
>
> f1 0 1024 10 1 0 1/3 0 1/5 0 1/7 0 1/9 0 1/11
>
> Cheers,
> Andrés
>
> On Thu, Feb 4, 2010 at 6:19 PM, jpff  wrote:
>>> Yup! I should read over emails before I send them!
>>>
>>> On 4 February 2010 03:03, Mike Moser-Booth  wrote:
>>>> You mean odd harmonics to 1, even harmonics to 0, right? :-)
>>>>
>>>> .mmb
>>>>
>>>> Rory Walsh wrote:
>>>>
>>>> Whoops, a square wave you said, set the strength of each odd harmonics
>>>> to 0 then.
>>>>
>>>> On 3 February 2010 20:02, Rory Walsh  wrote:
>>>>
>>>>
>>>> You can do this using GEN10 and setting the first 10 harmonics to full
>>>> strnght, i.e,
>>>>
>>>> f1 0 1024 10 1 1 1 1 1 1 1 1 1 1
>>>>
>>>> Then use an oscil to read this table.
>>
>> Surely a square wave is 1/n for every odd harmionic and 0 for even
>>
>> f1 0 1024 10 1 0 1/2 0 1/3 0 1/5 0 1/7 0 1/9
>>
>>
>> ==John ffitch
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
>
>
> --
>
>
> Andrés
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-02-04 19:24
FromDavidW
Subject[Csnd] Re: Re: Re: Square wave
Of course that's only a (6th?) order approximation - better to draw  
the dam thing with linseg.

- David

On 05/02/2010, at 5:34 AM, Rory Walsh wrote:

> Well spotted Andres! Now John and I have egg on our faces!
>
> On 4 February 2010 18:28, Andres Cabrera   
> wrote:
>> You surely mean:
>>
>> f1 0 1024 10 1 0 1/3 0 1/5 0 1/7 0 1/9 0 1/11
>>
>> Cheers,
>> Andrés
>>
>> On Thu, Feb 4, 2010 at 6:19 PM, jpff  wrote:
>>>> Yup! I should read over emails before I send them!
>>>>
>>>> On 4 February 2010 03:03, Mike Moser-Booth  
>>>>  wrote:
>>>>> You mean odd harmonics to 1, even harmonics to 0, right? :-)
>>>>>
>>>>> .mmb
>>>>>
>>>>> Rory Walsh wrote:
>>>>>
>>>>> Whoops, a square wave you said, set the strength of each odd  
>>>>> harmonics
>>>>> to 0 then.
>>>>>
>>>>> On 3 February 2010 20:02, Rory Walsh  wrote:
>>>>>
>>>>>
>>>>> You can do this using GEN10 and setting the first 10 harmonics  
>>>>> to full
>>>>> strnght, i.e,
>>>>>
>>>>> f1 0 1024 10 1 1 1 1 1 1 1 1 1 1
>>>>>
>>>>> Then use an oscil to read this table.
>>>
>>> Surely a square wave is 1/n for every odd harmionic and 0 for even
>>>
>>> f1 0 1024 10 1 0 1/2 0 1/3 0 1/5 0 1/7 0 1/9
>>>
>>>
>>> ==John ffitch
>>>

>>> _______________________________________________

Dr David Worrall.
- Experimental Polymedia:	  worrall.avatar.com.au
- Sonification: www.sonifiction.com.au
- Education for Financial Independence: www.mindthemarkets.com.au








Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-02-04 20:29
FromVictor.Lazzarini@nuim.ie
Subject[Csnd] Re: Re: Square wave
AttachmentsNone  

Date2010-02-05 04:27
FromMike Moser-Booth
Subject[Csnd] Re: Re: Re: Square wave
You guys, this square wave seems to be having its way with us!

.mmb

Victor.Lazzarini@nuim.ie wrote:
I would expect this

f1 0 1024 10 1 0 [1/3] 0 [1/5] 0 [1/7] 0 [1/9] 0 [1/11]

to actually be the correct line

Victor
----- Original Message -----
From: Andres Cabrera <mantaraya36@gmail.com>
Date: Thursday, February 4, 2010 6:28 pm
Subject: [Csnd] Re: Square wave
To: csound@lists.bath.ac.uk

  
You surely mean:

f1 0 1024 10 1 0 1/3 0 1/5 0 1/7 0 1/9 0 1/11

Cheers,
Andrés

On Thu, Feb 4, 2010 at 6:19 PM, jpff <jpff@cs.bath.ac.uk> wrote:
    
Yup! I should read over emails before I send them!

On 4 February 2010 03:03, Mike Moser-Booth 
        
<mmoserbooth@gmail.com> wrote:
    
You mean odd harmonics to 1, even harmonics to 0, right? :-)

.mmb

Rory Walsh wrote:

Whoops, a square wave you said, set the strength of each odd 
          
harmonics>>> to 0 then.
    
On 3 February 2010 20:02, Rory Walsh <rorywalsh@ear.ie> wrote:


You can do this using GEN10 and setting the first 10 
          
harmonics to full
    
strnght, i.e,

f1 0 1024 10 1 1 1 1 1 1 1 1 1 1

Then use an oscil to read this table.
          
Surely a square wave is 1/n for every odd harmionic and 0 for even

f1 0 1024 10 1 0 1/2 0 1/3 0 1/5 0 1/7 0 1/9


==John ffitch


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body 
      
"unsubscribe csound"