Csound Csound-dev Csound-tekno Search About

[Csnd] ftab2tab

Date2012-06-18 17:02
Fromjoachim heintz
Subject[Csnd] ftab2tab
hello -

the opcode ftab2tab (transferring the content of a function table to a
t-variable) is reported to be in csound since 5.15 (release notes), but
i can't find it neither in the 5.17 manual nor in my 5.17 csound.

am i missing something? is it there?

thanks -

	joachim

Date2012-06-18 17:24
FromVictor Lazzarini
SubjectRe: [Csnd] ftab2tab
It looks like the name has been changed to copy2ttab.
The reverse action is called copy2ftab.

Confused? I am. I did not recall the name change.

Victor

On 18 Jun 2012, at 17:02, joachim heintz wrote:

> hello -
> 
> the opcode ftab2tab (transferring the content of a function table to a
> t-variable) is reported to be in csound since 5.15 (release notes), but
> i can't find it neither in the 5.17 manual nor in my 5.17 csound.
> 
> am i missing something? is it there?
> 
> thanks -
> 
> 	joachim
> 
> 
> 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





Date2012-06-18 18:00
Fromjoachim heintz
SubjectRe: [Csnd] ftab2tab
thanks, victor. i am not just confused but also it fails to work, though
it is listed when i run csound -z:



instr Array_Use
iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
tArr init 5
tArr2 copy2ttab tArr, iTab
endin


i "Array_Use" 0 1



error: syntax error, unexpected T_OPCODE0, expecting T_OPCODE or ','
(token "copy2ttab") line 7:
>>>tArr2 copy2ttab <<<
Parsing failed due to invalid input!
Stopping on parser failure

	joachim


Am 18.06.2012 18:24, schrieb Victor Lazzarini:
> It looks like the name has been changed to copy2ttab.
> The reverse action is called copy2ftab.
> 
> Confused? I am. I did not recall the name change.
> 
> Victor
> 
> On 18 Jun 2012, at 17:02, joachim heintz wrote:
> 
>> hello -
>>
>> the opcode ftab2tab (transferring the content of a function table to a
>> t-variable) is reported to be in csound since 5.15 (release notes), but
>> i can't find it neither in the 5.17 manual nor in my 5.17 csound.
>>
>> am i missing something? is it there?
>>
>> thanks -
>>
>> 	joachim
>>
>>
>> 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"
> 
> 

Date2012-06-18 18:33
FromVictor Lazzarini
SubjectRe: [Csnd] ftab2tab
I think the syntax is

copy2ttab tArr, iTab


without a left hand value.

Victor

On 18 Jun 2012, at 18:00, joachim heintz wrote:

> thanks, victor. i am not just confused but also it fails to work, though
> it is listed when i run csound -z:
> 
> 
> 
> instr Array_Use
> iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
> tArr init 5
> tArr2 copy2ttab tArr, iTab
> endin
> 
> 
> i "Array_Use" 0 1
> 
> 
> 
> error: syntax error, unexpected T_OPCODE0, expecting T_OPCODE or ','
> (token "copy2ttab") line 7:
>>>> tArr2 copy2ttab <<<
> Parsing failed due to invalid input!
> Stopping on parser failure
> 
> 	joachim
> 
> 
> Am 18.06.2012 18:24, schrieb Victor Lazzarini:
>> It looks like the name has been changed to copy2ttab.
>> The reverse action is called copy2ftab.
>> 
>> Confused? I am. I did not recall the name change.
>> 
>> Victor
>> 
>> On 18 Jun 2012, at 17:02, joachim heintz wrote:
>> 
>>> hello -
>>> 
>>> the opcode ftab2tab (transferring the content of a function table to a
>>> t-variable) is reported to be in csound since 5.15 (release notes), but
>>> i can't find it neither in the 5.17 manual nor in my 5.17 csound.
>>> 
>>> am i missing something? is it there?
>>> 
>>> thanks -
>>> 
>>> 	joachim
>>> 
>>> 
>>> 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





Date2012-06-18 19:36
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] ftab2tab
opcodes should not start with a f (or i, k of a).  t is deprecated

Look to see if you have a rogue libtab.c

> thanks, victor. i am not just confused but also it fails to work, though
> it is listed when i run csound -z:
>
> 
> 
> instr Array_Use
> iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
> tArr init 5
> tArr2 copy2ttab tArr, iTab
> endin
> 
> 
> i "Array_Use" 0 1
> 
> 
>
> error: syntax error, unexpected T_OPCODE0, expecting T_OPCODE or ','
> (token "copy2ttab") line 7:
>>>>tArr2 copy2ttab <<<
> Parsing failed due to invalid input!
> Stopping on parser failure
>
> 	joachim
>
>
> Am 18.06.2012 18:24, schrieb Victor Lazzarini:
>> It looks like the name has been changed to copy2ttab.
>> The reverse action is called copy2ftab.
>>
>> Confused? I am. I did not recall the name change.
>>
>> Victor
>>
>> On 18 Jun 2012, at 17:02, joachim heintz wrote:
>>
>>> hello -
>>>
>>> the opcode ftab2tab (transferring the content of a function table to a
>>> t-variable) is reported to be in csound since 5.15 (release notes), but
>>> i can't find it neither in the 5.17 manual nor in my 5.17 csound.
>>>
>>> am i missing something? is it there?
>>>
>>> thanks -
>>>
>>> 	joachim
>>>
>>>
>>> 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"
>
>
>
>



Date2012-06-18 22:21
Fromjoachim heintz
SubjectRe: [Csnd] ftab2tab
thanks, yes it is, though this is against the description at
http://www.csounds.com/manual/html/copy2ttab.html

now the little example ...



instr Array_Use
iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
tArr init 5
copy2ttab tArr, iTab
endin


i "Array_Use" 0 1



... returns this error:

SECTION 1:
new alloc for instr Array_Use:
null iopadr
Early return from csoundPerformKsmps().

	joachim


Am 18.06.2012 19:33, schrieb Victor Lazzarini:
> 
> I think the syntax is
> 
> copy2ttab tArr, iTab
> 
> 
> without a left hand value.
> 
> Victor
> 
> On 18 Jun 2012, at 18:00, joachim heintz wrote:
> 
>> thanks, victor. i am not just confused but also it fails to work, though
>> it is listed when i run csound -z:
>>
>> 
>> 
>> instr Array_Use
>> iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
>> tArr init 5
>> tArr2 copy2ttab tArr, iTab
>> endin
>> 
>> 
>> i "Array_Use" 0 1
>> 
>> 
>>
>> error: syntax error, unexpected T_OPCODE0, expecting T_OPCODE or ','
>> (token "copy2ttab") line 7:
>>>>> tArr2 copy2ttab <<<
>> Parsing failed due to invalid input!
>> Stopping on parser failure
>>
>> 	joachim
>>
>>
>> Am 18.06.2012 18:24, schrieb Victor Lazzarini:
>>> It looks like the name has been changed to copy2ttab.
>>> The reverse action is called copy2ftab.
>>>
>>> Confused? I am. I did not recall the name change.
>>>
>>> Victor
>>>
>>> On 18 Jun 2012, at 17:02, joachim heintz wrote:
>>>
>>>> hello -
>>>>
>>>> the opcode ftab2tab (transferring the content of a function table to a
>>>> t-variable) is reported to be in csound since 5.15 (release notes), but
>>>> i can't find it neither in the 5.17 manual nor in my 5.17 csound.
>>>>
>>>> am i missing something? is it there?
>>>>
>>>> thanks -
>>>>
>>>> 	joachim
>>>>
>>>>
>>>> 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"
> 
> 

Date2012-06-18 22:49
FromVictor Lazzarini
SubjectRe: [Csnd] ftab2tab
Try this

iTab ftgen 0, 0, -5, 2, 1, 2, 3, 4, 5

On 18 Jun 2012, at 22:21, joachim heintz wrote:

> thanks, yes it is, though this is against the description at
> http://www.csounds.com/manual/html/copy2ttab.html
> 
> now the little example ...
> 
> 
> 
> instr Array_Use
> iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
> tArr init 5
> copy2ttab tArr, iTab
> endin
> 
> 
> i "Array_Use" 0 1
> 
> 
> 
> ... returns this error:
> 
> SECTION 1:
> new alloc for instr Array_Use:
> null iopadr
> Early return from csoundPerformKsmps().
> 
> 	joachim
> 
> 
> Am 18.06.2012 19:33, schrieb Victor Lazzarini:
>> 
>> I think the syntax is
>> 
>> copy2ttab tArr, iTab
>> 
>> 
>> without a left hand value.
>> 
>> Victor
>> 
>> On 18 Jun 2012, at 18:00, joachim heintz wrote:
>> 
>>> thanks, victor. i am not just confused but also it fails to work, though
>>> it is listed when i run csound -z:
>>> 
>>> 
>>> 
>>> instr Array_Use
>>> iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
>>> tArr init 5
>>> tArr2 copy2ttab tArr, iTab
>>> endin
>>> 
>>> 
>>> i "Array_Use" 0 1
>>> 
>>> 
>>> 
>>> error: syntax error, unexpected T_OPCODE0, expecting T_OPCODE or ','
>>> (token "copy2ttab") line 7:
>>>>>> tArr2 copy2ttab <<<
>>> Parsing failed due to invalid input!
>>> Stopping on parser failure
>>> 
>>> 	joachim
>>> 
>>> 
>>> Am 18.06.2012 18:24, schrieb Victor Lazzarini:
>>>> It looks like the name has been changed to copy2ttab.
>>>> The reverse action is called copy2ftab.
>>>> 
>>>> Confused? I am. I did not recall the name change.
>>>> 
>>>> Victor
>>>> 
>>>> On 18 Jun 2012, at 17:02, joachim heintz wrote:
>>>> 
>>>>> hello -
>>>>> 
>>>>> the opcode ftab2tab (transferring the content of a function table to a
>>>>> t-variable) is reported to be in csound since 5.15 (release notes), but
>>>>> i can't find it neither in the 5.17 manual nor in my 5.17 csound.
>>>>> 
>>>>> am i missing something? is it there?
>>>>> 
>>>>> thanks -
>>>>> 
>>>>> 	joachim
>>>>> 
>>>>> 
>>>>> 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"
>> 
>> 
> 
> 
> 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





Date2012-06-19 07:30
Fromjoachim heintz
SubjectRe: [Csnd] ftab2tab
oh yes, i forgot -2. but still the same "null iopadr" error. does this
work for you?



instr Array_Use
iTab ftgen 0, 0, -5, -2, 1, 2, 3, 4, 5
tArr init 5
copy2ttab tArr, iTab
endin


i "Array_Use" 0 1



	joachim


Am 18.06.2012 23:49, schrieb Victor Lazzarini:
> Try this
> 
> iTab ftgen 0, 0, -5, 2, 1, 2, 3, 4, 5
> 
> On 18 Jun 2012, at 22:21, joachim heintz wrote:
> 
>> thanks, yes it is, though this is against the description at
>> http://www.csounds.com/manual/html/copy2ttab.html
>>
>> now the little example ...
>>
>> 
>> 
>> instr Array_Use
>> iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
>> tArr init 5
>> copy2ttab tArr, iTab
>> endin
>> 
>> 
>> i "Array_Use" 0 1
>> 
>> 
>>
>> ... returns this error:
>>
>> SECTION 1:
>> new alloc for instr Array_Use:
>> null iopadr
>> Early return from csoundPerformKsmps().
>>
>> 	joachim
>>
>>
>> Am 18.06.2012 19:33, schrieb Victor Lazzarini:
>>>
>>> I think the syntax is
>>>
>>> copy2ttab tArr, iTab
>>>
>>>
>>> without a left hand value.
>>>
>>> Victor
>>>
>>> On 18 Jun 2012, at 18:00, joachim heintz wrote:
>>>
>>>> thanks, victor. i am not just confused but also it fails to work, though
>>>> it is listed when i run csound -z:
>>>>
>>>> 
>>>> 
>>>> instr Array_Use
>>>> iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
>>>> tArr init 5
>>>> tArr2 copy2ttab tArr, iTab
>>>> endin
>>>> 
>>>> 
>>>> i "Array_Use" 0 1
>>>> 
>>>> 
>>>>
>>>> error: syntax error, unexpected T_OPCODE0, expecting T_OPCODE or ','
>>>> (token "copy2ttab") line 7:
>>>>>>> tArr2 copy2ttab <<<
>>>> Parsing failed due to invalid input!
>>>> Stopping on parser failure
>>>>
>>>> 	joachim
>>>>
>>>>
>>>> Am 18.06.2012 18:24, schrieb Victor Lazzarini:
>>>>> It looks like the name has been changed to copy2ttab.
>>>>> The reverse action is called copy2ftab.
>>>>>
>>>>> Confused? I am. I did not recall the name change.
>>>>>
>>>>> Victor
>>>>>
>>>>> On 18 Jun 2012, at 17:02, joachim heintz wrote:
>>>>>
>>>>>> hello -
>>>>>>
>>>>>> the opcode ftab2tab (transferring the content of a function table to a
>>>>>> t-variable) is reported to be in csound since 5.15 (release notes), but
>>>>>> i can't find it neither in the 5.17 manual nor in my 5.17 csound.
>>>>>>
>>>>>> am i missing something? is it there?
>>>>>>
>>>>>> thanks -
>>>>>>
>>>>>> 	joachim
>>>>>>
>>>>>>
>>>>>> 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"
>>>
>>>
>>
>>
>> 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"
> 
> 

Date2012-06-19 07:31
Fromjoachim heintz
SubjectRe: [Csnd] ftab2tab
what does "t is deprecated" mean?


Am 18.06.2012 20:36, schrieb jpff@cs.bath.ac.uk:
> opcodes should not start with a f (or i, k of a).  t is deprecated
> 
> Look to see if you have a rogue libtab.c
> 
>> thanks, victor. i am not just confused but also it fails to work, though
>> it is listed when i run csound -z:
>>
>> 
>> 
>> instr Array_Use
>> iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
>> tArr init 5
>> tArr2 copy2ttab tArr, iTab
>> endin
>> 
>> 
>> i "Array_Use" 0 1
>> 
>> 
>>
>> error: syntax error, unexpected T_OPCODE0, expecting T_OPCODE or ','
>> (token "copy2ttab") line 7:
>>>>> tArr2 copy2ttab <<<
>> Parsing failed due to invalid input!
>> Stopping on parser failure
>>
>> 	joachim
>>
>>
>> Am 18.06.2012 18:24, schrieb Victor Lazzarini:
>>> It looks like the name has been changed to copy2ttab.
>>> The reverse action is called copy2ftab.
>>>
>>> Confused? I am. I did not recall the name change.
>>>
>>> Victor
>>>
>>> On 18 Jun 2012, at 17:02, joachim heintz wrote:
>>>
>>>> hello -
>>>>
>>>> the opcode ftab2tab (transferring the content of a function table to a
>>>> t-variable) is reported to be in csound since 5.15 (release notes), but
>>>> i can't find it neither in the 5.17 manual nor in my 5.17 csound.
>>>>
>>>> am i missing something? is it there?
>>>>
>>>> thanks -
>>>>
>>>> 	joachim
>>>>
>>>>
>>>> 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"
>>
>>
>>
>>
> 
> 
> 
> 
> 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"
> 
> 

Date2012-06-19 08:00
FromVictor Lazzarini
SubjectRe: [Csnd] ftab2tab
But it runs here:

SECTION 1:
new alloc for instr Array_Use:
ftable 101:
B 0.000 .. 1.000 T 1.000 TT 1.000 M: 0.0
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score. overall amps: 0.0
overall samples out of range: 0
0 errors in performance
Elapsed time at end of performance: real: 0.016s, CPU: 0.024s

Victor
On 19 Jun 2012, at 07:30, joachim heintz wrote:

oh yes, i forgot -2. but still the same "null iopadr" error. does this
work for you?

<CsoundSynthesizer>
<CsInstruments>
instr Array_Use
iTab ftgen 0, 0, -5, -2, 1, 2, 3, 4, 5
tArr init 5
copy2ttab tArr, iTab
endin
</CsInstruments>
<CsScore>
i "Array_Use" 0 1
</CsScore>
</CsoundSynthesizer>

joachim


Am 18.06.2012 23:49, schrieb Victor Lazzarini:
Try this

iTab ftgen 0, 0, -5, 2, 1, 2, 3, 4, 5

On 18 Jun 2012, at 22:21, joachim heintz wrote:

thanks, yes it is, though this is against the description at
http://www.csounds.com/manual/html/copy2ttab.html

now the little example ...

<CsoundSynthesizer>
<CsInstruments>
instr Array_Use
iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
tArr init 5
copy2ttab tArr, iTab
endin
</CsInstruments>
<CsScore>
i "Array_Use" 0 1
</CsScore>
</CsoundSynthesizer>

... returns this error:

SECTION 1:
new alloc for instr Array_Use:
null iopadr
Early return from csoundPerformKsmps().

joachim


Am 18.06.2012 19:33, schrieb Victor Lazzarini:

I think the syntax is

copy2ttab tArr, iTab


without a left hand value.

Victor

On 18 Jun 2012, at 18:00, joachim heintz wrote:

thanks, victor. i am not just confused but also it fails to work, though
it is listed when i run csound -z:

<CsoundSynthesizer>
<CsInstruments>
instr Array_Use
iTab ftgen 0, 0, -5, 1, 2, 3, 4, 5
tArr init 5
tArr2 copy2ttab tArr, iTab
endin
</CsInstruments>
<CsScore>
i "Array_Use" 0 1
</CsScore>
</CsoundSynthesizer>

error: syntax error, unexpected T_OPCODE0, expecting T_OPCODE or ','
(token "copy2ttab") line 7:
tArr2 copy2ttab <<<
Parsing failed due to invalid input!
Stopping on parser failure

joachim


Am 18.06.2012 18:24, schrieb Victor Lazzarini:
It looks like the name has been changed to copy2ttab.
The reverse action is called copy2ftab.

Confused? I am. I did not recall the name change.

Victor

On 18 Jun 2012, at 17:02, joachim heintz wrote:

hello -

the opcode ftab2tab (transferring the content of a function table to a
t-variable) is reported to be in csound since 5.15 (release notes), but
i can't find it neither in the 5.17 manual nor in my 5.17 csound.

am i missing something? is it there?

thanks -

joachim


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"




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




Date2012-06-19 12:58
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] ftab2tab
> what does "t is deprecated" mean?

As a general rule it is a good idea for opcodes to have names that do not
start with i k a f or t so existing pieces still run when new opcodes
appear.  We already have problems with inch and a few "obvious" names, but
I am attemoting to limit (future) damage

I do not know if it was me but I would favour copy2tab over tab2...

for example the opcode agogobell was renamed without the initial a

==John ff



Date2012-06-19 13:14
Fromjoachim heintz
SubjectRe: [Csnd] ftab2tab
ok, thanks.
i was afraid all t-arrays were deprecated ... glad to hear this is not
the case.

	joachim


Am 19.06.2012 13:58, schrieb jpff@cs.bath.ac.uk:
>> what does "t is deprecated" mean?
> 
> As a general rule it is a good idea for opcodes to have names that do not
> start with i k a f or t so existing pieces still run when new opcodes
> appear.  We already have problems with inch and a few "obvious" names, but
> I am attemoting to limit (future) damage
> 
> I do not know if it was me but I would favour copy2tab over tab2...
> 
> for example the opcode agogobell was renamed without the initial a
> 
> ==John ff
> 
> 
> 
> 
> 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"
> 
> 

Date2012-06-19 13:24
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] ftab2tab
Rather the opposite.  In csound6 (draft) one can use arithmetic on tvars,
access elements etc.


> ok, thanks.
> i was afraid all t-arrays were deprecated ... glad to hear this is not
> the case.
>
> 	joachim
>
>



Date2012-06-19 13:49
Fromjoachim heintz
SubjectRe: [Csnd] ftab2tab
fantastic. if possible, something like
tArr init [1, 2, 4, 6, 8, 9]
or even
tArr = [1, 2, 4, 6, 8, 9]
would be very much welcome even before csound6.
(i think peiman brought this up, too.)

thanks -

	joachim


Am 19.06.2012 14:24, schrieb jpff@cs.bath.ac.uk:
> Rather the opposite.  In csound6 (draft) one can use arithmetic on tvars,
> access elements etc.
> 
> 
>> ok, thanks.
>> i was afraid all t-arrays were deprecated ... glad to hear this is not
>> the case.
>>
>> 	joachim
>>
>>
> 
> 
> 
> 
> 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"
> 
> 

Date2012-06-19 14:00
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] ftab2tab
in cs6 we have


          tvar [ iexp : iexp ]
          [ iexp -> iexp , iexp
          [ iexp -> iexp ]
          @i ( tvar , T_FUNCTION )
          @k ( tvar , T_FUNCTION )

as primatives and operators + - * /

May add others when they occur to me
Need to think about the list format -- a little harder

==John

> fantastic. if possible, something like
> tArr init [1, 2, 4, 6, 8, 9]
> or even
> tArr = [1, 2, 4, 6, 8, 9]
> would be very much welcome even before csound6.
> (i think peiman brought this up, too.)
>
> thanks -
>
> 	joachim
>
>
> Am 19.06.2012 14:24, schrieb jpff@cs.bath.ac.uk:
>> Rather the opposite.  In csound6 (draft) one can use arithmetic on
>> tvars,
>> access elements etc.
>>
>>
>>> ok, thanks.
>>> i was afraid all t-arrays were deprecated ... glad to hear this is not
>>> the case.
>>>
>>> 	joachim
>>>
>>>
>>
>>
>>
>>
>> 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"
>
>
>
>