Download EM61000 Series V3.1
Transcript
Chapter 4 NOTE Use Build command to compile the recently modified instrument files only. Use Rebuild All command to compile all instrument files disregarding its recent change status. You can also manually select your own instrument files from your tone and/or percussion library and insert them into Tone and/or Percussion nodes in addition to or independent from midi supplied files. See Section 4.3.4 and 4.3.5 on how this is done. The same Build or Rebuild All command is used to compile the manually inserted instruments. 4.3.1 Building Voice Data Whenever the Build or Rebuild All command is executed, the EM60IDE will automatically accomplished the following tasks. Note that all the generated files will bear the same filename as that of the defined voice project name and are placed in the same folder where your project is located: 1. Collect the instruments from the MIDI files or the manually inserted instruments and translate them into melody codes. 2. Translate the text data (*.bin) and collects the binary (*.tbl) files 3. Create Voice Data File for downloading into the EM60000 ICE. The automatically created file is suffixed with *.vd. 4. Generate MIDI/data start address information, which can be included in your assembly source programs. 5. Create EPROM Data File for the type of EPROM you have defined in the New dialog setup for creating new project (see Section 4.2). If you have chosen the 4MB EPROM, the generated EPROM data file will be suffixed with *.v40 when the file size is within 512K. When file size exceeds 512K, a second data file will be created with a *.41 suffix. If the 8MB EPROM is chosen, the data file will be suffixed with *.v80. 4.3.1.1 Melody Code Header While compiling, the EM60IDE collects the melody and data codes and writes them to a voice data file. The melody codes has header containing information about the sampling and tempo. The first two bytes are the tempo information. The 3 MSB of the first byte is the MTC pre-scale value. You can write this value to MSR2 ~ 0 of prescale control register. The second byte is the MTC timer value. You can just write this value to the MTC timer counter register. By doing so, the correct MTC interval (corresponding to tempo speed) will be set up. 34 • Getting Started in Voice View Mode EM60000 Series IDE User’s Guide