NoteWorthy Software, Inc.
2014-04-24 02:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Licensed NWC2 users can upgrade their community membership [more]
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: nwc-conv.exe: Command line tool for converting *.nwc files (Version 2.1b)  (Read 8997 times)
NoteWorthy Online
Admin


« on: 2010-04-07 12:37 PM »

Licensed users of NoteWorthy Composer Version 2.1 can use the attached tool to automate *.nwc file conversions. This new version of the nwc-conv.exe program will automatically find a properly installed copy of NWC2 and use it to complete the requested file conversion.

Quote from: nwc-conv.exe -h
nwc-conv: version 2.1b
This program is a front end command to the file convert options
available in the main NoteWorthy Composer 2 program.

Usage: nwc-conv IN_FMT OUT_FMT [-h|-v|-0|-1]

IN_FMT
    This specifies the input file or format that will be used.
    This can be the name of a *.nwc or *.nwctxt file, or if
    STDIN is used, it should indicate "NWC" or "NWCTXT".

OUT_FMT
    This specifies the output file or format that will be used.
    The format can be one of NWC, NWCTXT, MID, or INFO, but may
    not be the same as the IN_FMT. This can be the name of the
    intended output file, or just the the format name if STDOUT
    is used.

-h  Shows this help message
-v  Shows the program name and version
-0  Use type 0 when converting to MIDI
-1  Use type 1 when converting to MIDI

Example: nwc-conv NWCTXT "out\test.mid" -1
    This creates a Type 1 MIDI file using the NWCTXT text
    provided on standard input (STDIN)

Example: nwc-conv "in\test.nwc" NWCTXT > "out\test.nwctxt"
    This converts the test.nwc file into NWCTXT which is sent
    via standard output (STDOUT) to a test.nwctxt file
« Last Edit: 2010-05-08 10:47 AM by NoteWorthy Online » Logged
Randy Williams
Virtuoso
« Reply #1 on: 2010-04-30 12:15 PM »

Sorry if I'm just stupid, but what format is the attached file in?  How can I "convert" it to an executable "nwc-conv.exe"?
Logged
Rick G.
Virtuoso
« Reply #2 on: 2010-04-30 12:24 PM »

How can I "convert" it to an executable "nwc-conv.exe"?
7-Zip
For those who don't want 7-Zip to take over their machines, I recommend the 7-Zip Command Line Version from here:
Logged

Registered user since 1996
NoteWorthy Online
Admin


« Reply #3 on: 2010-05-08 10:48 AM »

The updated nwc-conv.exe tool is now included in version 2.11 of the NWC2 User Tool Starter Kit.

  • an updated nwc-conv.exe for command line conversion of *.nwc to and from *.nwctxt
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines
Page created in 0.046 seconds with 18 queries.

Copyright © 2014 Noteworthy Software, Inc.