| pvsfwrite closes the file when the opcode is deallocated (same
as fout). If you need read and write access at the same time,
you need to use pvsbuffer.
----- Original Message -----
From: "Rory Walsh"
To:
Sent: Saturday, December 06, 2008 4:17 PM
Subject: [Csnd] pvsfwrite question..
> Is there are way to explicitly close a file written using pvsfwrite?
> Currently I have one instrument which writes fsig data to disk, I then
> use another instrument to read this info.I would like to consolidate
> my two instruments but when I do I keep getting the following message:
>
> PortAudio: selected output device 'EDIROL UA-25'
> writing 20-byte blks of shorts to devaudio1
> SECTION 1:
> PVOCEX_LoadFile(): error:
> unable to open pvocex file test.pvx:
> pvsys: error reading header
> INIT ERROR in instr 1: Failed to load PVOC-EX file
> fsigr pvsfread #k0 "test.pvx" 0
> *** internal error: mcalloc() called with zero nbytes
> *** internal error: mcalloc() called with zero nbytes
>
> Note that it doesn't bail on init time because I have a valid test.pvs
> file in the directory I'm working from.
>
> Rory.
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
|