simple questions...

View: New views
5 Messages — Rating Filter:   Alert me  

simple questions...

by RoryWalsh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've no idea why the following instrument results in clicks? The
frequency of the main envelope is 1Hz with accents being applied from
a function table with 8 items at 1/8Hz, something is not right in the
relationship between the two but I can't think of what it is, I know
it's most likely something really stupid so please go easy on me...

<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 128
nchnls = 1


instr 1
accents oscil 20000, 1/8, 3
aenv oscil accents, 1, 2
aout oscil aenv, 150, 1
out aout
endin

</CsInstruments>
<CsScore>
f1 0 1024 10 1
f2 0 1024 5 0.01 24 1 1000 0.01
f3 0 8 2 1 .2 .2 .2 1 .2 .2 .2
i1 0 20

</CsScore>
</CsoundSynthesizer>


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

Re: simple questions...

by PINOT Francois :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

accents oscili 20000, 1/8, 3 or accents oscil3 20000, 1/8, 3
On my system, oscili makes it better.

Regards

Francois Pinot

2009/10/28 Rory Walsh <rorywalsh@...>
I've no idea why the following instrument results in clicks? The
frequency of the main envelope is 1Hz with accents being applied from
a function table with 8 items at 1/8Hz, something is not right in the
relationship between the two but I can't think of what it is, I know
it's most likely something really stupid so please go easy on me...

<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 128
nchnls = 1


instr 1
accents oscil 20000, 1/8, 3
aenv oscil accents, 1, 2
aout oscil aenv, 150, 1
out aout
endin

</CsInstruments>
<CsScore>
f1 0 1024 10 1
f2 0 1024 5 0.01 24 1 1000 0.01
f3 0 8 2 1 .2 .2 .2 1 .2 .2 .2
i1 0 20

</CsScore>
</CsoundSynthesizer>


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


RE: simple questions...

by Iain McCurdy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Rory,

It seems there is sync drift between the first two oscils. oscili does indeed improve this and removes some of the general grunginess.
Using table seems an improvement also:

accph phasor 1/8
accents table accph, 3, 1
accents    = accents*20000

aenvph phasor 1
aenv table aenvph, 2, 1
aenv = aenv * accents

...but over a long period of time there is still a subtle drift.

A sledgehammer approach is to set both oscils to 1/8 and use this as f-table 2:
f2 0 [1024*8] 5 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01

Sorry didn't get to see you last Thursday, I think your employers are working you too hard at the moment.
Iain
 

> From: rorywalsh@...
> Date: Wed, 28 Oct 2009 09:55:13 +0000
> To: csound@...
> Subject: [Csnd] simple questions...
>
> I've no idea why the following instrument results in clicks? The
> frequency of the main envelope is 1Hz with accents being applied from
> a function table with 8 items at 1/8Hz, something is not right in the
> relationship between the two but I can't think of what it is, I know
> it's most likely something really stupid so please go easy on me...
>
> <CsoundSynthesizer>
> <CsOptions>
> </CsOptions>
> <CsInstruments>
> sr = 44100
> ksmps = 128
> nchnls = 1
>
>
> instr 1
> accents oscil 20000, 1/8, 3
> aenv oscil accents, 1, 2
> aout oscil aenv, 150, 1
> out aout
> endin
>
> </CsInstruments>
> <CsScore>
> f1 0 1024 10 1
> f2 0 1024 5 0.01 24 1 1000 0.01
> f3 0 8 2 1 .2 .2 .2 1 .2 .2 .2
> i1 0 20
>
> </CsScore>
> </CsoundSynthesizer>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@... with body "unsubscribe csound"


New Windows 7: Find the right PC for you. Learn more.

Re: RE: simple questions...

by RoryWalsh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the suggestions. It seems strange that the answer to
something so simple ends up being so convoluted. It wouldn't have
anything to do with guards points or the like would it?

Don't talk to me about employers Ian, it seems the world recession has
somehow inforced a ban on all kinds of artistic endeavours! Did you
get a good recording this time, iirc the recorder stopped during the
last performance? Would you mind posting it somewhere? If not, don't
worry, I'll wait for the album!

Rory.


2009/10/28 Iain McCurdy <i_mccurdy@...>:

> Hi Rory,
>
> It seems there is sync drift between the first two oscils. oscili does
> indeed improve this and removes some of the general grunginess.
> Using table seems an improvement also:
>
> accph phasor 1/8
> accents table accph, 3, 1
> accents    = accents*20000
>
> aenvph phasor 1
> aenv table aenvph, 2, 1
> aenv = aenv * accents
>
> ...but over a long period of time there is still a subtle drift.
>
> A sledgehammer approach is to set both oscils to 1/8 and use this as f-table
> 2:
> f2 0 [1024*8] 5 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000
> 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01
>
> Sorry didn't get to see you last Thursday, I think your employers are
> working you too hard at the moment.
> Iain
>
>
>> From: rorywalsh@...
>> Date: Wed, 28 Oct 2009 09:55:13 +0000
>> To: csound@...
>> Subject: [Csnd] simple questions...
>>
>> I've no idea why the following instrument results in clicks? The
>> frequency of the main envelope is 1Hz with accents being applied from
>> a function table with 8 items at 1/8Hz, something is not right in the
>> relationship between the two but I can't think of what it is, I know
>> it's most likely something really stupid so please go easy on me...
>>
>> <CsoundSynthesizer>
>> <CsOptions>
>> </CsOptions>
>> <CsInstruments>
>> sr = 44100
>> ksmps = 128
>> nchnls = 1
>>
>>
>> instr 1
>> accents oscil 20000, 1/8, 3
>> aenv oscil accents, 1, 2
>> aout oscil aenv, 150, 1
>> out aout
>> endin
>>
>> </CsInstruments>
>> <CsScore>
>> f1 0 1024 10 1
>> f2 0 1024 5 0.01 24 1 1000 0.01
>> f3 0 8 2 1 .2 .2 .2 1 .2 .2 .2
>> i1 0 20
>>
>> </CsScore>
>> </CsoundSynthesizer>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@... with body "unsubscribe
>> csound"
>
> ________________________________
> New Windows 7: Find the right PC for you. Learn more.


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

Re: Re: RE: simple questions...

by Victor Lazzarini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, I think it has to do with the precision in which the sampling  
increment
gets the next phase value. That is why using a phasor might help. This
is just a quick observation, I haven't studied the issue in detail.


On 28 Oct 2009, at 11:23, Rory Walsh wrote:

> Thanks for the suggestions. It seems strange that the answer to
> something so simple ends up being so convoluted. It wouldn't have
> anything to do with guards points or the like would it?
>
> Don't talk to me about employers Ian, it seems the world recession has
> somehow inforced a ban on all kinds of artistic endeavours! Did you
> get a good recording this time, iirc the recorder stopped during the
> last performance? Would you mind posting it somewhere? If not, don't
> worry, I'll wait for the album!
>
> Rory.
>
>
> 2009/10/28 Iain McCurdy <i_mccurdy@...>:
>> Hi Rory,
>>
>> It seems there is sync drift between the first two oscils. oscili  
>> does
>> indeed improve this and removes some of the general grunginess.
>> Using table seems an improvement also:
>>
>> accph phasor 1/8
>> accents table accph, 3, 1
>> accents    = accents*20000
>>
>> aenvph phasor 1
>> aenv table aenvph, 2, 1
>> aenv = aenv * accents
>>
>> ...but over a long period of time there is still a subtle drift.
>>
>> A sledgehammer approach is to set both oscils to 1/8 and use this  
>> as f-table
>> 2:
>> f2 0 [1024*8] 5 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01  
>> 24 1 1000
>> 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01 24 1 1000 0.01
>>
>> Sorry didn't get to see you last Thursday, I think your employers are
>> working you too hard at the moment.
>> Iain
>>
>>
>>> From: rorywalsh@...
>>> Date: Wed, 28 Oct 2009 09:55:13 +0000
>>> To: csound@...
>>> Subject: [Csnd] simple questions...
>>>
>>> I've no idea why the following instrument results in clicks? The
>>> frequency of the main envelope is 1Hz with accents being applied  
>>> from
>>> a function table with 8 items at 1/8Hz, something is not right in  
>>> the
>>> relationship between the two but I can't think of what it is, I know
>>> it's most likely something really stupid so please go easy on me...
>>>
>>> <CsoundSynthesizer>
>>> <CsOptions>
>>> </CsOptions>
>>> <CsInstruments>
>>> sr = 44100
>>> ksmps = 128
>>> nchnls = 1
>>>
>>>
>>> instr 1
>>> accents oscil 20000, 1/8, 3
>>> aenv oscil accents, 1, 2
>>> aout oscil aenv, 150, 1
>>> out aout
>>> endin
>>>
>>> </CsInstruments>
>>> <CsScore>
>>> f1 0 1024 10 1
>>> f2 0 1024 5 0.01 24 1 1000 0.01
>>> f3 0 8 2 1 .2 .2 .2 1 .2 .2 .2
>>> i1 0 20
>>>
>>> </CsScore>
>>> </CsoundSynthesizer>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@... with body  
>>> "unsubscribe
>>> csound"
>>
>> ________________________________
>> New Windows 7: Find the right PC for you. Learn more.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@... with body  
> "unsubscribe csound"



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