Coder Social home page Coder Social logo

mml2vgm's People

Contributors

knight-ryu12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mml2vgm's Issues

コマンドライン版(mvc.exe)の戻り値について

要望です。

vimから利用させてもらっていますが、エラー時にコマンドの戻り値を元に処理を分岐させたいです。
正常時は0が返ってくるようですが、エラー時に0以外が返ってくるような変更は可能でしょうか。

よろしくお願いします。

compiling on Mono

If someone tried to compile mml2vgm on Mono, and ran successfully on GNU/Linux (Ubuntu, for example), please let us know - .deb packages on Ubuntu PPA repositories are also welcome

mml2vgmIDEでAY8910を使用する際、エンベロープを設定するとエラーが発生する

mml2vgmIDEにてAY8910を使用した際に、エンベロープを設定すると以下のようなエラーが発生します。

Warning testAY8910.gwi 21 エンベロープを使用できない音源が選択されています。

ログウィンドウでは以下の通りになっています。

Start mml2vgm core

 テキスト解析
 PCM定義&取得
 MML文法解析
 Start VGM_GetByteData
 End   VGM_GetByteData

End mml2vgm core


Result

 Errors : 0
 Warnings : 6
 Total Clocks  : 6240
 Total Samples : 2729157.00(61.89s)

Finished.

少なくともTAG098では発生せず、TAG104では発生します。

mvc.exeでの曲情報定義内パート名定義エラーについて

mvc.exeで test\T0000_SongInfoDef.gwi のコンパイル時に以下のエラーが出ます。

Error : (F:T0000_SongInfoDef.gwi L:68)エンベロープ定義に指定された音色番号(110)が存在しません。

15行目からのパート設定をまるっと削除して、MML部を'F1~に変更するとエラー無くコンパイル出来たので、パート設定部に問題があると思われます。
修正対応お願いします。

パートカウンター表示不具合 YM2609(zgm)

パートカウンター表示不具合 YM2609(zgm)
・mute、soloが正常に動作していない。
詳細不明、要調査。
・オクターブ表示がおかしくなる
恐らく、コンパイル時の不具合。相対系コマンド(ボリュームも同様)を使用すると発生すると思われる。

sgq1205さんより

odd behavior with _ command

私は_コマンドで奇妙な動作を見つけていたので、先週、サポートされているほとんどのサウンドチップでテストしました。これが私が見つけたものです。
_を曲げに使用することは、HuC6280、K051649、およびYM2151ではサポートされていないようです。

pcm音源の場合:
1オクターブ未満のベンドは正常に機能します。ただし、ベンドが1オクターブ以上下がった場合、ベンドがcに達するとベンドにジャンプがあります。これは、vgm形式のほとんどのpcm音源で発生するようです。
これを防ぐには、ベンドを小さなベンドに分割し、&コマンドで接続します。各ベンドがオクターブ以下の場合、ベンドは滑らかに聞こえます。

ym2413では、cに達すると常にベンドにジャンプがあります。あなたが上に曲がっているか、下に曲がっているかは関係ありません。

オフライン環境で入力支援機能がエラーを返す

mmk2vgm_error
オフライン環境でTAG057版を使用していた所、入力支援機能が立ち上がった際に上画像のようにエラーが発生してしまいます。
入力支援機能で参照しているvalsound様への接続が完了しないエラーと思われますので、例えば
・入力支援機能を立ち上げた時点ではvalsound様を参照せずに、該当項目を選択した時点で接続を試行→アクセス可能な場合は現状と同じようにパッチを参照し、アクセスできない状況の場合はアラートを出す
といった挙動であれば両立できるのではないかと思います。
ご検討宜しくお願い致します。

when HuC6280 should be silent

HuC6280で小さな異常を見つけました。
沈黙が必要なときに音が聞こえます。
たとえば、rコマンド中、またはエンベロープの有効期限が切れたとき。かすかな音がまだ聞こえます。
何が起こっているのかを知るのに役立つ場合に備えて、データを送信しています。
http://www.fileconvoy.com/gf.php?id=g633cf20bc5e782571000198846.13182438e9a1eaf4666fa22&sts=157001800117455662114966dff16477d8b2e67c321e1d785200

連符コマンドが欲しい

「{」、「}」指定音長を中括弧で括った音符の数で割った音長で鳴らす機能が欲しい。


{cde}4
  c12d12e12 と同意
{{cd}cd}2
c12d12c6d6 と同意(ネスト可能)
{cdefg}4
c20d20e20f20g20と同意
※上の例はどれも分解能によっては、クロック数が割り切れないため音長に違いがある場合が存在する

条件(コマンドの仕様)
 ・中括弧内で音長指定はできないものとする
 ・中括弧閉じの音調指定は省略でき、省略した場合は「l」や「#」で設定した音長になる。
 ・ネスト可能とする。(中の中括弧は音長指定できない)
 ・&(音符指定のタイ)を使用可能
 ・他のコマンドも音長にかかわらない範囲で大体使用可能
 ・指定音長(クロック数)が音符数で割り切れない場合は余りを前から順に1クロックずつ割り振る。
 ・音符数が0の時はエラーとする。

LICENSE concern

Are those files authored and released under certain open source license? I know some classic emulator-based sound chip implementations are ported from non-free license code and these sources without licenses worry us.

mono環境でのパス表記について

mono環境(Debian)でmvc.exeでのコンパイル時に、サブディレクトリ配下のwav等が参照できません。
パスの表記を"\"ではなく、"/"にすると読み込めますので、"/"でもサーチするように修正して頂きたいです。

例:sample\test.gwi
読み込めない
'@ P 1,"wav\Guitar.wav", 8000, 100, C140, 1400

読み込める
'@ P 1,"wav/Guitar.wav", 8000, 100, C140, 1400

bugs with provisional QSound and K053260 support

こんにちは、
これはQSoundについてです。 QSoundのサポートは数日前に追加されただけで、暫定的なものであるため、問題が予想されます。
QSoundを使用すると、3つの問題が発生します。

  1. PCMトーン定義の再生レートが誤って解釈されます。数値を大きくすると、ピッチが低くなります。
    2.ループポイントの計算が間違っているようです。サンプルの開始からではなく、サンプルの終了から測定されます。
  2. C140ループポイントのバグはQSoundにあります。詳細については、https://github.com/kuma4649/mml2vgm/issues/18を参照してください
    必要に応じて、QSoundバグを示すファイルを作成します。
    また、K053260は非常に不安定です。私がそれをテストしようとすると、出力ファイルがVGMプラグインでWinampをクラッシュさせることがあります。ほとんどの場合、ノートは正しく再生されませんでした。何が起こっているのか本当に分からないので、何が起こるのか待って見ます。
    読んでくれて、このクールなプログラムを開発し続けてくれてありがとう!

QSound envelope behavior

QSoundエンベロープにバグを見つけました。
エンベロープでQSoundを使用している場合、v65535をエンベロープと共に使用する必要があります。別の番号を使用する場合、またはvをまったく使用しない場合、ボリュームは大量にラップします。
いくつかのデータをご覧ください。
http://www.fileconvoy.com/gf.php?id=g7d7f6a8c9b177a121000194997.1313023cc17ec6b7e9fc630&sts=1568346137174556621194da85b24ca2a8ae02916095c5be6c59
また、提案があります。
ARの間、音量は常に最大に達するまで増加します。ただし、最大音量に到達したくない場合は、新しいパラメーターを使用できます。
エンベロープは次のようになります。
いいえ、SV、AR、AL、DR、SL、SR、RR、ST、ChipName
これは、音量が大きすぎると簡単に歪んでしまう音源を扱うのに便利です。しかし、他の用途があるかもしれません。
グローバルに実装するのがどれほど簡単かはわかりません。また、古い.gwiファイルとの互換性の問題を引き起こす可能性があります。

Lコマンドの挙動について

「L」コマンドのループは任意のパートで指定するだけで、全てのパートに適用されるようですが、ディレイ等でクロック数を増加させている場合は当該パートの最後でディレイ分のクロックを削減する等の処理が必要となるのでしょうか?

sgq1205さんより

rf5c164 bug and request

rf5cでエンベロープを使用すると、バグが発生する可能性があります。
次のメモの前にRRの有効期限が切れていない場合、サンプルは適切にキーオフされません。
以下にデータを示します。
http://www.fileconvoy.com/gf.php?id=g6af80e9df0ed09c21000201677.1322601e9d4f2cbc9c23127&sts=1571229911174556621140abf687886604815a08b5cde419bddd

また、rf5cに関するリクエストがあります。
o3 cは8KHZに固定されています。 qsoundとc140でできるのと同じ方法でこれを変更することは有益だと思います。これは可能ですか、それとも難しすぎますか。
ありがとう。

C140 loop point bug?

	I cannot speak Japanese, so I'm using Google Translate to provide Japanese text if it helps.

I am trying to use the c140 chip in mml2vgm, but I believe I have found a bug. I am having problems inserting the loop points into the samples.
When I play the first sample, everything sounds the way it should. But when I play the second sample, the first sample is included in the loop. I have not managed to find a way to get the second sample to loop correctly. I haven't tried adding more samples.
I'm very new to mml2vgm though, so I might be doing something wrong. I've attached a zip file that shows what I'm doing, if it would help figure out what's going on.
If you could help me, it would be greatly appreciated. Thank you so much and have a great day!

私は日本語が話せないので、日本語のテキストを提供するためにGoogle Translateを使っています。
mml2vgmでc140チップを使用しようとしていますが、バグが見つかったと思います。サンプルにループポイントを挿入するのに問題があります。
私が最初のサンプルを演奏するとき、すべてはそれがあるべきように聞こえます。しかし、2番目のサンプルを演奏すると、最初のサンプルがループに含まれています。 2番目のサンプルを正しくループさせる方法を見つけることができませんでした。もっとサンプルを追加してみませんでした。
私はmml2vgmに非常に新しいです、それで私は何かが悪いことをしているかもしれません。何が起こっているのか理解するのに役立つなら、私は自分のしていることを示すzipファイルを添付しました。
あなたが私を助けることができれば、それは大歓迎です。どうもありがとうございました、素晴らしい一日を!

TAG099以降のmml2vgmIDEで、コンパイルと再生が動作しない

TAG099以降のmml2vgmにて、TAG098までで正常に動作したコンパイルと再生(エミュレーション)が正常に動作していないようです。報告時点の最新リリースのTAG103でも発生している様子です。
少なくともAY8910, K051649, YM2612で発生しています。

症状としては、F5キー押下、メニューバーからの操作のどちらを使用しても再生がなされませんでした。
音声出力ドライバーを色々と切り替えて試しましたが、WaveOut, DirectSound, WasapiOut, AsioOutのいずれを使用しても解決しない状態です。
TAG098では、上記すべての音声出力ドライバーでの再生を確認できました。

動作環境を以下に記します。

OS - Windows 10 Pro 1809 (ビルド番号: 17763.678)
CPU - AMD A10-7850K
RAM - 8GB
音声デバイス - Focusrite Saffire 6 USB

tried to compile with Mono’s xbuild

what i got was this:
`
guest@macbookair:~/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm$ xbuild /p:Configuration=Release mml2vgm.csproj
XBuild Engine Version 14.0
Mono, Version 4.6.2.0
Copyright (C) 2005-2013 Various Mono authors

Build started 6/27/2017 9:00:11 AM.


Project "/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/mml2vgm.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: AnyCPU
Created directory "bin/Release/"
Created directory "obj/Release/"
Target ResolveAssemblyReferences:
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Windows.Forms' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5/, assembly named 'System.Windows.Forms' not found.
For searchpath {PkgConfig}
Considered System.Windows.Forms, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Windows.Forms, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Windows.Forms' as a file, but the file does not exist
For searchpath bin/Release/
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Windows.Forms' as a file, but the file does not exist
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Windows.Forms.exe' as a file, but the file does not exist
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Windows.Forms.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Data.DataSetExtensions' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5/, assembly named 'System.Data.DataSetExtensions' not found.
For searchpath {PkgConfig}
Considered System.Data.DataSetExtensions, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Data.DataSetExtensions, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Data.DataSetExtensions' as a file, but the file does not exist
For searchpath bin/Release/
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Data.DataSetExtensions' as a file, but the file does not exist
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Data.DataSetExtensions.exe' as a file, but the file does not exist
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Data.DataSetExtensions.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.CSharp' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5/, assembly named 'Microsoft.CSharp' not found.
For searchpath {PkgConfig}
Considered Microsoft.CSharp, but could not find in any pkg-config files.
For searchpath {GAC}
Considered Microsoft.CSharp, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'Microsoft.CSharp' as a file, but the file does not exist
For searchpath bin/Release/
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/Microsoft.CSharp' as a file, but the file does not exist
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/Microsoft.CSharp.exe' as a file, but the file does not exist
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/Microsoft.CSharp.dll' as a file, but the file does not exist
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Net.Http' not resolved
For searchpath {CandidateAssemblyFiles}
Warning: {CandidateAssemblyFiles} not supported currently
For searchpath {HintPathFromItem}
HintPath attribute not found
For searchpath {TargetFrameworkDirectory}
Considered target framework dir /usr/lib/mono/4.5/, assembly named 'System.Net.Http' not found.
For searchpath {PkgConfig}
Considered System.Net.Http, but could not find in any pkg-config files.
For searchpath {GAC}
Considered System.Net.Http, but could not find in the GAC.
For searchpath {RawFileName}
Considered 'System.Net.Http' as a file, but the file does not exist
For searchpath bin/Release/
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Net.Http' as a file, but the file does not exist
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Net.Http.exe' as a file, but the file does not exist
Considered '/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/bin/Release/System.Net.Http.dll' as a file, but the file does not exist
Done building project "/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/mml2vgm.csproj".-- FAILED

Build FAILED.

Warnings:

/home/guest/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm/mml2vgm.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Windows.Forms' not resolved
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Data.DataSetExtensions' not resolved
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'Microsoft.CSharp' not resolved
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Net.Http' not resolved

 4 Warning(s)
 0 Error(s)

Time Elapsed 00:00:01.0005440
guest@macbookair:/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
guest@macbookair:
/Downloads/mml/mml2vgm-master/mml2vgm/mml2vgm$

`

build時のxcopy

お久しぶりです。
凄いペースで更新されてて、毎回不具合修正やIDEの完成度が上がっていくのを
楽しませてもらってます。

さて、恐らく最新の更新分からだと思われますが、PostBuildEventでxcopyを使うようになったためか、Linux(mono)環境だとBuildがエラーになっています。
見るに、bin/Release/. を output/mml2vgm に手でコピーしてやれば良さげなので、こちらの環境も特殊ですし、問題というより報告レベルになりますので、認識だけしておいて頂ければ。

Screenshot_20190825-074730

以下別件なのですが、vgmコマンド0x67〜のデータをファイルに落としてPCMデータ再利用しようと思い、差し当たってフォーマット等考慮せずに単純にファイル化してみましたが思ったよりノイジーな音になってしまいます。
そもそもオリジナルのwavファイルは復元可能なのでしょうか?
まだ取っ掛かりだけでwav読み込み部分とかソース読み込んでいないのでアライメントの違い等色々弄ってるんだろうなと言う予想しか出来ませんが、こうすれば簡単に復元できるよ、などの情報があれば教えていただきたいと思います。
こっちがメインになっちゃいましたが、よろしくお願いします。

bank switching glitch

これらのすべてのレポートをご迷惑をおかけして申し訳ありません。うまくいけば、これがしばらくの間最後のレポートになるでしょう。
C140、QSound、およびK053260を使用したバンク切り替えのバグを発見しました
このバグは、@ pトーン定義とバンク割り当てが同じ順序でない場合にのみ発生します。
これが発生すると、グリッチが聞こえるだけでなく、他のサンプルの不要な断片も聞こえます。
他のpcm音源は問題ないようです。
まだ@pdおよび@piコマンドを使用する自信はありません。したがって、私は@pのみを使用しています。
さらにデータを送信しています。うまくいけば、バグは明らかです。
http://www.fileconvoy.com/gf.php?id=gd605811ac0aae9de1000195361.13135869f4c27b0db9a93ad&sts=15686003521745566211223ab0d2b54ee6b81383f1451a1ef18d

コンパイルエラーが発生後にIDEが落ちる

IDEにて、コンパイル後、エラーリストからエラーを選択すると
エラー行に飛ぶが、その時に例外が発生しアプリケーションが落ちるケースが存在する。

くろまさんより

TAG103 bugs

C140を使用するとエラーが発生するようです。付属のテストc140.gwiはこれを示しています。
コンパイルが成功すると、mml2vgm guiはしばしば閉じます。これは、古いバージョンではそれほど発生しなかったようです。
QSoundで使用できるサンプルデータは65536バイトのみです。現時点では、銀行の切り替えが適切に機能していないと思います。 TAG102でこれを観察しましたが、時間内に報告できませんでした。

[表示(V)]メニューにて、歌詞ウインドウを[X]で閉じた際にチェックが消えない。

・[表示(V)]メニューにて、歌詞ウインドウを[X]で閉じた際にチェックが消えない。
歌詞ウインドウをウィンドウ左上の[X]ボタンで閉じた後、[表示(V)]メニューを参照すると表示オンのチェックが消えていません。
(この状態から[表示(V)]メニュー上の[歌詞]をクリックすると、歌詞ウインドウが表示されます。)
画像を添付いたします。
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.