Csound Csound-dev Csound-tekno Search About

Re: [Csnd] index to tab and tabw...

Date2011-03-23 21:09
From"Partev Barr Sarkissian"
SubjectRe: [Csnd] index to tab and tabw...
Is there some sort of critical angle limit that prevents it 
from  going to 1.0? Wouldn't 1.0 = a full quadrature sweep?

-Partev

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


--- Victor.Lazzarini@nuim.ie wrote:

From: Victor Lazzarini 
To: csound@lists.bath.ac.uk
Subject: Re: [Csnd] index to tab and tabw...
Date: Mon, 21 Mar 2011 18:04:22 +0000

The problem might be in some rounding that tab does, because as I said  
before and now
confirm, phasor will not go to 1.0 at all. Here is the code excerpt  
that tells us that (ugens2.c, 147):

         if (UNLIKELY(phase >= 1.0))
           phase -= 1.0;
         else if (UNLIKELY(phase < 0.0))
           phase += 1.0;

Victor

On 21 Mar 2011, at 17:04, Victor Lazzarini wrote:

> It seems to break in non-pow-2 tables, but ok with pow/2. One  
> solution is
> to use sr/(ftlen(1)-1) as phasor frequency.
>
> Maybe phasor needs to be looked at.
>
> Victor
>
>
>
> On 21 Mar 2011, at 16:28, Rory Walsh wrote:
>
>> The following instrument gives me a "perf error: taw off end" on
>> Ubuntu but not on OSX.
>>
>> instr 1
>> a2 inch 1
>> a1 phasor sr/ftlen(1)
>> tabw a2, a1, 1, 1
>> endin
>>
>> Could it be anything to do with how I build Csound? Both version  
>> are 5.12.
>>
>> Rory.
>>
>>
>>
>>
>> On 21 March 2011 15:58, Victor Lazzarini   
>> wrote:
>>> I don't think it does; phasor should not really get to 1.
>>>
>>> Victor
>>> On 21 Mar 2011, at 15:39, Rory Walsh wrote:
>>>
>>>> This is related to a question Pieman asked last week but I deleted
>>>> those mails so I've had to start a new, albeit related thread.  
>>>> Passing
>>>> the output of a phasor to a tabw with ixmode set 1 causes a perf
>>>> error? I can't ever remember this happening before? It doesn't  
>>>> happen
>>>> with tab? I'm using 5.12 and I'm on Linux. FOr some reasons I don't
>>>> get the error at all when working in Windows.
>>>>
>>>> Rory.
>>>>
>>>>
>>>> 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"
>>>>
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>>
>>> 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"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> 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"
>

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





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"