English / Japanese

# MIDITrail Ver.1.0.1 for iOS

Copyright (c) 2010-2014, WADA Masashi All rights reserved.
Web: http://sourceforge.jp/projects/miditrail/
Mail: yknk@users.sourceforge.jp

## 0. Contents

1. Introduction
2. System requirement
3. How to start
4. Usage
5. Setting
6. Restriction
7. Copyright and license
8. Appendix
9. History

## 1. Introduction

MIDITrail is a MIDI player which provides 3D visualization of MIDI data sets.
You can enjoy not only listening but also viewing.
MIDITrail is available for Windows, Mac OS X and iOS.

Screenshot: PianoRoll3D
Screenshot: PianoRollRain

## 2. System requirement

Device: iPad, iPhone, iPod touch
OS: iOS 5.1

When the MIDI data sets contains a great number of notes, MIDITrail needs more performance graphics.

## 3. How to start

### (1) Preparing MIDI files

MIDITrail supports Standard MIDI File (Format0/1).
You have to transfer MIDI files to your iOS device from Mac or PC.
Connect your iOS device to Mac or PC, and launch iTunes. Then you can transfer MIDI files using 'File Sharing'.

### (2) Preparing Sound module

MIDITrail does not have software synth.
You have to prepare sound module which supports CoreMIDI.
There are two ways as shown below:

The first way is to connect MIDI interface device and external sound module.
(e.g. iRig MIDI, i-MX1, etc.)

The second way is to use Synth App which supports 'Virtual MIDI Port' and 'Background Mode'.
(e.g. bs-16i, etc.)

When you finished preparing sound module, launch MIDITrail and select MIDI OUT device.

## 4. Usage

### (1) Selecting MIDI File

When you select 'MIDI Files' tab, MIDI files stored in your iOS device will be displayed.
You have to transfer MIDI files to your iOS device from Mac or PC in advance.
When you touch a MIDI file, MIDITrail will load the file and open the main screen.

### (2) Main Screen

You can start and stop music by touching buttons.

You can move the camera by swiping screen.

### (3) MIDI IN Monitor

When you select 'MIDI IN Monitor' tab and touch 'Start Monitoring' button, MIDItrail will open the main screen.
You can see data sets received from MIDI IN device in real time on the main screen.
You have to select the MIDI IN device for monitoring in advance.
If you enable the MIDITHRU, MIDITrail will send data sets received from MIDI IN to MIDI OUT while monitoring.
NOTE: MIDITrail can not record data sets received from MIDI IN.

## 5. Setting

When select 'Setting' tab, setting items will be displayed.

### (1) View Mode

Select view mode.

### (2) Display Item

Select items which display in main screen.

### (3) MIDI OUT Device

Select MIDI OUT device.

### (4) MIDI IN Device

Select MIDI IN device for monitoring.

### (5) MIDI IN Monitor

MIDITHRU: MIDITrail will send data sets received from MIDI IN to MIDI OUT while monitoring.

### (6) MIDI File

Character Encoding: Select character encoding of MIDI file. That will be used when display the title of MIDI file.

## 6. Restriction

### (1) Synchronization of MIDI sound and display

If you use the sound module which delays sound, the sound and display may not synchronize.

### (2) Performance of graphics

MIDITrail renders all notes of the MIDI file in real time.
If the MIDI file has a great number of notes, the load of rendering becomes high.
In order to enjoy the MIDI file which contains tens of thousands of notes comfortably, you have to use iOS device which has high performance graphics.

### (3) Multiple ports

In specification of SMF (Standard MIDI File), a method to select port is not defined.
However there is the unofficial method (*1) to select port. MIDITrail supports that method, but may be unable to play the MIDI file. It depends on the MIDI file.
MIDITrail sends MIDI data sets of first port to MIDI OUT device.
(*1) Meta event (FF 21 01 pp) is the command to select port.

### (4) Time format of Standard MIDI File

MIDITrail can't open the MIDI file whose delta time represents actual time.

## 7. Copyright and license

WADA Masashi holds the copyright of MIDITrail.
MIDITrail is released under the BSD license.

Copyright (c) 2010-2014, WADA Masashi <yknk@users.sourceforge.jp> All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

## 8. Appendix

### (1) Structure of 3D piano roll visualization

(a) The structure of "Piano roll 3D" visualization

When MIDITrail open the MIDI data sets uses multiple ports, unused port will be not displayed.
For example, if the MIDI data sets uses port A, C and E, MIDITrail displays port A, C and E side by side, and omits port B and D.

(b) The structure of "Piano Roll Rain" visualization

When MIDITrail open the MIDI data sets uses multiple ports, only piano keyboards of port A will be displayed.
However piano roll bars of all ports will be displayed.

### (2) Pitch Bend Motion

The piano roll bar will move with change of pitch bend.
Some MIDI animation works are using pitch bend to shift the piano roll bars without change keys.
If the MIDI animation is not displayed correctly, please disable the 'Pitch Bend Motion' to fix the piano roll bars.

## 9. History

Date | Version | Changelog
--- | --- | ---
2012/03/17 | Ver.0.0.0 | Development start. It based on the source code of MIDITrail Ver.1.2.0 for Mac OS X.
2012/08/05 | Ver.1.0.0 | First formal release for iOS. #29179 MIDITrail for iOS development.
2014/01/19 | Ver.1.0.1 | #32933 Merged features of MIDITrail Ver.1.2.1 for Mac OS X #32367 Added view mode "Piano Roll Rain 2D" #32427 Added note color assignment to active key #32915 Added support for iPhone5 #32916 Added ability to import files from other apps #32941 Changed Base SDK to iOS6.1 #30548 Fixed bug. (At the start of playback, MIDI data transmission is blocked)