Skip to main content
Topic: Coverting midi to NWC (Read 3652 times) previous topic - next topic

Coverting midi to NWC

Hey guys.... In my work it would be helpful to be able to convert midi files to NWC. Problem is, when NWC does the conversion, the rhythms are a confusion of 32nd notes tied to eighth notes, etc.... totally unreadabe (and playback on NWC is all botched). Is there a way to make this not happen?

Re: Coverting midi to NWC

Reply #1
NWC doesn't know that a note is a triplet, just how long it's duration is.  Some user tools will convert an entire staff such as this one on the nwc-scriptorium.org website.
Since 1998

Re: Coverting midi to NWC

Reply #2
In addition to Warren's advice, you also have to look out for when a midi piece actually has a pick up note instead of a whole measure at the start of the piece. This would throw out all of the measures and make the notes not accord with the supposed time sig.

Where this happens, if you recognise it, then you can manually enter rests at the beginning such that the first measure would be of a correct length for the time sig. (Do not try to correct the bar lines - remember the midi file does not have bar lines). Then export to midi and re-import. This will cure many of the problems.
Rich.

 

Re: Coverting midi to NWC

Reply #3
I had not used the tripletise.php tool before, using a macro on my text editor instead.  I just tried to install that tool but the first time I just got a fail message.  When I added the prompts and highlighted some of the staff, the user tool just hanged.  This is part of my ini file now:
Code: [Select · Download]
Ranges (adp)=php\php.exe scripts\adp_Ranges.php <PROMPT:Enter your range option:=|none|separate|help>
Transpose Chords (adp)=php\php.exe scripts\adp_TransposeChords.php <PROMPT:Enter your transpose options:=*help>
Bar Number Demo (nwsw)=php\php.exe scripts\nwsw_BarNumberDemo.php
Accidentals From Grace=php\php.exe scripts\graceacc.php
Accidentals From RickG=WScript Scripts\Audit1.vbs
Tripletize=php.exe scripts\tripletize.php <PROMPT:Result value:=8,4,16,32> <PROMPT:1st note:d16,d8,d32> <PROMPT:2nd note:d16,d8,d32> <PROMPT:3rd note:16,8,32>
and some sample data:
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Rest|Dur:16th,Dotted
|Note|Dur:16th,Dotted|Pos:-2|Opts:Stem=Up,Beam=First
|Note|Dur:16th|Pos:-1|Opts:Stem=Up,Beam=End
|Note|Dur:16th,Dotted|Pos:0|Opts:Stem=Down,Beam=First
|Note|Dur:16th,Dotted|Pos:2|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:1|Opts:Stem=Down,Beam=End
|Note|Dur:16th,Dotted|Pos:1|Opts:Stem=Down,Beam=First
|Note|Dur:16th,Dotted|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:2|Opts:Stem=Down,Beam=End
|Bar
|Note|Dur:16th,Dotted|Pos:2|Opts:Stem=Down,Beam=First
|Note|Dur:16th,Dotted|Pos:5|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:4|Opts:Stem=Down,Beam=End
|Note|Dur:16th,Dotted|Pos:5|Opts:Stem=Down,Beam=First
|Note|Dur:16th,Dotted|Pos:2|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam=End
|Note|Dur:16th,Dotted|Pos:-2|Opts:Stem=Up,Beam=First
|Note|Dur:16th,Dotted|Pos:-1|Opts:Stem=Up,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Up,Beam=End
|Bar
|Note|Dur:16th,Dotted|Pos:1|Opts:Stem=Down,Beam=First
|Note|Dur:16th,Dotted|Pos:2|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:3|Opts:Stem=Down,Beam=End
|Note|Dur:16th,Dotted|Pos:2|Opts:Stem=Down,Beam=First
|Note|Dur:16th,Dotted|Pos:1|Opts:Stem=Down,Beam
|Note|Dur:16th|Pos:0|Opts:Stem=Down,Beam=End
|Note|Dur:16th,Dotted|Pos:-1|Opts:Stem=Up,Beam=First
|Note|Dur:16th,Dotted|Pos:0|Opts:Stem=Up,Beam
|Note|Dur:16th|Pos:-2|Opts:Stem=Up,Beam=End
|Bar
!NoteWorthyComposerClip-End

TIA
Since 1998

Re: Coverting midi to NWC

Reply #4
When I added the prompts and highlighted some of the staff, the user tool just hanged.
Command: php\php.exe Scripts\tripletise.php 8 d16 d16 16
seems to work just fine with your clip.

Tripletise is <here>. Download the link: v1.1.1
Registered user since 1996

Re: Coverting midi to NWC

Reply #5
Found it!  I had =php.exe   instead of php\php.exe       in my ini file.  Thanks, Rick!
Since 1998