重要公告 (Announcement)

Tuesday, October 20, 2026

遊戲配樂作曲工具 Game Music Composer

遊戲配樂作曲工具Game Music Composer

輸入 1–5 首參考歌曲,分析曲風後生成近似風格的原創配樂。全部在瀏覽器內執行,音樂檔不會上傳到任何伺服器。Load 1–5 reference songs, analyse their style and generate original music in a similar style. Everything runs in your browser; your audio is never uploaded.

⚙設定Settings

自訂按鍵Custom keys

點選按鍵欄位後按下新按鍵即可設定;Esc 取消、Backspace 清除。設定保存在此瀏覽器。Click a key box, then press the new key. Esc cancels, Backspace clears. Settings are saved in this browser.
暫存空間管理Storage
本工具佔用:This tool uses:
音訊快取(原曲、伴奏、人聲)Audio cache (songs, instrumental, vocals): 音色庫快取Instrument bank cache: 分析資料與工作階段Analysis data and session:

1輸入歌曲Input songs

音訊快取:Audio cache:
支援 MP3 / WAV / M4A / OGG / FLAC,每首最長處理 10 分鐘。權重越高,該曲對風格的影響越大。讀入分析檔可直接略過第 2 步。MP3 / WAV / M4A / OGG / FLAC, up to 10 minutes per song. A higher weight gives that song more influence on the style. Loading an analysis file skips step 2.

2去除人聲(批次佇列)Vocal removal (batch queue)

儲存Save
逐首處理以節省記憶體:先以立體聲比對快速分離,伴奏用於分析和聲、律動與樂器,人聲用於擷取旋律特徵。AI 分離首次需下載約 67 MB 模型(之後快取),速度視電腦效能而定。選「不去人聲」時直接以原曲分析(適合純音樂或伴奏版),速度最快。可在每首歌的波形上拖曳,只分析其中一段(例如戰鬥高潮),最長 10 分鐘。分析完成後伴奏與人聲以原始取樣率保留,可試聽,或按每首歌的「儲存」選擇格式後下載;來自分析檔的歌曲按試聽或儲存時,會請你選擇原曲並自動去人聲;勾選「在瀏覽器暫存」時,原曲與伴奏 / 人聲會存在本機瀏覽器,重新整理後自動還原。Songs are processed one at a time to save memory: a fast stereo split first; the instrumental feeds harmony, groove and instrument analysis, the vocals feed melody features. AI separation downloads a ~67 MB model once (cached); speed depends on the computer. Choose No vocal removal to analyse the original mix directly (best for instrumentals; fastest). Drag on each song's waveform to analyse only part of it (e.g. the battle climax), up to 10 minutes. The instrumental and vocals are kept at the original sample rate for listening, or press Save on a song to pick the format and download; for songs from an analysis file you are asked for the original and the vocals are removed automatically; with the browser cache on, the songs and their parts are stored locally and come back after a reload.

3曲風分析與比較Style analysis & comparison

信心度低(紅 / 黃)時請確認:可能是半速 / 倍速、關係大小調混淆或拍號誤判。可直接修改 BPM、調性與拍號,修正後會重新計算並存入分析檔。Low confidence (red / yellow) means please check: half / double tempo, relative major / minor or a wrong meter are common. You can edit BPM, key and meter; corrections are recomputed and stored in the analysis file.
兩兩相似度Pairwise similarity

合併後的風格檔案Merged style profile

曲風標籤與樂器預設以頻譜特徵啟發式判斷;選用 AI 辨識(YAMNet)時會結合模型結果(標示「AI」)。Genre tags and instruments are heuristic estimates from spectral features; with AI tagging (YAMNet) the model results are blended in (marked "AI").
分析檔為 JSON 純文字(.aemlstyle.json),不含任何音訊;預設只存統計與原創性指紋,不含原曲旋律。開啟「保存完整旋律音符」後原曲旋律會寫入檔案,分享前請留意原曲著作權。The analysis file is plain JSON (.aemlstyle.json) without any audio; by default it holds statistics and originality fingerprints, not the original melodies. With "save the full melody notes" on, the original melodies are written into the file; mind the copyright of the originals before sharing it.

4作曲參數Composition parameters

(選一個場景即一次設定 8 項參數;設為「自動」的項目才會被場景覆寫)(a scene sets all 8 parameters at once; only items left on Auto are overridden)
長度Length
–
節奏Rhythm
旋律Melody
和聲Harmony
主律動Foundation
旋律線Lead
襯底音Pad
填音Fill
編制層次Arrangement
旋律、和聲與音色細節Melody, harmony and sound details
AI 旋律模型為 Google Magenta 的 ImprovRNN(依和弦即興的 LSTM 神經網路,約 5 MB,加上程式庫約 2.5 MB,首次使用時下載)。它依本工具產生的和弦進行寫出主旋律,其餘聲部仍由編曲引擎完成。目前沒有可在瀏覽器執行、50 MB 以下的公開 Music Transformer 模型,因此採用這個體積小、以和弦為條件的模型。The AI melody model is Google Magenta's ImprovRNN (a chord-conditioned LSTM, ~5 MB plus a ~2.5 MB library, downloaded on first use). It writes the lead over the chords this tool generates; the arrangement engine writes the other parts. There is no public browser-ready Music Transformer under 50 MB, so this small chord-conditioned model is used instead.
自訂格式:以 - 分隔段落,例如 Intro-A-A-B-A-Outro;可用 A:4 指定該段小節數。自訂結構時長度由結構決定。Custom format: sections separated by -, e.g. Intro-A-A-B-A-Outro; A:4 sets that section's bar count. With a custom structure the length follows the structure.
主旋律 MIDIMelody MIDI
匯入後主旋律固定使用你的 MIDI(取最高聲部、量化到 16 分音符),工具依旋律自動配和弦、貝斯、鼓與其他聲部;速度、拍號、調性取自 MIDI,除非另行指定。The imported melody (top voice, quantised to 16ths) is kept; the tool harmonises it and writes the bass, drums and other parts. Tempo, meter and key come from the MIDI unless you set them.

5生成與試聽Generate & preview

0:00 / 0:00
樂器音色(真實取樣)Instrument sounds (real samples)
以真實樂器錄音取樣取代合成音色:General MIDI 音色庫(MusyngKite / FluidR3)、Salamander 平台鋼琴、取樣鼓組。第一次使用需下載(每種樂器約 0.3–1.5 MB),之後存在瀏覽器、可離線使用。試聽與匯出使用同一組音色。Recorded instrument samples replace the synth voices: General MIDI libraries (MusyngKite / FluidR3), the Salamander grand piano and sampled drum kits. Downloaded once (about 0.3–1.5 MB per instrument), then kept in the browser and usable offline. Preview and export use the same sounds.
本曲各樂器的音色(可換成同類的其他樂器;綠色=真實取樣、灰色=合成器):Sound of each instrument in this song (swap for a related instrument; green = sampled, grey = synth):
鼓組取樣含大鼓、小鼓、Hi-hat、筒鼓;銅鈸與手鼓類仍為合成。音色檔案來源:gleitz/midi-js-soundfonts、Tone.js audio(Salamander、drum-samples)。Drum kits sample kick, snare, hi-hat and toms; cymbals and hand percussion stay synthesized. Sources: gleitz/midi-js-soundfonts, Tone.js audio (Salamander, drum-samples).
多軌聲部圖與音符編輯Multi-track view and note editor
上方:各聲部即時發聲狀態(亮燈=正在發聲,點一列可選取該聲部並跳到該處)。下方:所選聲部的鋼琴卷簾。Top: which parts are sounding right now (lit = sounding; click a row to pick that part and jump there). Bottom: piano roll of the chosen part.
點音符選取,上下拖曳改音高、左右拖曳移位置(對齊 16 分音符);雙擊空白處新增音符;Delete 刪除、方向鍵微調、Ctrl+Z 復原;紅框=調外音(可能走音)。修改會立即重新算繪並套用到匯出與 MIDI。Click a note to select; drag up / down for pitch, left / right to move (16th grid); double-click empty space to add; Delete removes, arrow keys nudge, Ctrl+Z undoes; red outline = outside the key (may sound off). Edits are re-rendered at once and used for export and MIDI.
段落編排表Section arrangement grid
逐段開關各聲部(取消勾選=該段不演奏),變更後自動重新算繪。Switch each part on or off per section (unticked = silent there); re-renders automatically.
鎖定的聲部在「重新生成」時保持不變;鎖定旋律、和聲、貝斯或襯底音時和弦進行也會一併保留。Locked parts stay unchanged on "Regenerate"; locking the lead, harmony, bass or pad also keeps the chord progression.
局部重生Partial regeneration

生成記錄History

保留最近 12 次結果:可載入、設為 B 做 A/B 比較,或加入最愛(最愛不會被自動清除)。The last 12 results are kept: load one, set it as B for A/B comparison, or mark it as a favourite (favourites are never auto-removed).

6輸出音樂檔Export audio

0:00 / 0:00
MIDI 匯出(給 DAW / VST 音源)MIDI export (for your DAW / VST instruments)
依目前混音台的靜音 / 獨奏與段落編排表輸出;鼓組在第 10 聲道(GM 鼓組對照),含速度、拍號、調號、段落標記與循環點。Follows the mixer mute / solo and the section grid; drums on channel 10 (GM drum map), with tempo, meter, key, section markers and loop points.
全部在瀏覽器內編碼。開啟無縫循環時,循環點寫入 WAV 的 smpl 區塊或 OGG / FLAC 的 LOOPSTART 標籤,並另存一份循環點文字檔(_loop.txt)。檔案中繼資料會寫入作者與工具名稱。輸入歌曲的著作權屬原作者;本工具只學習風格,並以原創性檢查避免旋律雷同。Encoded entirely in your browser. With a seamless loop the loop points go into the WAV smpl chunk or the OGG / FLAC LOOPSTART tags, plus a loop-point text file (_loop.txt). Author and tool name are written into the file metadata. The input songs remain the property of their authors; the tool learns only the style and an originality check prevents melodic copies.

7輸出樂譜Sheet music

0:00 / 0:00
生成的曲子本身就是音符資料,樂譜與 MIDI 完全精確。MusicXML 為多聲部(含鼓譜),可用 MuseScore、Finale、Sibelius 開啟;多音軌 MIDI 的鼓組在第 10 聲道,可直接匯入 DAW 或遊戲引擎。The generated piece is note data, so score and MIDI are exact. MusicXML is multi-part (including a drum staff) and opens in MuseScore, Finale or Sibelius; the multi-track MIDI keeps drums on channel 10 for DAWs and game engines.
© 2026 AEML, NTUST 國立臺灣科技大學 營建工程系National Taiwan University of Science and Technology · v1.6

No comments:

Post a Comment

天氣與交通 (local weather and traffic)

TAIPEI WEATHER