NoteWorthy Software, Inc.
2014-04-17 02:23 PM *
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: smf-ice.vbs - Utility to show initial MIDI controller events  (Read 15535 times)
Rick G.
Virtuoso
« on: 2009-05-14 05:08 PM »

When NoteWorthy imports a MIDI file, it ignores many events in the file. This may result in NWC playback that is quite different than the MIDI file. smf-ice.vbs is an attempt to correct some of this.

smf-ice.vbs reads a Standard MIDI File (smf) and creates a nwctxt file containing the Initial Controller Events (ice) for controllers that NWC2 supports and launches the nwctxt file. It will overwrite/append any existing nwctxt file. It makes no attempt to delete the nwctxt file it creates.

To use it:
  • download the attached file
  • remove ".txt" from the end of the filename
  • create a shortcut to it
  • drag and drop a MIDI file onto the shortcut

If there are any qualifying events in the MIDI file, this should launch NWC2 and display them. The MIDI channel is displayed on the left. Volume and Stereo pan, if found, are also added to the Score Review display. This allows a for quick overview.

If you have already imported the MIDI file into NWC2, you can export it as 'NWC Text File' to the same folder as the MIDI file. Running smf-ice.vbs will then append staves with added controller objects to your nwctxt file. This is a quick way to hear the impact of the added events.

Some objects may appear in red. These are events that occur after the beginning of the track but before the first note in the track. These may not be correct as other tracks using the same MIDI channel may have notes sounding prior to these controller events.

Technical Notes
  • The MIDI file must have an extension of 'mid', 'kar' or 'rmi'. These are the only extensions allowed by NWC2 for MIDI Import.
  • Type 2 MIDI files are not supported. You are unlikely to have any Type 2 MIDI files.
  • Tempo and Pitch Bend are ignored as they are not Controllers
  • Hold Pedal (Controller 64) is ignored. NWC2 will import it as Sustain Pedal*
  • If you find a MIDI file that smf-ice.vbs does not decode properly, consider emailling it to me.

*if enabled by the MIDI Import Wizard
Quote from: nwc2.hlp->IDH_DLGIMPORT3
When opening a MIDI file, the program can convert sustain pedal events directly into standard music notation. This option enables this conversion. In many cases, it is desirable to disable the automatic inclusion of this data, since it can detract from the overall visual quality of the final score.

* smf-ice.vbs.txt (4.13 KB - downloaded 957 times.)
« Last Edit: 2009-05-19 05:51 PM by Rick G. » Logged

Registered user since 1996
Rick G.
Virtuoso
« Reply #1 on: 2009-05-16 06:01 AM »

The attached graphic shows a typical display.
This is from canyon.mid which should be in your Windows\Media folder.

Staff thru Staff-7 is from NWC2's MIDI import and shows the initial instrument patches. Only Staff-7 is shown in the picture.

Staff-8 thru Staff-14 are generated and added by smf-ice.vbs
Note that all the initial volumes are incorporated into Score Review, but Pan is reflected only in Chnl 2. This is the only channel where 'Stereo Pan' occurs at the beginning of the track.

canyon.mid is fairly simple. Each channel has its own track so you can be certain that all the MPC's are valid. In a more complex MIDI, MPC's shown in red might need to be deferred to later in the song.

The song sounds much better with the added MPC's


* smf-ice.png (8.43 KB, 614x504 - viewed 1416 times.)
« Last Edit: 2009-06-05 08:20 PM by Rick G. » Logged

Registered user since 1996
Pages: [1]   Go Up
  Print  
 
Jump to:  

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

Copyright © 2014 Noteworthy Software, Inc.