Author |
Message |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Thu Jun 01, 2006 11:25 am Post subject:
calling the nm editor from the prompt. Subject description: Syntax? |
 |
|
Does anybody know wether there is any documented syntax for calling the NM editor from the prompt? I tried extentions like "/?" and "--help" but that doesn't work. What I'd like to do is call it from another program and have it load files in known slots (and so known midi channels) without needing manual interference.
Jan? You must have some way of loading files for your noodle radio? _________________ Kassen |
|
Back to top
|
|
 |
blue hell
Site Admin

Joined: Apr 03, 2004 Posts: 24432 Location: The Netherlands, Enschede
Audio files: 297
G2 patch files: 320
|
Posted: Thu Jun 01, 2006 11:53 am Post subject:
|
 |
|
Ok, you want the long answer that maybe is not an answer, I hope :-)
This was possible with the 2.1 editor (and before), not with 3.0x IIRC ... it was something like "editorrname /a filename" for slot a etc. It was not hard to guess as the editor install installed "send to" shortcuts for the right mouse popup menus for pch files. The 303 editor didn't do that anymore and it didn't work either.
For the noodle show I did in London once which was on the NM classic 3.03 I had to pre-store the files and then select them through MIDI, that was pretty disappointing, hmm not so pretty actually.
For the G2 it is possible to send patches over MIDI, but not for the Classic ... however ... that is ... the NM open project has some pointers on how to do this over the PC port (it can't be done over the normal/user MIDI port: that was supposed to be a feature for 4.x, you know the dead born baby).
When you're up to some exercises with the gnu C compiler (and when it must run under windows with cygwin as well) and maybe customize the code a bit... For Linux there are MIDI drivers availble, for PC maybe (but there is a "should be working kludge" "for sure" using "a certain TCP/IP to MIDI convertor").
Anyway .. NM Open or yet another reason to downgrade. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
cappy2112

Joined: Dec 24, 2004 Posts: 2494 Location: San Jose, California
Audio files: 2
G2 patch files: 1
|
Posted: Thu Jun 01, 2006 8:39 pm Post subject:
Re: calling the nm editor from the prompt. Subject description: Syntax? |
 |
|
Kassen wrote: | Does anybody know wether there is any documented syntax for calling the NM editor from the prompt? I tried extentions like "/?" and "--help" but that doesn't work. What I'd like to do is call it from another program and have it load files in known slots (and so known midi channels) without needing manual interference.
Jan? You must have some way of loading files for your noodle radio? |
Calling the app from another program is pretty easy.
Getting the patches to load in specific slots isn't easy.
1. The Modular editor is not really much different from any other Windows application (in the most generic sense ).
As such, most executables can be executed from the command line if
1. The executable is in your current directory
2. Is in your path.
3. If it is not in your path or current directory,AND you supply it a fully qualified path, you can run any application, and pass it arguments on the command line.
I didn't have the editor on the computer I'm using to post this message, so I installed it, added it to my path via Control Panel, and executed it from a DOS window (the command line, as you referred to it).
Additionally, I passed it the name of a patch, and it was loaded into the editor, but I don't have my modular connected to this machine, but that's not an issue. I could see the patch in the editor.
Which version of Windows are you using ?
I did this in XP, but the procedure is the saem for Windows 2000, slightly different for 98.
If you don't want to edit your path, open a CMD prompt (DOS window) and do this- just to test it
Path=%PATH%;C:\KassenPatches
now type path by itself
You should see your previous path, with C:\KassenPatches appended to it.
Do the same thing with the path to the Modular Editor
then type Modular_Editor3_03, and it should launch, assuming you didn't make any typos
Beware, when you close the window, all this stuff vaporises, so you need to add it to Control Panel to make it permanent- and you can do it on a per-user basis, or for everyone.
Does this help ? |
|
Back to top
|
|
 |
Kassen
Janitor


Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Fri Jun 02, 2006 4:36 pm Post subject:
|
 |
|
Thanks, guys.
I'm on XP sp1 here.
Paths aren't realy a issue, I can hard-link or I could simply include some dirs in the path. Executing arbitrary commands that could be typed on the prompt isn't a issue either. Right now I don't have a Nord or a midi port around (not at home) but I'm getting the impression the comand line syntax of the 303 nm editor is very simple (to avoid the word "primitive"), what I'd like to have is patches opening in speciffic slots without needing manual involvement but I'm starting to suspect this means pre-stored patches only.
gcc and cygwin aren't that scary to me but not something I want to deal with right now because this project is already quite involved and I certainly don't need any extra questions in the order of magnitude of modifying yet unfinished programs. A downgrade might actually be the most realistic option, there is little to lose in simply trying. _________________ Kassen |
|
Back to top
|
|
 |
|