Kara-Moon Forum
March 29, 2024, 06:31:46 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Verbosity  (Read 1840 times)
sciurius
Sr. Member
****
Posts: 443



« on: August 05, 2019, 01:44:55 PM »

When MMA is run with -n, it always reports on successful completion:

    Warning:   Input file parsed successfully. No midi file generated

I think this message is superfluous, since the user explicitly requested to not generate a MIDI file.
Failure to parse the input will result in other messages, and a non-zero exit status.

Proposal: Remove this message.

Alsi I'd like to propose a command line option -q (quiet) to silence some other information messages. In particular

    Creating new midi file ....
    Overwriting existing midi file ....


(Fun question: can you overwrite a not existing midi file?)

Optional proposal: Shorten these messages to

    Creating 'song.mid' (16 bars, 0:44 m:s)
    Overwriting 'song.mid' (16 bars, 0:44 m:s)
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #1 on: August 05, 2019, 04:13:22 PM »

Give me a few days to think on this. ... just off the top of my head I've sort of tried to keep MMA somewhat "friendly" in its output. And, yes, I know that that sometimes this interferes with being useful.

And, of course, some of the verbosity is just due to laziness.
Logged

My online life: http://www.mellowood.ca
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.036 seconds with 19 queries.