vsq(VOCALOID MIDI ファイル)
VOCALOID用のシーケンスデーター(曲)ファイル形式
フォーマットはMIDIを使用しているが、VOCALOID以外では再生できません。
ほとんどの情報はメタ情報として埋め込まれています。あとは
最初のトラックには、テンポ情報と拍子情報が入っています。
なので実際のトラック数 + 1のトラックがあります。
トラックには、メタイベントのコメントに分割されてメインなデーターが入っています。
メタには、最初にDM:0002:とかいうのが入っていますのが、これはメタのヘッダーなので省きます。
トラックの最後には、Shortメッセージとして、NRPN形式でデーターが入っています。
NRPNに関しては、マニュアルPDFの最後の方をご覧ください。
ただし、ない場合は自動で作られる見たいので、最初は気にしなくてもいいでしょう。
見てみるだけならば、MIDI APIがあればどうにかなると思います。
メモ帳
でvsqファイルを開いてみればわかると思いますがテキストとしてみても簡単です。
またMIDIを扱えるAPIがあれば、扱えそうです。
表示例
見やすいよう加工してあります
a文字、1音だけの例
[meta-title]Master Track [meta-tempo]120.0 4/4 metronome time=24 number of 32nd notes per MIDI quarter-note=8 [meta-track-end] [meta-title]Voice1 [Common] Version=DSB301 Name=Voice1 Color=181,162,123 DynamicsMode=1 PlayMode=1 [Master] PreMeasure=4 [Mixer] MasterFeder=0 MasterPanpot=0 MasterMute=0 OutputMode=0 Tracks=1 Feder0=0 Panpot0=0 Mute0=0 Solo0=0 [EventList] 0=ID#0000 7680=ID#0001 8160=EOS [ID#0000] Type=Singer IconHandle=h#0000 [ID#0001] Type=Anote Length=480 Note#=48 Dynamics=64 PMBendDepth=8 PMBendLength=0 PMbPortamentoUse=0 DEMdecGainRate=50 DEMaccent=50 LyricHandle=h#0001 [h#0000] IconID=$07010000 IDS=Miku Original=0 Caption= Length=1 Language=0 Program=0 [h#0001] L0="a","a",1.000000,0,0 [meta-track-end] Note Message:version number=0,device number=0 Note Message:delay in milisec=0,0,0 Note Message:bank select msb=0 Program Change:voice type=0 Note Message:version number=0,device number=0 Note Message:delay in milisec=15,80,2000 Note Message:note number=48 Note Message:velocity=64 Note Message:Note duration in millisec=3,116,500 Note Message:Top and End of Note Chunk:3 Note Message:number of phonetics symbols in bytes:1 Note Message:phoneticSymbol:'a' consonalnt adjustment:0 Note Message:end of phonetic symbols:127 Note Message:v1mean in Cent/5:4 Note Message:d1mean in millisec/5:8 Note Message:d1meanFirstNote in millisec/5:20 Note Message:d2mean in millisec/5:28 Note Message:d4mean in millisec/5:24 Note Message:pMeanOnsetFirstNote in Cent/5:10 Note Message:vMeanNoteTransition in Cent/5:12 Note Message:pMeanEndingNote in Cent/5:12 Note Message:AddscopeToIntervals=false AddPortamentoDownIntervales=false:0 Note Message:change after peak:0.390625:50 Note Message:Accent=0.0 :50 Note Message:end of note message:127
私のオープンソース プロジェクト
Eclipse RCP オープンソースプロジェクト
| akJ Betas
|akjava GWT Tools
| テキスト動画
サイト
Android情報サイト
|
教えて 掲示板 | Youtube サイト
| Google サイト
| 無料ソフト活用 サイト
|Picasa2 サイト
| GREYCstoration・Potrace
Blog
Android ブログ|
はてなダイアリー
Copyright (c)2004 - 2008 Aki. All rights reserved.