[CSOUND-DEV:5368] Re: Python opcodes for file i/o?
Date | 2004-09-30 02:21 |
From | "Michael Gogins" |
Subject | [CSOUND-DEV:5368] Re: Python opcodes for file i/o? |
You should be able to do that. In fact you could write a Python script to compile an orc that sets up ftables, then use Python to read or create data, stuff the data into those ftables with the API, and then run the performance. Or you could do the same thing from inside Python opcodes. ----- Original Message ----- From: |
Date | 2004-09-30 02:45 |
From | iainduncan@telus.net |
Subject | [CSOUND-DEV:5370] Re: Python opcodes for file i/o? |
Specifically I'm thinking of being able to read/write ftables from within a cousnd instrument *while csound is playing*. Do you know which of the approaches you mentioned would be best for that? Thanks iain > You should be able to do that. In fact you could write a Python script to > compile an orc that sets up ftables, then use Python to read or create data, > stuff the data into those ftables with the API, and then run the > performance. Or you could do the same thing from inside Python opcodes. > > ----- Original Message ----- > From: |
Date | 2004-09-30 05:43 |
From | steven yi |
Subject | [CSOUND-DEV:5372] Re: Python opcodes for file i/o? |
Hi Iain, I scoured through the mailing list as I thought I remember Maurizio mentioning being able to within pyext. I found his old documentation (still available) at: http://pythonsound.sourceforge.net/pyext.pdf And it has information on manipulating function tables from python. I have no idea to what extent if all of the python module as he had implemented is what is in Csound5, so the document might not be applicable. steven iainduncan@telus.net wrote: >Specifically I'm thinking of being able to read/write ftables from within a >cousnd instrument *while csound is playing*. Do you know which of the approaches >you mentioned would be best for that? > >Thanks >iain > > |