Csound Csound-dev Csound-tekno Search About

[Csnd-dev] message suppression

Date2021-09-09 10:20
FromVictor Lazzarini
Subject[Csnd-dev] message suppression
We have done some work on message suppression following Eduardo’s proposal. 
Here’s the state of things

- No messages are issued before command line arguments are decoded. This is
new.
- Error messages are suppressed with -m0 (but not if -v is present). This is
new.
- Warning messages are suppressed below the warning message level (0x400). That
has been there for a good while.
- Messages in general are not suppressed unless there is code to do that. 

So we should aim to use the correct message functions according to the
suppression patterns above. There’s a number of csoundMessage() calls that
are protected locally to behave like csoundErrorMsg(), so may look into changing
these.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland


Date2021-09-09 10:49
FromRory Walsh
SubjectRe: [Csnd-dev] message suppression
Great stuff. This is a very welcome addition!

On Thu, 9 Sept 2021 at 10:20, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
We have done some work on message suppression following Eduardo’s proposal.
Here’s the state of things

- No messages are issued before command line arguments are decoded. This is
new.
- Error messages are suppressed with -m0 (but not if -v is present). This is
new.
- Warning messages are suppressed below the warning message level (0x400). That
has been there for a good while.
- Messages in general are not suppressed unless there is code to do that.

So we should aim to use the correct message functions according to the
suppression patterns above. There’s a number of csoundMessage() calls that
are protected locally to behave like csoundErrorMsg(), so may look into changing
these.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland


Date2021-09-09 13:44
From"Dr. Richard Boulanger"
SubjectRe: [Csnd-dev] message suppression
excellent.

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Thu, Sep 9, 2021 at 5:20 AM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
We have done some work on message suppression following Eduardo’s proposal.
Here’s the state of things

- No messages are issued before command line arguments are decoded. This is
new.
- Error messages are suppressed with -m0 (but not if -v is present). This is
new.
- Warning messages are suppressed below the warning message level (0x400). That
has been there for a good while.
- Messages in general are not suppressed unless there is code to do that.

So we should aim to use the correct message functions according to the
suppression patterns above. There’s a number of csoundMessage() calls that
are protected locally to behave like csoundErrorMsg(), so may look into changing
these.
========================
Prof. Victor Lazzarini
Maynooth University
Ireland