[Csnd] saving csound's log to a text file
Date | 2013-03-20 16:55 |
From | aaB |
Subject | [Csnd] saving csound's log to a text file |
Attachments | None |
Date | 2013-03-20 17:07 |
From | Justin Smith |
Subject | Re: [Csnd] saving csound's log to a text file |
facebook does not print to stdout, because that way it is possible to pipe audio data to another program in a shell via stdout you need to redirect stderr as follows:
csound <args> 2>&1 | <next program> I do not know if there is a way to use | on only stderr rather than stdout, the above combines stderr into stdout and sends it all to the next program.
On Wed, Mar 20, 2013 at 9:55 AM, aaB <mecagonoisician@gmail.com> wrote: Hello list, |
Date | 2013-03-20 17:07 |
From | Michael Gogins |
Subject | Re: [Csnd] saving csound's log to a text file |
O FILE, --logfile=FILE Log output to file FILE. If FILE is null (i.e. -O null or --logfile=null) all printing of messages to the console is disabled. - On Wed, Mar 20, 2013 at 12:55 PM, aaB |
Date | 2013-03-20 17:07 |
From | Justin Smith |
Subject | Re: [Csnd] saving csound's log to a text file |
ugh. crossed stream working on graphsearch at work :) I meant csound does not print to stdout On Wed, Mar 20, 2013 at 10:07 AM, Justin Smith <noisesmith@gmail.com> wrote:
|
Date | 2013-03-20 17:11 |
From | aaB |
Subject | Re: [Csnd] saving csound's log to a text file [solved] |
Attachments | None |
Date | 2013-03-20 17:14 |
From | Jacob Joaquin |
Subject | Re: [Csnd] saving csound's log to a text file |
Can Csound6 please print to stdout? Pretty please. It's the right thing to do. On Wed, Mar 20, 2013 at 10:07 AM, Justin Smith |
Date | 2013-03-20 18:08 |
From | Justin Smith |
Subject | Re: [Csnd] saving csound's log to a text file |
after a little more digging, I have discovered that the following should make csound's stderr and stdout swap places using a unix shell csound [args] 3>&1 1>&2 2>&3
this is ugly, but it basically swaps csounds stdout and stderr without mixing the two, so that you can pipe or redirect what csound sent to stderr without mixing it with stdout On Wed, Mar 20, 2013 at 10:14 AM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote: Can Csound6 please print to stdout? Pretty please. It's the right thing to do. |