|
Every time diskin is used it displays some
information. Is there a way to suppress this message from the terminal? Thanks, Luis -- http://luisantunespena.eu Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
Disable message output by using -m0 in your <CsOptions> or as a
commandline argument? -David On Mon, Feb 20, 2012 at 5:19 AM, k_o_m_p <[hidden email]> wrote: > Every time diskin is used it displays some information. Is there a way to > suppress this message from the terminal? > Thanks, > Luis Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
I've tried it but the -m0 according to the manual
is to use raw amplitudes and disable colours. It does'nt stop the diskin messages. Any other suggestion? Best, Luis Am 20.02.12 13:04, schrieb David Akbari: > Disable message output by using -m0 in your<CsOptions> or as a > commandline argument? > > -David > > On Mon, Feb 20, 2012 at 5:19 AM, k_o_m_p<[hidden email]> wrote: >> Every time diskin is used it displays some information. Is there a way to >> suppress this message from the terminal? >> Thanks, >> Luis > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email [hidden email] with body "unsubscribe csound" > > -- -- http://luisantunespena.eu Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
Using -m0 to suppress messages worked for me and it's probably your
best bet. Not sure where you found the colors discussion, as I couldn't see it in the Canonical Reference manual. A sample .csd file demonstrating successful suppression of messages used with diskin2 is appended to this message. I tested -m0 prior to sending my original message on Csound 5.16, although I was using diskin2 instead of diskin which may have an impact on the effect you're noticing. You could always modify the source code and compile a version of the diskin opcode that doesn't display the message. Otherwise, I don't know what to tell you, if message suppression isn't working for you. Best of luck! -David <CsoundSynthesizer> <CsOptions> -odac -m0 </CsOptions> <CsInstruments> sr = 44100 ksmps = 1 nchnls = 2 ;0dbfs = 1 ganull init 0 #define ORIGFILE # "C:/RawSound/hellorcb.aif" # instr 1 ; diskin message suppression test al, ar diskin2 $ORIGFILE, 1, 0 outs al, ar endin </CsInstruments> <CsScore> i1 0 120 e </CsScore> </CsoundSynthesizer> On Mon, Feb 20, 2012 at 7:15 AM, k_o_m_p <[hidden email]> wrote: > I've tried it but the -m0 according to the manual is to use raw amplitudes > and disable colours. It does'nt stop the diskin messages. > Any other suggestion? > Best, > Luis > > Am 20.02.12 13:04, schrieb David Akbari: >> >> Disable message output by using -m0 in your<CsOptions> or as a >> commandline argument? >> >> -David >> >> On Mon, Feb 20, 2012 at 5:19 AM, k_o_m_p<[hidden email]> wrote: >>> >>> Every time diskin is used it displays some information. Is there a way to >>> suppress this message from the terminal? >>> Thanks, >>> Luis >> >> >> Send bugs reports to the Sourceforge bug tracker >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >> Discussions of bugs and features can be posted here >> To unsubscribe, send email [hidden email] with body "unsubscribe >> csound" >> >> > > > -- > -- > http://luisantunespena.eu > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email [hidden email] with body "unsubscribe > csound" > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
you can use only `-O null' but I have modified the code in git;
now `diskin2' msg is like `soundin' and `--m-warnings=0' works. tito Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
In reply to this post by David Akbari
What version of csound are you running? I tested
it in 5.16 (float samples) Feb 9 2012 Your csd prints the same information here both in CsoundQt and in the Terminal. You're right about the -m0 flag. Thanks for testing it. Luis Am 20.02.12 15:10, schrieb David Akbari: > -odac -m0 -- http://luisantunespena.eu Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
In reply to this post by Tito Latini
Thank you for looking at it.
do you mean -m0 ? luis Am 20.02.12 15:10, schrieb Tito Latini: > you can use only `-O null' but I have modified the code in git; > now `diskin2' msg is like `soundin' and `--m-warnings=0' works. > > tito > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email [hidden email] with body "unsubscribe csound" > > -- -- http://luisantunespena.eu Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
I don't know if it is your case.
Before the change I have tried (v5.16) csound -odac diskin.csd ... WARNING: diskin: opened 'beats.wav': 44100 Hz, 1 channel(s), 88200 sample frames WARNING: bufsize 4096 ... and we can remove these messages with csound -odac --m-warnings=0 diskin.csd # of course -m0 also works But with diskin2 csound -odac diskin2.csd ... diskin2: opened 'beats.wav': 44100 Hz, 1 channel(s), 88200 sample frames ... csound -odac -m0 diskin2.csd ... diskin2: opened 'beats.wav': 44100 Hz, 1 channel(s), 88200 sample frames ... After the change in git, csound -odac --m-warnings=0 diskin2.csd # or -m0 etc the "diskin2: opened ..." message has disappeared. tito Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
Thanks for the explanation!
Am 20.02.12 16:49, schrieb Tito Latini: > I don't know if it is your case. > Before the change I have tried (v5.16) > > csound -odac diskin.csd > ... > WARNING: diskin: opened 'beats.wav': > 44100 Hz, 1 channel(s), 88200 sample frames > > WARNING: bufsize 4096 > ... > > and we can remove these messages with > > csound -odac --m-warnings=0 diskin.csd > # of course -m0 also works > > But with diskin2 > > csound -odac diskin2.csd > ... > diskin2: opened 'beats.wav': > 44100 Hz, 1 channel(s), 88200 sample frames > ... > > csound -odac -m0 diskin2.csd > ... > diskin2: opened 'beats.wav': > 44100 Hz, 1 channel(s), 88200 sample frames > ... > > After the change in git, > > csound -odac --m-warnings=0 diskin2.csd # or -m0 etc > > the "diskin2: opened ..." message has disappeared. > > tito > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email [hidden email] with body "unsubscribe csound" > > -- -- http://luisantunespena.eu Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
In reply to this post by David Akbari
On 02/20/2012 04:04 AM, David Akbari wrote:
> Disable message output by using -m0 in your <CsOptions> or as a > commandline argument? The diskin messages really bother me as well. Even if -m0 worked, it's too blunt a tool for the job; I want to see some messages. The problem comes when using diskin with a score that lists hundreds or thousands of events in a short period of time. I see that there are too many optional arguments already, so there may be no elegant solution other than editing the source. I would call into question however, the need for the message. I don't remember what it looks like at the moment, only that I don't want to see it. It's not the norm for opcodes to make noise (heh, other than the audio type). Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
| Powered by Nabble | See how NAML generates this page |
