Csound Csound-dev Csound-tekno Search About

[Cs-dev] joinarray?

Date2013-09-08 17:29
Fromjoachim heintz
Subject[Cs-dev] joinarray?
i am currently describing the existing array opcodes for the csound 
floss manual. do we already have a counterpart to slicearray? syntax 
could be:

    kArr[] joinarray kArr1, kArr2

where kArr1 and kArr2 are already existing arrays, whereas kArr is 
created in appending kArr2 to kArr1. for instance:

    kArr1[] array 1, 2, 3
    kArr2[] array 4, 5, 6, 7
    kArr[] joinarray kArr1, kArr2

kArr is now [1, 2, 3, 4, 5, 6, 7].

is this already possible?

thanks -

	joachim

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-09-08 17:43
FromAndres Cabrera
SubjectRe: [Cs-dev] joinarray?
AttachmentsNone  None  
That sounds useful, and it could be a good idea to have operators to do this work too, e.g.:

    kArr1[] array 1, 2, 3
    kArr2[] array 4, 5, 6

kArr3[] = kArr1 + kArr2
; kArr3 = [ 5, 7, 9]


kArr3[] = kArr1 __ kArr2
; kArr3 =[1, 2, 3, 4, 5, 6]

Cheers,
Andres


On Sun, Sep 8, 2013 at 9:29 AM, joachim heintz <jh@joachimheintz.de> wrote:
i am currently describing the existing array opcodes for the csound
floss manual. do we already have a counterpart to slicearray? syntax
could be:

    kArr[] joinarray kArr1, kArr2

where kArr1 and kArr2 are already existing arrays, whereas kArr is
created in appending kArr2 to kArr1. for instance:

    kArr1[] array 1, 2, 3
    kArr2[] array 4, 5, 6, 7
    kArr[] joinarray kArr1, kArr2

kArr is now [1, 2, 3, 4, 5, 6, 7].

is this already possible?

thanks -

        joachim

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-09-08 18:05
FromVictor Lazzarini
SubjectRe: [Cs-dev] joinarray?
 Maybe we can put together a list of useful operations like concatenation etc. and implement them.

Victor
On 8 Sep 2013, at 17:43, Andres Cabrera wrote:

> That sounds useful, and it could be a good idea to have operators to do this work too, e.g.:
> 
>     kArr1[] array 1, 2, 3
>     kArr2[] array 4, 5, 6
> 
> kArr3[] = kArr1 + kArr2
> ; kArr3 = [ 5, 7, 9]
> 
> 
> kArr3[] = kArr1 __ kArr2
> ; kArr3 =[1, 2, 3, 4, 5, 6] 
> 
> Cheers,
> Andres
> 
> 
> On Sun, Sep 8, 2013 at 9:29 AM, joachim heintz  wrote:
> i am currently describing the existing array opcodes for the csound
> floss manual. do we already have a counterpart to slicearray? syntax
> could be:
> 
>     kArr[] joinarray kArr1, kArr2
> 
> where kArr1 and kArr2 are already existing arrays, whereas kArr is
> created in appending kArr2 to kArr1. for instance:
> 
>     kArr1[] array 1, 2, 3
>     kArr2[] array 4, 5, 6, 7
>     kArr[] joinarray kArr1, kArr2
> 
> kArr is now [1, 2, 3, 4, 5, 6, 7].
> 
> is this already possible?
> 
> thanks -
> 
>         joachim
> 
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-09-08 18:18
Fromjoachim heintz
SubjectRe: [Cs-dev] joinarray?
wonderful, yes.

Am 08.09.2013 19:05, schrieb Victor Lazzarini:
>   Maybe we can put together a list of useful operations like concatenation etc. and implement them.
>
> Victor
> On 8 Sep 2013, at 17:43, Andres Cabrera wrote:
>
>> That sounds useful, and it could be a good idea to have operators to do this work too, e.g.:
>>
>>      kArr1[] array 1, 2, 3
>>      kArr2[] array 4, 5, 6
>>
>> kArr3[] = kArr1 + kArr2
>> ; kArr3 = [ 5, 7, 9]
>>
>>
>> kArr3[] = kArr1 __ kArr2
>> ; kArr3 =[1, 2, 3, 4, 5, 6]
>>
>> Cheers,
>> Andres
>>
>>
>> On Sun, Sep 8, 2013 at 9:29 AM, joachim heintz  wrote:
>> i am currently describing the existing array opcodes for the csound
>> floss manual. do we already have a counterpart to slicearray? syntax
>> could be:
>>
>>      kArr[] joinarray kArr1, kArr2
>>
>> where kArr1 and kArr2 are already existing arrays, whereas kArr is
>> created in appending kArr2 to kArr1. for instance:
>>
>>      kArr1[] array 1, 2, 3
>>      kArr2[] array 4, 5, 6, 7
>>      kArr[] joinarray kArr1, kArr2
>>
>> kArr is now [1, 2, 3, 4, 5, 6, 7].
>>
>> is this already possible?
>>
>> thanks -
>>
>>          joachim
>>
>> ------------------------------------------------------------------------------
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk_______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net