Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Csound stdin / stdout

Date1999-10-31 13:26
FromGabriel Maldonado
SubjectRe: [Csnd] Csound stdin / stdout
I never tested it. Do you have some suggestion?

Michael Gogins wrote:
> 
> With DirectCsound, Winsound, and consound, do audio input and output via
> stdin and stdout work and, if so, how well?
> 
> In particular, are the files read and/or written with blocking, for example,
> if the output file is not available, does Csound suspend execution until it
> is available (this could be handled implicitly by the write system call)?

-- 
Gabriel Maldonado

http://web.tiscalinet.it/G-Maldonado


--

Date1999-11-01 05:28
FromMichael Gogins
SubjectRe: [Csnd] Csound stdin / stdout
The reason I'm asking about this is if it worked as advertized, it would be
possible to write a VST plugin or a JavaSound implementation of Csound by
reading and writing audio from the Csound process file handles, instead of
having to hack the Csound code into a new kind of driver. This would only
work if either input, or output, or both, blocked if data were not
available.

-----Original Message-----
From: Gabriel Maldonado [mailto:g.maldonado@agora.stm.it]
Sent: Sunday, October 31, 1999 8:27 AM
To: Michael Gogins
Cc: Csoundlist
Subject: Re: Csound stdin / stdout


I never tested it. Do you have some suggestion?

Michael Gogins wrote:
>
> With DirectCsound, Winsound, and consound, do audio input and output via
> stdin and stdout work and, if so, how well?
>
> In particular, are the files read and/or written with blocking, for
example,
> if the output file is not available, does Csound suspend execution until
it
> is available (this could be handled implicitly by the write system call)?

--
Gabriel Maldonado

http://web.tiscalinet.it/G-Maldonado


--