[Csnd] Is it possible to write to a binary file in arbitrary position?
Date | 2019-07-10 18:38 |
From | Mauro Giubileo |
Subject | [Csnd] Is it possible to write to a binary file in arbitrary position? |
Hi, I would like to know if Csound has some opcode to write some values in a binary file at arbitrary position. Something like that: iFileHandle fiopen "somefile.bin", 2 ; 2 -> open file in binary mode for writing Being that I would like to store more than one value, it could be nice to pass an array to the hypothetical write2file function... Regards, --- |
Date | 2019-07-12 12:45 |
From | Richard van Bemmelen |
Subject | Re: [Csnd] Is it possible to write to a binary file in arbitrary position? |
You could do it via Python inside Csound. You could even insert values into a database that way... Richard Op wo 10 jul. 2019 om 19:38 schreef Mauro Giubileo <mgiubileo@computeraltafed.it>:
|
Date | 2019-07-12 17:54 |
From | Mauro Giubileo |
Subject | Re: [Csnd] Is it possible to write to a binary file in arbitrary position? |
Thanks, I will try. But it would be very nice if I could write inside a binary file directly with a csound opcode. I think it doesn't exist yet, right? Regards, --- Il 2019-07-12 13:45 Richard van Bemmelen ha scritto:
|