Csound Csound-dev Csound-tekno Search About

[Csnd] Bug with fink?

Date2013-03-20 18:30
FromRoger Kelly
Subject[Csnd] Bug with fink?

 if (kout == 0 ) then


printks "kss-->%f\n", .04 , kpeak

foutk "/Users/roger/proj/temp/testk.out", 0, kpeak, klfo, klfoint

kout = 1

endif


if (kout == 1) then

fink "/Users/roger/proj/temp/testk.out", 0,0, kpeak, klfo, klfoint

printks "retried..%f\n", .04, kpeak

kout = 3

endif



This is a snipplet from an instrument I am using.  Basically I want to write out some k variables in the first k period in the first block.  The next block reads them back in.


The first block works fine and writes the file.


The problem is that the "fink" seems to re-init and destroy the file without reading it.  I also tried fiopen but it appears to only work in 'i' rate and is not open.


Any ideas? Is this a bug?