MIDI track – Ylands

From Bohemia Interactive Community
Revision as of 11:57, 13 April 2021 by Rudy.cz (talk | contribs) (Created page with "= Overview = It is possible to import MIDI music tracks using the Music library. Custom tracks can be utilized in music playlists by Yl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

It is possible to import MIDI music tracks using the Music library. Custom tracks can be utilized in music playlists by Music preset or triggered trough Visual scripting.

Requirements & specifications

3rd party software

MIDI specifications

  • MIDI file contains information about channels (or programs - they contain the information about which instrument sound should be used), notes (their pitch, length and channel assignment) and other parameters (like note volume, composition's tempo and time signature).
  • We use a freely available General MIDI bank with 128 instruments "General User GS SoftSynth 1.44". You can download the bank here: http://www.schristiancollins.com/generaluser.ph
  • Each MIDI file can contain up to 16 channels and each channel can have 1 instrument assigned, that means you are limited to 16 instruments in one composition.
  • Your MIDI file's channels need to have a correctly set up instrument (with values 0-127 or 1-128 depending on your software), otherwise nothing will play.
  • MIDI file can have more than 16 tracks, which means that multiple tracks can go into 1 channel.
  • Important thing to keep in mind if you want to use percussion - 10th channel needs to be left with default sound (Acoustic Grand Piano) as that is the channel used for percussion (+ your notes have to be assigned to this channel of course). Some MIDI editors number channels 0 - 15 and some 1 - 16, but it is always the 10th channel reserved for percussion.
  • Notes in MIDI are called events, just like instruments are called programs.

MIDI preview

  • In order to preview your song with same instrument sounds that we use, you can use the VLC media player and download the MIDI bank that we use in Ylands.
    • Please note that if you simply play the MIDI file from Windows/Mac using any audio player, MIDI bank from your operating system will be used and that's the reason why it would sound differently.
  • VLC setup, g
    • Open Tools - Preferences. In the bottom, select All under Show settings. Then go to Input / Codecs - Audio Codecs - FluidSynth and there browse for the MIDI bank SF2 file.



Publishing to workshop

Important note

Local export (advanced user only)

See also