Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Csound5 glitching

Date2008-10-05 21:08
Fromvictor
SubjectRe: [Cs-dev] Csound5 glitching
However the same CSD does not glitch on 4.23. I feel it's abug
in Csound 5 (I went back to 5.00 to test it).
----- Original Message ----- 
From: "Steven Yi" 
To: "Developer discussions" 
Sent: Sunday, October 05, 2008 7:11 PM
Subject: Re: [Cs-dev] Csound5 glitching


> Hi All,
>
> I was playing around with the CSD and the only thing I've found is
> that you can get a glitch per note if you hardcode phs to 0 or remove
> giving the phs arg to oscili.  Making the table power of 2 + 1 didn't
> change anything.
>
> I changed ksmps and got the glitch to happen elsewhere.  Now, I have a
> pretty strong hunch that the glitch happens because of rounding of
> seconds values to ksmps boundaries ends up with a ksmps empty space
> between the end of one note and the beginning of the next.  The
> instrument is relying on phase -1 to skip initialization, but on the
> other hand, notes are not tied, which I think is not the best
> practice.  Also, this instrument applies no envelope at all to the
> generated signal from oscili.
>
> I would recommend the original coder of the CSD both add an envelope
> to the instrument and also use tied notes if they planning to carry
> the phase of the instrument from note to note.
>
> Thanks!
> steven
>
>
>
> On Sun, Oct 5, 2008 at 5:47 AM,   wrote:
>> That is my problem!  I cannot see why 1.75s is difference from 0.75s
>> Will have another hunt this afternoon
>> ==John
>>
>>> Looking at musmon.c and insert.c, the code appears to
>>> be correct and in the example CSD it works for the
>>> first notes, but fails at 1.750 secs. I wonder if the failure
>>> is somewhere else.
>>>
>>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great 
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the 
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-10-06 02:16
From"Steven Yi"
SubjectRe: [Cs-dev] Csound5 glitching
AttachmentsNone  

Date2008-10-06 07:54
Fromjpff
SubjectRe: [Cs-dev] Csound5 glitching
The glitch is a BUG introduced in the rewrite on csound4 to csound5.
It is clear that there is at least one case when a note stops 1
k-cycle too early or a note starts 1 cycle too late.  I have chasing
it back but progress is slow (and it is a week into term)
==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-10-06 08:19
From"Steven Yi"
SubjectRe: [Cs-dev] Csound5 glitching
AttachmentsNone  

Date2008-10-06 11:26
Fromjpff
SubjectRe: [Cs-dev] Csound5 glitching
Yes; tried replacing 0.51 with 0.5 -- did not fix it.  The problem is
before then as it is already wrong before it calls expire -- the
problem is the next bnot being too late, not the expiry being wrong.
==John ffitch

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-10-06 16:02
From"Steven Yi"
SubjectRe: [Cs-dev] Csound5 glitching
AttachmentsNone