Csound Csound-dev Csound-tekno Search About

[Csnd] Linear Algebra Opcodes

Date2009-07-07 23:03
Fromjoachim heintz
Subject[Csnd] Linear Algebra Opcodes
Hi -

I wanted to learn about the new linear algebra opcodes, but I get just  
error messages. When I start with

irows	= 1
ivr la_i_vr_create irows

I get:
error: no legal opcode, line 14:
ivr la_i_vr_create irows

I always get "no legal opcode" when I try one of this family. Is there  
a problem, or my fault?

Also, I'd appreciate a lot if there were some basic examples.

Thanks -

	joachim

Date2009-07-08 03:00
FromMichael Gogins
Subject[Csnd] Re: Linear Algebra Opcodes
When you run csound -z1, do you find the la_* opcodes in the list?

If not, your installation  or build of Csound lacks these opcodes. To
build them, you need the Gmm++ library (header files only) referenced
in the Csound manual.

If so, I wish I had good examples to offer. Have you read the section
on the opcodes in the manual? This needs to be read very carefully,
because the linear algebra opcodes do not represent objects the way
the other opcodes do; essentially a pointer to an array is stuffed
into an irate variable and used at krate or arate. This is necessary
to enable signals to be read from audio streams into arrays, and back
out again, when the size of the array and the size of ksmps are not
necessarily the same. This is similar to fsigs, actually.

If you will tell me what you would like to do, and if I can understand
what it is you would like to do, I would love to work with you to
develop a working example for the manual.

Hope this helps,
Mike


On 7/7/09, joachim heintz  wrote:
> Hi -
>
> I wanted to learn about the new linear algebra opcodes, but I get just
> error messages. When I start with
>
> irows	= 1
> ivr la_i_vr_create irows
>
> I get:
> error: no legal opcode, line 14:
> ivr la_i_vr_create irows
>
> I always get "no legal opcode" when I try one of this family. Is there
> a problem, or my fault?
>
> Also, I'd appreciate a lot if there were some basic examples.
>
> Thanks -
>
> 	joachim
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2009-07-08 23:51
Fromjoachim heintz
Subject[Csnd] Re: Re: Linear Algebra Opcodes
No, the la opcodes are not in the csound -z1 list.

I'm on OSX. Must I install the Gmm++ library before running the  
installer for being able to use the la opcodes? Or is the installer  
incomplete? (By the way, I don't see the opcodes one for one in the  
manual - just the Linear Algebra Opcodes page in general.)

I have no particular goal with the la opcodes at the moment. I wanted  
to learn about their abilities, and I thought they could perhaps offer  
another way of working with arrays instead of the often somehow  
complcated way working with function tables. In each case, some simple  
examples would be a good idea, in my opinion.

	joachim



Am 08.07.2009 um 04:00 schrieb Michael Gogins:

> When you run csound -z1, do you find the la_* opcodes in the list?
>
> If not, your installation  or build of Csound lacks these opcodes. To
> build them, you need the Gmm++ library (header files only) referenced
> in the Csound manual.
>
> If so, I wish I had good examples to offer. Have you read the section
> on the opcodes in the manual? This needs to be read very carefully,
> because the linear algebra opcodes do not represent objects the way
> the other opcodes do; essentially a pointer to an array is stuffed
> into an irate variable and used at krate or arate. This is necessary
> to enable signals to be read from audio streams into arrays, and back
> out again, when the size of the array and the size of ksmps are not
> necessarily the same. This is similar to fsigs, actually.
>
> If you will tell me what you would like to do, and if I can understand
> what it is you would like to do, I would love to work with you to
> develop a working example for the manual.
>
> Hope this helps,
> Mike
>
>
> On 7/7/09, joachim heintz  wrote:
>> Hi -
>>
>> I wanted to learn about the new linear algebra opcodes, but I get  
>> just
>> error messages. When I start with
>>
>> irows	= 1
>> ivr la_i_vr_create irows
>>
>> I get:
>> error: no legal opcode, line 14:
>> ivr la_i_vr_create irows
>>
>> I always get "no legal opcode" when I try one of this family. Is  
>> there
>> a problem, or my fault?
>>
>> Also, I'd appreciate a lot if there were some basic examples.
>>
>> Thanks -
>>
>> 	joachim
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>
>
> -- 
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>


Date2009-07-09 03:00
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: Re: Linear Algebra Opcodes
Double precision or single?  I think these opcodes only build in doubles

==John ff


> No, the la opcodes are not in the csound -z1 list.
>
> I'm on OSX. Must I install the Gmm++ library before running the
> installer for being able to use the la opcodes? Or is the installer
> incomplete? (By the way, I don't see the opcodes one for one in the
> manual - just the Linear Algebra Opcodes page in general.)
>
> I have no particular goal with the la opcodes at the moment. I wanted
> to learn about their abilities, and I thought they could perhaps offer
> another way of working with arrays instead of the often somehow
> complcated way working with function tables. In each case, some simple
> examples would be a good idea, in my opinion.
>
> 	joachim
>
>
>
> Am 08.07.2009 um 04:00 schrieb Michael Gogins:
>
>> When you run csound -z1, do you find the la_* opcodes in the list?
>>
>> If not, your installation  or build of Csound lacks these opcodes. To
>> build them, you need the Gmm++ library (header files only) referenced
>> in the Csound manual.
>>
>> If so, I wish I had good examples to offer. Have you read the section
>> on the opcodes in the manual? This needs to be read very carefully,
>> because the linear algebra opcodes do not represent objects the way
>> the other opcodes do; essentially a pointer to an array is stuffed
>> into an irate variable and used at krate or arate. This is necessary
>> to enable signals to be read from audio streams into arrays, and back
>> out again, when the size of the array and the size of ksmps are not
>> necessarily the same. This is similar to fsigs, actually.
>>
>> If you will tell me what you would like to do, and if I can understand
>> what it is you would like to do, I would love to work with you to
>> develop a working example for the manual.
>>
>> Hope this helps,
>> Mike
>>
>>
>> On 7/7/09, joachim heintz  wrote:
>>> Hi -
>>>
>>> I wanted to learn about the new linear algebra opcodes, but I get
>>> just
>>> error messages. When I start with
>>>
>>> irows	= 1
>>> ivr la_i_vr_create irows
>>>
>>> I get:
>>> error: no legal opcode, line 14:
>>> ivr la_i_vr_create irows
>>>
>>> I always get "no legal opcode" when I try one of this family. Is
>>> there
>>> a problem, or my fault?
>>>
>>> Also, I'd appreciate a lot if there were some basic examples.
>>>
>>> Thanks -
>>>
>>> 	joachim
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe
>>> csound"
>>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe csound"
>>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>



Date2009-07-09 13:14
FromMichael Gogins
Subject[Csnd] Re: Re: Re: Re: Linear Algebra Opcodes
Only in doubles, that is correct.

Regards,
Mike

On 7/8/09, jpff@cs.bath.ac.uk  wrote:
> Double precision or single?  I think these opcodes only build in doubles
>
> ==John ff
>
>
>> No, the la opcodes are not in the csound -z1 list.
>>
>> I'm on OSX. Must I install the Gmm++ library before running the
>> installer for being able to use the la opcodes? Or is the installer
>> incomplete? (By the way, I don't see the opcodes one for one in the
>> manual - just the Linear Algebra Opcodes page in general.)
>>
>> I have no particular goal with the la opcodes at the moment. I wanted
>> to learn about their abilities, and I thought they could perhaps offer
>> another way of working with arrays instead of the often somehow
>> complcated way working with function tables. In each case, some simple
>> examples would be a good idea, in my opinion.
>>
>> 	joachim
>>
>>
>>
>> Am 08.07.2009 um 04:00 schrieb Michael Gogins:
>>
>>> When you run csound -z1, do you find the la_* opcodes in the list?
>>>
>>> If not, your installation  or build of Csound lacks these opcodes. To
>>> build them, you need the Gmm++ library (header files only) referenced
>>> in the Csound manual.
>>>
>>> If so, I wish I had good examples to offer. Have you read the section
>>> on the opcodes in the manual? This needs to be read very carefully,
>>> because the linear algebra opcodes do not represent objects the way
>>> the other opcodes do; essentially a pointer to an array is stuffed
>>> into an irate variable and used at krate or arate. This is necessary
>>> to enable signals to be read from audio streams into arrays, and back
>>> out again, when the size of the array and the size of ksmps are not
>>> necessarily the same. This is similar to fsigs, actually.
>>>
>>> If you will tell me what you would like to do, and if I can understand
>>> what it is you would like to do, I would love to work with you to
>>> develop a working example for the manual.
>>>
>>> Hope this helps,
>>> Mike
>>>
>>>
>>> On 7/7/09, joachim heintz  wrote:
>>>> Hi -
>>>>
>>>> I wanted to learn about the new linear algebra opcodes, but I get
>>>> just
>>>> error messages. When I start with
>>>>
>>>> irows	= 1
>>>> ivr la_i_vr_create irows
>>>>
>>>> I get:
>>>> error: no legal opcode, line 14:
>>>> ivr la_i_vr_create irows
>>>>
>>>> I always get "no legal opcode" when I try one of this family. Is
>>>> there
>>>> a problem, or my fault?
>>>>
>>>> Also, I'd appreciate a lot if there were some basic examples.
>>>>
>>>> Thanks -
>>>>
>>>> 	joachim
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe csound"
>>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com