Csound Csound-dev Csound-tekno Search About

[Cs-dev] Using arrays with opcodes

Date2013-04-16 11:26
FromEdward Costello
Subject[Cs-dev] Using arrays with opcodes
AttachmentsNone  None  None  None  

Date2013-04-16 12:30
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Using arrays with opcodes
No.  We need to think about this a lot more.  Could go via a table I guess
but that is clumsy

==John ff

> Hi,
>
> I was just wondering what is the current status of using arrays with
> opcodes in Csound 6. Is it, or will it be possible to return an array from
> an opcode, say for instance if you had an opcode for computing spectral
> magnitudes of an audio input like this:
>
> kSpectralMagnitudes[kCurrentFrame] myGreatSpectralMagnitudesOpcode
> aAudioIn, iFrameSize, iHopSize, iWindowType
>
> Where kSpectralMagnitudes is a two dimensional array, with the first
> dimension being the current frame and the second dimension containing the
> spectral magnitude values.
>
> --
> Edward Costello
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-04-16 12:34
FromVictor Lazzarini
SubjectRe: [Cs-dev] Using arrays with opcodes
I guess this is possible with UDOs. I am also planning opcodes/functions to do things like FFTs etc to work with arrays.
With the generalised array in place, things like that can be introduced.

On 16 Apr 2013, at 12:30, jpff@cs.bath.ac.uk wrote:

> No.  We need to think about this a lot more.  Could go via a table I guess
> but that is clumsy
> 
> ==John ff
> 
>> Hi,
>> 
>> I was just wondering what is the current status of using arrays with
>> opcodes in Csound 6. Is it, or will it be possible to return an array from
>> an opcode, say for instance if you had an opcode for computing spectral
>> magnitudes of an audio input like this:
>> 
>> kSpectralMagnitudes[kCurrentFrame] myGreatSpectralMagnitudesOpcode
>> aAudioIn, iFrameSize, iHopSize, iWindowType
>> 
>> Where kSpectralMagnitudes is a two dimensional array, with the first
>> dimension being the current frame and the second dimension containing the
>> spectral magnitude values.
>> 
>> --
>> Edward Costello
>> 
>> ------------------------------------------------------------------------------
>> Precog is a next-generation analytics platform capable of advanced
>> analytics on semi-structured data. The platform includes APIs for building
>> apps and a phenomenal toolset for data science. Developers can use
>> our toolset for easy data analysis & visualization. Get a free account!
>> http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> 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




------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-04-16 15:53
FromEdward Costello
SubjectRe: [Cs-dev] Using arrays with opcodes
AttachmentsNone  None  None  None  

Date2013-04-16 16:06
Frompeiman khosravi
SubjectRe: [Cs-dev] Using arrays with opcodes
AttachmentsNone  None  
Can I also put in two requests:

1- arrays in p-fields
2- an a-rate and k-rate envelop generator that takes in three array: one for point values, one for the segment durations, and one for the type of interpolation for each segment.  

Best,
Peiman



On 16 April 2013 15:53, Edward Costello <edwardcostello@gmail.com> wrote:
That sounds great, thanks

-- 
Edward Costello

On Tuesday 16 April 2013 at 13:34, Victor Lazzarini wrote:

I guess this is possible with UDOs. I am also planning opcodes/functions to do things like FFTs etc to work with arrays.
With the generalised array in place, things like that can be introduced.

On 16 Apr 2013, at 12:30, jpff@cs.bath.ac.uk wrote:

No. We need to think about this a lot more. Could go via a table I guess
but that is clumsy

==John ff

Hi,

I was just wondering what is the current status of using arrays with
opcodes in Csound 6. Is it, or will it be possible to return an array from
an opcode, say for instance if you had an opcode for computing spectral
magnitudes of an audio input like this:

kSpectralMagnitudes[kCurrentFrame] myGreatSpectralMagnitudesOpcode
aAudioIn, iFrameSize, iHopSize, iWindowType

Where kSpectralMagnitudes is a two dimensional array, with the first
dimension being the current frame and the second dimension containing the
spectral magnitude values.

--
Edward Costello

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
Csound-devel mailing list



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
_______________________________________________
Csound-devel mailing list

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
_______________________________________________
Csound-devel mailing list


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel