Csound Csound-dev Csound-tekno Search About

[Csnd] Array File IO

Date2014-08-09 14:04
FromEdward Costello
Subject[Csnd] Array File IO
Hi,

Is there a way to read and write the contents of an array to disk?
Ed

Date2014-08-09 14:48
FromVictor Lazzarini
SubjectRe: [Csnd] Array File IO
a loop and foutk?
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 9 Aug 2014, at 14:04, Edward Costello  wrote:

> Hi,
> 
> Is there a way to read and write the contents of an array to disk?
> Ed
> 
> 
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Date2014-08-09 15:14
FromEdward Costello
SubjectRe: [Csnd] Array File IO
I need to do 2D arrays, is that possible using fout?

On 9 Aug 2014, at 15:48, Victor Lazzarini  wrote:

> a loop and foutk?
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
> 
> 
> 
> 
> On 9 Aug 2014, at 14:04, Edward Costello  wrote:
> 
>> Hi,
>> 
>> Is there a way to read and write the contents of an array to disk?
>> Ed
>> 
>> 
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> 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
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Date2014-08-09 15:27
FromVictor Lazzarini
SubjectRe: [Csnd] Array File IO
yes, nested loops? 
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 9 Aug 2014, at 15:14, Edward Costello  wrote:

> I need to do 2D arrays, is that possible using fout?
> 
> On 9 Aug 2014, at 15:48, Victor Lazzarini  wrote:
> 
>> a loop and foutk?
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>> 
>> 
>> 
>> 
>> On 9 Aug 2014, at 14:04, Edward Costello  wrote:
>> 
>>> Hi,
>>> 
>>> Is there a way to read and write the contents of an array to disk?
>>> Ed
>>> 
>>> 
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> 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
>>       https://github.com/csound/csound/issues
>> 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
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Date2014-08-09 15:35
FromEdward Costello
SubjectRe: [Csnd] Array File IO
Yes, but in terms of format how would I specify the dimensions of the matrix in the file?

On 9 Aug 2014, at 16:27, Victor Lazzarini  wrote:

> yes, nested loops? 
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
> 
> 
> 
> 
> On 9 Aug 2014, at 15:14, Edward Costello  wrote:
> 
>> I need to do 2D arrays, is that possible using fout?
>> 
>> On 9 Aug 2014, at 15:48, Victor Lazzarini  wrote:
>> 
>>> a loop and foutk?
>>> ========================
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> NUI Maynooth, Ireland
>>> victor dot lazzarini at nuim dot ie
>>> 
>>> 
>>> 
>>> 
>>> On 9 Aug 2014, at 14:04, Edward Costello  wrote:
>>> 
>>>> Hi,
>>>> 
>>>> Is there a way to read and write the contents of an array to disk?
>>>> Ed
>>>> 
>>>> 
>>>> Send bugs reports to
>>>>     https://github.com/csound/csound/issues
>>>> 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
>>>      https://github.com/csound/csound/issues
>>> 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
>>       https://github.com/csound/csound/issues
>> 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
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Date2014-08-09 17:28
FromVictor Lazzarini
SubjectRe: [Csnd] Array File IO
you can write a header of sorts, foutk will write any data.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 9 Aug 2014, at 15:35, Edward Costello  wrote:

> Yes, but in terms of format how would I specify the dimensions of the matrix in the file?
> 
> On 9 Aug 2014, at 16:27, Victor Lazzarini  wrote:
> 
>> yes, nested loops? 
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>> 
>> 
>> 
>> 
>> On 9 Aug 2014, at 15:14, Edward Costello  wrote:
>> 
>>> I need to do 2D arrays, is that possible using fout?
>>> 
>>> On 9 Aug 2014, at 15:48, Victor Lazzarini  wrote:
>>> 
>>>> a loop and foutk?
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> NUI Maynooth, Ireland
>>>> victor dot lazzarini at nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 9 Aug 2014, at 14:04, Edward Costello  wrote:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> Is there a way to read and write the contents of an array to disk?
>>>>> Ed
>>>>> 
>>>>> 
>>>>> Send bugs reports to
>>>>>    https://github.com/csound/csound/issues
>>>>> 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
>>>>     https://github.com/csound/csound/issues
>>>> 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
>>>      https://github.com/csound/csound/issues
>>> 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
>>       https://github.com/csound/csound/issues
>> 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
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
>