[Csnd] ftab2tab
| Date | 2012-06-18 17:02 |
| From | joachim 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 |
| Date | 2012-06-18 17:24 |
| From | Victor Lazzarini |
| Subject | Re: [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 |
| Date | 2012-06-18 18:00 |
| From | joachim heintz |
| Subject | Re: [Csnd] ftab2tab |
thanks, victor. i am not just confused but also it fails to work, though it is listed when i run csound -z: |
| Date | 2012-06-18 18:33 |
| From | Victor Lazzarini |
| Subject | Re: [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: > > |
| Date | 2012-06-18 19:36 |
| From | jpff@cs.bath.ac.uk |
| Subject | Re: [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: > > |
| Date | 2012-06-18 22:21 |
| From | joachim heintz |
| Subject | Re: [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 ... |
| Date | 2012-06-18 22:49 |
| From | Victor Lazzarini |
| Subject | Re: [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 ... > > |
| Date | 2012-06-19 07:30 |
| From | joachim heintz |
| Subject | Re: [Csnd] ftab2tab |
oh yes, i forgot -2. but still the same "null iopadr" error. does this work for you? |
| Date | 2012-06-19 07:31 |
| From | joachim heintz |
| Subject | Re: [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: >> >> |
| Date | 2012-06-19 08:00 |
| From | Victor Lazzarini |
| Subject | Re: [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:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
| Date | 2012-06-19 12:58 |
| From | jpff@cs.bath.ac.uk |
| Subject | Re: [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 |
| Date | 2012-06-19 13:14 |
| From | joachim heintz |
| Subject | Re: [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" > > |
| Date | 2012-06-19 13:24 |
| From | jpff@cs.bath.ac.uk |
| Subject | Re: [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 > > |
| Date | 2012-06-19 13:49 |
| From | joachim heintz |
| Subject | Re: [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" > > |
| Date | 2012-06-19 14:00 |
| From | jpff@cs.bath.ac.uk |
| Subject | Re: [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"
>
>
>
>
|