Stdin
| Date | 2017-06-11 09:38 |
| From | Anders Genell |
| Subject | Stdin |
Hi!
I believe I've read somewhere there is a way to pipe audio from stdout into Csound somehow, but cannot find it.
I suppose I could set up a fifo on /dev/shm and read that with fin, but if there is a stein opcode that would be simpler...
Regards,
Anders
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 | 2017-06-11 09:40 |
| From | Victor Lazzarini |
| Subject | Re: Stdin |
do you mean from stdin? ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 11 Jun 2017, at 09:38, Anders Genell |
| Date | 2017-06-11 09:46 |
| From | Victor Lazzarini |
| Subject | Re: Stdin |
If that is the case, btw, you can just use -i stdin For instance: cat fox.wav | csound -i stdin -o dac your.csd ======================== Prof. Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy, Maynooth University, Maynooth, Co Kildare, Ireland Tel: 00 353 7086936 Fax: 00 353 1 7086952 > On 11 Jun 2017, at 09:40, Victor Lazzarini |
| Date | 2017-06-11 10:35 |
| From | Anders Genell |
| Subject | Re: Stdin |
that was exactly what i meant, thanks! Regards, Anders On Sun, Jun 11, 2017 at 10:46 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: If that is the case, btw, you can just use -i stdin |