Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: pops with multiple instances of diskgrain

Date2009-01-30 09:51
Fromvictor
Subject[Csnd] Re: Re: pops with multiple instances of diskgrain
One thing I noticed and that was in all sounds, overlapped or not, was that
the grain envelope was clicking. That was because you are using a hamming
window, which does not go all the way down to 0. Try using Hanning:
f 4 0 8192 20 2 1

instead

With the soundfile I used here, I could not see any particular difference 
when the

overlap occurred. Not sure really.

As  for the offset, I checked and the manual is wrong; the two optional 
parameters

are reversed in order, the offset is the last parameter.

Andres, if you read this, could you fix the manual and also change the 
f-table in

the example to use hanning as above, thanks!

Victor

----- Original Message ----- 
From: "Chester Udell" 
To: 
Sent: Friday, January 30, 2009 1:11 AM
Subject: [Csnd] Re: pops with multiple instances of diskgrain


> I'll send it along:  also, the iskip variable (skip time in seconds
> into file with the opcode) does not seem to work either.  Not sure if
> the issue is related to my pops.
> diskgrain does not highlight in blue like the other opcodes do in
> the .orc file, yet it runs... sort of.  My version of macCsound is
> 1.3b4.  Thanks for the help.
>
> -Chet
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"


--------------------------------------------------------------------------------


>
>
> On Jan 29, 2009, at 5:51 PM, victor wrote:
>
>> CSD demonstrating problem?
>> ----- Original Message ----- From: "Chester Udell" 
>> To: 
>> Sent: Thursday, January 29, 2009 9:50 PM
>> Subject: [Csnd] pops with multiple instances of diskgrain
>>
>>
>>> Hi all,
>>>
>>> Has anyone experienced digital pops while using multiple instances
>>> of  the diskgrain opcode?  In macCsound, if I run one instance of
>>> an  instrument on its own, no pops happen.  However, pops happen at
>>> the  beginnings and ends of each instance occurrence where a
>>> diskgrain is  used.  It also happens with 2 different instr numbers
>>> if they happen  to overlap in time if both use diskin.
>>> If there is no overlapping in time between instruments, no pops
>>> happen  so I assume my enveloping is working correctly...
>>> Any ideas?
>>>
>>> -Chet
>>>
>>>
>>> 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"
>>
>
> 


Date2009-01-30 13:15
FromAndres Cabrera
Subject[Csnd] Re: Re: Re: pops with multiple instances of diskgrain
Done.

On Fri, Jan 30, 2009 at 4:51 AM, victor  wrote:
> One thing I noticed and that was in all sounds, overlapped or not, was that
> the grain envelope was clicking. That was because you are using a hamming
> window, which does not go all the way down to 0. Try using Hanning:
> f 4 0 8192 20 2 1
>
> instead
>
> With the soundfile I used here, I could not see any particular difference
> when the
>
> overlap occurred. Not sure really.
>
> As  for the offset, I checked and the manual is wrong; the two optional
> parameters
>
> are reversed in order, the offset is the last parameter.
>
> Andres, if you read this, could you fix the manual and also change the
> f-table in
>
> the example to use hanning as above, thanks!
>
> Victor
>
> ----- Original Message ----- From: "Chester Udell" 
> To: 
> Sent: Friday, January 30, 2009 1:11 AM
> Subject: [Csnd] Re: pops with multiple instances of diskgrain
>
>
>> I'll send it along:  also, the iskip variable (skip time in seconds
>> into file with the opcode) does not seem to work either.  Not sure if
>> the issue is related to my pops.
>> diskgrain does not highlight in blue like the other opcodes do in
>> the .orc file, yet it runs... sort of.  My version of macCsound is
>> 1.3b4.  Thanks for the help.
>>
>> -Chet
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
> --------------------------------------------------------------------------------
>
>
>>
>>
>> On Jan 29, 2009, at 5:51 PM, victor wrote:
>>
>>> CSD demonstrating problem?
>>> ----- Original Message ----- From: "Chester Udell" 
>>> To: 
>>> Sent: Thursday, January 29, 2009 9:50 PM
>>> Subject: [Csnd] pops with multiple instances of diskgrain
>>>
>>>
>>>> Hi all,
>>>>
>>>> Has anyone experienced digital pops while using multiple instances
>>>> of  the diskgrain opcode?  In macCsound, if I run one instance of
>>>> an  instrument on its own, no pops happen.  However, pops happen at
>>>> the  beginnings and ends of each instance occurrence where a
>>>> diskgrain is  used.  It also happens with 2 different instr numbers
>>>> if they happen  to overlap in time if both use diskin.
>>>> If there is no overlapping in time between instruments, no pops
>>>> happen  so I assume my enveloping is working correctly...
>>>> Any ideas?
>>>>
>>>> -Chet
>>>>
>>>>
>>>> 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"
>>>
>>
>>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>



-- 


Andrés


Date2009-01-30 18:37
FromChester Udell
Subject[Csnd] Re: Re: Re: pops with multiple instances of diskgrain
AttachmentsfixMe.csd  fluteA4flutter.aiff  
Thanks for taking a look into it.

My issue wasn't any of those (though it does sound much better with  
the individual grains not popping).
I'll send a simplified CSD and a sound file.  It seems to pop as one  
'voice' goes to or from off while another voice is sustained.  If it  
works fine on your box and it is not the code, then what might be  
causing an issue of this nature?  It clicks when I use both macCsound  
and the Csound5gui.  Thanks!
-Chet


On Jan 30, 2009, at 4:51 AM, victor wrote:

> One thing I noticed and that was in all sounds, overlapped or not,  
> was that
> the grain envelope was clicking. That was because you are using a  
> hamming
> window, which does not go all the way down to 0. Try using Hanning:
> f 4 0 8192 20 2 1
>
> instead
>
> With the soundfile I used here, I could not see any particular  
> difference when the
>
> overlap occurred. Not sure really.
>
> As  for the offset, I checked and the manual is wrong; the two  
> optional parameters
>
> are reversed in order, the offset is the last parameter.
>
> Andres, if you read this, could you fix the manual and also change  
> the f-table in
>
> the example to use hanning as above, thanks!
>
> Victor
>
> ----- Original Message ----- From: "Chester Udell" 
> To: 
> Sent: Friday, January 30, 2009 1:11 AM
> Subject: [Csnd] Re: pops with multiple instances of diskgrain
>
>
>> I'll send it along:  also, the iskip variable (skip time in seconds
>> into file with the opcode) does not seem to work either.  Not sure if
>> the issue is related to my pops.
>> diskgrain does not highlight in blue like the other opcodes do in
>> the .orc file, yet it runs... sort of.  My version of macCsound is
>> 1.3b4.  Thanks for the help.
>>
>> -Chet
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>
>
> --------------------------------------------------------------------------------
>
>
>>
>>
>> On Jan 29, 2009, at 5:51 PM, victor wrote:
>>
>>> CSD demonstrating problem?
>>> ----- Original Message ----- From: "Chester Udell" 
>>> To: 
>>> Sent: Thursday, January 29, 2009 9:50 PM
>>> Subject: [Csnd] pops with multiple instances of diskgrain
>>>
>>>
>>>> Hi all,
>>>>
>>>> Has anyone experienced digital pops while using multiple instances
>>>> of  the diskgrain opcode?  In macCsound, if I run one instance of
>>>> an  instrument on its own, no pops happen.  However, pops happen at
>>>> the  beginnings and ends of each instance occurrence where a
>>>> diskgrain is  used.  It also happens with 2 different instr numbers
>>>> if they happen  to overlap in time if both use diskin.
>>>> If there is no overlapping in time between instruments, no pops
>>>> happen  so I assume my enveloping is working correctly...
>>>> Any ideas?
>>>>
>>>> -Chet
>>>>
>>>>
>>>> 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"
>>>
>>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>