Quantcast

ftab2tab

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

ftab2tab

joachim-3
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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

joachim-3
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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

jpff
In reply to this post by joachim-3
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:
>
> <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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

joachim-3
In reply to this post by Victor Lazzarini
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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

joachim-3
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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

joachim-3
In reply to this post by jpff
what does "t is deprecated" mean?


Am 18.06.2012 20:36, schrieb [hidden email]:

> 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:
>>
>> <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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

Victor Lazzarini
In reply to this post by joachim-3
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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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 [hidden email] 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



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

jpff
In reply to this post by joachim-3
> 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

joachim-3
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 [hidden email]:

>> 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

jpff
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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

joachim-3
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 [hidden email]:

> 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: ftab2tab

jpff

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 [hidden email]:
>> 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 [hidden email] 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 [hidden email] 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 [hidden email] with body "unsubscribe csound"

Loading...