Csound Csound-dev Csound-tekno Search About

Minimize/disable console output

Date2017-03-21 20:06
Fromsjakops
SubjectMinimize/disable console output
While I'm running my CsoundVST 6.08 + Python/ctsound based 64 bit application
my console window (inside VS Code) is flooded with info such as:

WARNING: loscil: sustain defers to non-looping source
INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
 - note deleted.  i1 had 1 init errors
WARNING: loscil: sustain defers to non-looping source
INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
 - note deleted.  i1 had 1 init errors
WARNING: loscil: sustain defers to non-looping source
INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
 - note deleted.  i1 had 1 init errors

I wonder if it's possible to turn off anything but error messages? Or if I
can turn off all console output, so at least my dev-environment (VS Code)
doesn't have to struggle with all this info (note that I am calling csound
from Python/ctcsound).

BTW is it an error that these 'outlets' (i'm using 'connect' and 'outleta'
opcodes) keep getting instantiated - maybe that should only happen when the
orchestra is compiled? (using ctcsound.compileOrc())

Best regards,
Søren



--
View this message in context: http://csound.1045644.n5.nabble.com/Minimize-disable-console-output-tp5755218.html
Sent from the Csound - General mailing list archive at Nabble.com.

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-03-22 08:11
FromAnton Kholomiov
SubjectRe: Minimize/disable console output
Hi, you can do it with messagelevel flag

2017-03-21 23:06 GMT+03:00 sjakops <sorenkj@gmail.com>:
While I'm running my CsoundVST 6.08 + Python/ctsound based 64 bit application
my console window (inside VS Code) is flooded with info such as:

WARNING: loscil: sustain defers to non-looping source
INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
 - note deleted.  i1 had 1 init errors
WARNING: loscil: sustain defers to non-looping source
INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
 - note deleted.  i1 had 1 init errors
WARNING: loscil: sustain defers to non-looping source
INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
 - note deleted.  i1 had 1 init errors

I wonder if it's possible to turn off anything but error messages? Or if I
can turn off all console output, so at least my dev-environment (VS Code)
doesn't have to struggle with all this info (note that I am calling csound
from Python/ctcsound).

BTW is it an error that these 'outlets' (i'm using 'connect' and 'outleta'
opcodes) keep getting instantiated - maybe that should only happen when the
orchestra is compiled? (using ctcsound.compileOrc())

Best regards,
Søren



--
View this message in context: http://csound.1045644.n5.nabble.com/Minimize-disable-console-output-tp5755218.html
Sent from the Csound - General mailing list archive at Nabble.com.

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-03-22 08:31
FromVictor Lazzarini
SubjectRe: Minimize/disable console output
Looks like there is some tracing left over in the code. 
Mike’s the author of these opcodes, he will probably be able to answer you questions.
========================
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 21 Mar 2017, at 20:06, sjakops  wrote:
> 
> While I'm running my CsoundVST 6.08 + Python/ctsound based 64 bit application
> my console window (inside VS Code) is flooded with info such as:
> 
> WARNING: loscil: sustain defers to non-looping source
> INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
> Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
> Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
> Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
> Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
> - note deleted.  i1 had 1 init errors
> WARNING: loscil: sustain defers to non-looping source
> INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
> Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
> Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
> Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
> Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
> - note deleted.  i1 had 1 init errors
> WARNING: loscil: sustain defers to non-looping source
> INIT ERROR in instr 1: stereo loscil cannot read from mono ftable
> Created instance 0xd0104c50 of 1 instances of outlet 1:leftout
> Created instance 0xd0104e20 of 1 instances of outlet 1:rightout
> Removed instance 0xd0104e20 of 0 instances of outleta 1:rightout
> Removed instance 0xd0104c50 of 0 instances of outleta 1:leftout
> - note deleted.  i1 had 1 init errors
> 
> I wonder if it's possible to turn off anything but error messages? Or if I
> can turn off all console output, so at least my dev-environment (VS Code)
> doesn't have to struggle with all this info (note that I am calling csound
> from Python/ctcsound).
> 
> BTW is it an error that these 'outlets' (i'm using 'connect' and 'outleta'
> opcodes) keep getting instantiated - maybe that should only happen when the
> orchestra is compiled? (using ctcsound.compileOrc())
> 
> Best regards,
> Søren
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Minimize-disable-console-output-tp5755218.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 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