[Csnd] Saving ftable which can be read by GEN23 within Csound
Date | 2018-10-15 19:48 |
From | "Jeanette C." |
Subject | [Csnd] Saving ftable which can be read by GEN23 within Csound |
Hey hey, is there a way to save an ftable in the format that can be loaded by GEN23? I know about ftsave and ftsavek, but they store ftables in a format that can (only) be loaded by ftload. What I need is a text file with one value per line. Perhaps there is another solution to the whole scenario, so here it is: I define a room, to be used by hrtfearly, write all the parameters to a text file, a parameter per line. I leave the last three fields on zero, to later include the outputs of hrtfearly. Three i-rate variables to be later used by hrtfreverb. I'd rather like to have them included in the ftable. It's part of the current design, which is nice and handy as such. Best wishes and thanks for any help, Jeanette -- * Website: http://juliencoder.de - for summer is a state of sound * SoundCloud: https://soundcloud.com/jeanette_c * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g * GitHub: https://github.com/jeanette-c * Twitter: https://twitter.com/jeanette_c_s With you I get so high Lost in the crystal sky You are this melody That's where you take me <3 (Britney Spears) Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2018-10-15 20:03 |
From | Rory Walsh |
Subject | Re: [Csnd] Saving ftable which can be read by GEN23 within Csound |
You mean write data to disk as a txt file that can be opened by GEN23? You can write the data to file using foutk, or fprintf? For example you can write all data from table giSine to disk like this (untested):
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
endin This will write the value of each index to a new line. Rory. On Mon, 15 Oct 2018 at 19:49, Jeanette C. <julien@mail.upb.de> wrote: Hey hey, |
Date | 2018-10-15 21:12 |
From | "Jeanette C." |
Subject | Re: [Csnd] Saving ftable which can be read by GEN23 within Csound |
Oct 15 2018, Rory Walsh has written: > You mean write data to disk as a txt file that can be opened by GEN23? You > can write the data to file using foutk, or fprintf? For example you can > write all data from table giSine to disk like this (untested): Thank you Rory, that would do nicely. Best wishes, Jeanette > > instr 1000 iIndex = 0 while iIndex |