Csound Csound-dev Csound-tekno Search About

[Cs-dev] perf errors on tables....

Date2014-12-10 17:26
FromRory Walsh
Subject[Cs-dev] perf errors on tables....
If one creates a table, but does not initialise all the values it
leads to a perf error when trying to access a point that was not
initiliased using a table opcode. For example if I try to access point
5 of the following table:

f10 0 8 -7 0 4 1

I get an 'off end' perf error.

PERF ERROR in instr 1: tab_i off end: table number:

Fair enough but would it be Ok to let Csound automatically set the
remaining values in the table to be whatever the last known value is?

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-12-10 17:29
FromRory Walsh
SubjectRe: [Cs-dev] perf errors on tables....
p.s. I know that a simple UDO could be written to initialise all value
in a table, but it seems that the above option wouldn't cause any
problems to existing instruments. Or?

On 10 December 2014 at 17:26, Rory Walsh  wrote:
> If one creates a table, but does not initialise all the values it
> leads to a perf error when trying to access a point that was not
> initiliased using a table opcode. For example if I try to access point
> 5 of the following table:
>
> f10 0 8 -7 0 4 1
>
> I get an 'off end' perf error.
>
> PERF ERROR in instr 1: tab_i off end: table number:
>
> Fair enough but would it be Ok to let Csound automatically set the
> remaining values in the table to be whatever the last known value is?

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-12-10 17:34
FromSteven Yi
SubjectRe: [Cs-dev] perf errors on tables....
Could you post a CSD to help diagnose?

On Wed, Dec 10, 2014 at 12:29 PM, Rory Walsh  wrote:
> p.s. I know that a simple UDO could be written to initialise all value
> in a table, but it seems that the above option wouldn't cause any
> problems to existing instruments. Or?
>
> On 10 December 2014 at 17:26, Rory Walsh  wrote:
>> If one creates a table, but does not initialise all the values it
>> leads to a perf error when trying to access a point that was not
>> initiliased using a table opcode. For example if I try to access point
>> 5 of the following table:
>>
>> f10 0 8 -7 0 4 1
>>
>> I get an 'off end' perf error.
>>
>> PERF ERROR in instr 1: tab_i off end: table number:
>>
>> Fair enough but would it be Ok to let Csound automatically set the
>> remaining values in the table to be whatever the last known value is?
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-12-10 17:38
FromRory Walsh
SubjectRe: [Cs-dev] perf errors on tables....
Nope ;0 turns out I was passing the wrong index to the table! I think
it's time I sat down and had a long chat with myself...


On 10 December 2014 at 17:34, Steven Yi  wrote:
> Could you post a CSD to help diagnose?
>
> On Wed, Dec 10, 2014 at 12:29 PM, Rory Walsh  wrote:
>> p.s. I know that a simple UDO could be written to initialise all value
>> in a table, but it seems that the above option wouldn't cause any
>> problems to existing instruments. Or?
>>
>> On 10 December 2014 at 17:26, Rory Walsh  wrote:
>>> If one creates a table, but does not initialise all the values it
>>> leads to a perf error when trying to access a point that was not
>>> initiliased using a table opcode. For example if I try to access point
>>> 5 of the following table:
>>>
>>> f10 0 8 -7 0 4 1
>>>
>>> I get an 'off end' perf error.
>>>
>>> PERF ERROR in instr 1: tab_i off end: table number:
>>>
>>> Fair enough but would it be Ok to let Csound automatically set the
>>> remaining values in the table to be whatever the last known value is?
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-12-10 18:31
FromVictor Lazzarini
SubjectRe: [Cs-dev] perf errors on tables....
Way past

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 10 Dec 2014, at 17:38, Rory Walsh  wrote:
> 
> Nope ;0 turns out I was passing the wrong index to the table! I think
> it's time I sat down and had a long chat with myself...
> 
> 
>> On 10 December 2014 at 17:34, Steven Yi  wrote:
>> Could you post a CSD to help diagnose?
>> 
>>> On Wed, Dec 10, 2014 at 12:29 PM, Rory Walsh  wrote:
>>> p.s. I know that a simple UDO could be written to initialise all value
>>> in a table, but it seems that the above option wouldn't cause any
>>> problems to existing instruments. Or?
>>> 
>>>> On 10 December 2014 at 17:26, Rory Walsh  wrote:
>>>> If one creates a table, but does not initialise all the values it
>>>> leads to a perf error when trying to access a point that was not
>>>> initiliased using a table opcode. For example if I try to access point
>>>> 5 of the following table:
>>>> 
>>>> f10 0 8 -7 0 4 1
>>>> 
>>>> I get an 'off end' perf error.
>>>> 
>>>> PERF ERROR in instr 1: tab_i off end: table number:
>>>> 
>>>> Fair enough but would it be Ok to let Csound automatically set the
>>>> remaining values in the table to be whatever the last known value is?
>>> 
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-12-10 18:33
FromRory Walsh
SubjectRe: [Cs-dev] perf errors on tables....
:) True.

On 10 December 2014 at 18:31, Victor Lazzarini  wrote:
> Way past
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
>> On 10 Dec 2014, at 17:38, Rory Walsh  wrote:
>>
>> Nope ;0 turns out I was passing the wrong index to the table! I think
>> it's time I sat down and had a long chat with myself...
>>
>>
>>> On 10 December 2014 at 17:34, Steven Yi  wrote:
>>> Could you post a CSD to help diagnose?
>>>
>>>> On Wed, Dec 10, 2014 at 12:29 PM, Rory Walsh  wrote:
>>>> p.s. I know that a simple UDO could be written to initialise all value
>>>> in a table, but it seems that the above option wouldn't cause any
>>>> problems to existing instruments. Or?
>>>>
>>>>> On 10 December 2014 at 17:26, Rory Walsh  wrote:
>>>>> If one creates a table, but does not initialise all the values it
>>>>> leads to a perf error when trying to access a point that was not
>>>>> initiliased using a table opcode. For example if I try to access point
>>>>> 5 of the following table:
>>>>>
>>>>> f10 0 8 -7 0 4 1
>>>>>
>>>>> I get an 'off end' perf error.
>>>>>
>>>>> PERF ERROR in instr 1: tab_i off end: table number:
>>>>>
>>>>> Fair enough but would it be Ok to let Csound automatically set the
>>>>> remaining values in the table to be whatever the last known value is?
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-12-10 20:35
FromAnders Genell
SubjectRe: [Cs-dev] perf errors on tables....
I take turns buying me rounds of beer when I do that. Always ends bad. 



10 dec 2014 kl. 19:33 skrev Rory Walsh :

> :) True.
> 
> On 10 December 2014 at 18:31, Victor Lazzarini  wrote:
>> Way past
>> 
>> Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy
>> Maynooth University
>> Ireland
>> 
>>> On 10 Dec 2014, at 17:38, Rory Walsh  wrote:
>>> 
>>> Nope ;0 turns out I was passing the wrong index to the table! I think
>>> it's time I sat down and had a long chat with myself...
>>> 
>>> 
>>>> On 10 December 2014 at 17:34, Steven Yi  wrote:
>>>> Could you post a CSD to help diagnose?
>>>> 
>>>>> On Wed, Dec 10, 2014 at 12:29 PM, Rory Walsh  wrote:
>>>>> p.s. I know that a simple UDO could be written to initialise all value
>>>>> in a table, but it seems that the above option wouldn't cause any
>>>>> problems to existing instruments. Or?
>>>>> 
>>>>>> On 10 December 2014 at 17:26, Rory Walsh  wrote:
>>>>>> If one creates a table, but does not initialise all the values it
>>>>>> leads to a perf error when trying to access a point that was not
>>>>>> initiliased using a table opcode. For example if I try to access point
>>>>>> 5 of the following table:
>>>>>> 
>>>>>> f10 0 8 -7 0 4 1
>>>>>> 
>>>>>> I get an 'off end' perf error.
>>>>>> 
>>>>>> PERF ERROR in instr 1: tab_i off end: table number:
>>>>>> 
>>>>>> Fair enough but would it be Ok to let Csound automatically set the
>>>>>> remaining values in the table to be whatever the last known value is?
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net