Skip to content

Custom Instrument Tracks

First, prepare a sound file in the Sound/Instrument folder, with filename using one of the following Sound ID:

In Game Instruments Sound ID
Instrument IDSound IDCNENJP
trumpettrumpet_practice喇叭trumpetトランペット
pianopiano_kanon三角钢琴grand pianoグランドピアノ
piano2piano_neko钢琴pianoピアノ
piano_killkillpiano_neko杀杀钢琴kill kill pianoキルキルピアノ
piano_gouldpiano_gould古尔德钢琴Gould's pianoグールドのピアノノ
harpsichordharpsichord_goldberg大键琴harpsichordチェンバロ
guitar_ashguitar_caccini阿什的吉他Ash's guitarアッシュのギター
guitar_efrondguitar_dusk埃夫隆德的吉他Efrond's guitarエフロンドのギター
guitarguitar_air吉他guitarギター
harpharp_komori竖琴harpハープ
pantyviolin_chaconne内裤pantyパンティー
luteguitar_sad鲁特琴luteリュート
shield_luteguitar_sad乌德琴Al'udアル・ウード
recorderrecorder竖笛recorderリコーダー
fluteflute长笛fluteフルート
taikotaiko太鼓taiko太鼓
drumdrumdrum
mokugyomokugyo木鱼wooden gong木魚
tambourinetambourine铃鼓tambourineタンバリン
micmic_rachmaninoff麦克风micマイク
cellocello_prelude大提琴celloチェロ
instrument_violinviolin_chaconne小提琴violinヴァイオリン
pantyviolin_chaconne小提琴pantyパンティー
stradivariusviolin_furusato斯特拉迪瓦里stradivariusストラディバリウス
kotokoto古筝koto
saxtrumpet_practice萨克斯saxサックス

If you are making a new instrument, use instrument's ID (Thing ID) as Sound ID.

Launch the game once to generate a metadata json file for the newly added sound, exit game, edit the metadata json to use "type": BGM, and add some parts for the instrument play:

cello_prelude.json
json
{
    "type": "BGM",
    "id": -1,
    "loop": 0,
    "minInterval": 0.0,
    "chance": 1.0,
    "delay": 0.0,
    "startAt": 0.0,
    "fadeAtStart": false,
    "fadeLength": 0.0,
    "volume": 0.5,
    "volumeAsMtp": false,
    "allowMultiple": true,
    "skipIfPlaying": false,
    "important": false,
    "alwaysPlay": false,
    "noSameSound": false,
    "pitch": 1.0,
    "randomPitch": 0.0,
    "reverbMix": 1.0,
    "spatial": 0.0,
    "bgmDataOptional": {
        "day": false,
        "night": false,
        "fadeIn": 0.1,
        "fadeOut": 0.5,
        "failDuration": 0.7,
        "failPitch": 0.12,
        "pitchDuration": 0.01,
        "parts": [
            {
                "start": 0.0,
                "duration": 4.0
            },
            {
                "start": 4.0,
                "duration": 4.0
            },
            {
                "start": 8.0,
                "duration": 4.0
            },
            {
                "start": 12.0,
                "duration": 4.0
            },
            {
                "start": 16.0,
                "duration": 4.0
            }
        ]
    }
}

Each part has a start timestamp and a duration in seconds. Parts will be randomly selected during instrument play.

This project is an unofficial documentation site and is not affiliated with, endorsed by, or associated with Elin or Lafrontier / Noa. All trademarks are the property of their respective owners.