Csound Csound-dev Csound-tekno Search About

Stdin

Date2017-06-11 09:38
FromAnders Genell
SubjectStdin
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

Date2017-06-11 09:40
FromVictor Lazzarini
SubjectRe: 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  wrote:
> 
> 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

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

Date2017-06-11 09:46
FromVictor Lazzarini
SubjectRe: 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  wrote:
> 
> 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  wrote:
>> 
>> 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
> 
> 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

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

Date2017-06-11 10:35
FromAnders Genell
SubjectRe: 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

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 <Victor.Lazzarini@NUIM.IE> wrote:
>
> 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 <anders.genell@GMAIL.COM> wrote:
>>
>> 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
>
> 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

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

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