kuma4649 / MDPlayer

GNU General Public License v3.0
124 stars 15 forks source link

The notes make a choppy sound when switching tracks(DirectSoundを使用時、停止を行ったときに時間がかかる。) #188

Open denjhang opened 3 years ago

denjhang commented 3 years ago

https://user-images.githubusercontent.com/61811583/140465132-0857af96-3e74-4c95-aebf-09ad86d43f90.mp4

denjhang commented 3 years ago

This phenomenon also occurs when the track is stopped.

kuma4649 commented 3 years ago

すみません、イマイチ状況がわかりませんでした。詳しくお願いします。

denjhang commented 2 years ago

STBL204 。 When playing OPL3 VGM, when you switch tracks or click the stop button, the music does not switch or stop immediately, but replays the last played note for about half a second, and then switches or stops.

denjhang commented 2 years ago

Bach vgm.zip

kuma4649 commented 2 years ago

STBL204から発生するようになった?

denjhang commented 2 years ago

STBL204から発生するようになった?

It seems so. The previous version did not have such a problem.

denjhang commented 2 years ago

I found that the audio output device caused the problem.

denjhang commented 2 years ago

When I use STBL162 and use voicemeeter ASIO to play music, there is no such problem.

kuma4649 commented 2 years ago

VOICEミーターは使わないようお願いします。

denjhang commented 2 years ago

When I use STBL162 and use wave out to play music, there is no such problem. It seems that when STBL204 uses wave out to play music, there is no such problem. But I found that STBL204 is easier to crash than STBL162

kuma4649 commented 2 years ago

voiceミーターを使用しない場合でも。でしょうか。

denjhang commented 2 years ago

Even if I use the audio device that comes with Windows (not ASIO or the like).

kuma4649 commented 2 years ago

承知しました。

denjhang commented 2 years ago

In fact, the first few crashes that were closed by you will not appear in STBL162, but they will all appear in STBL204, even if I don't use voicemeeter.

kuma4649 commented 2 years ago

VOICEミーターを使用してしまうと、バグの切り分けが難しくなってしまうのです。 よって、VOICEミーターを使用しない場合にどうか知りたい状況でした。

クラッシュというよりOPL3の音がのこるのが本件の内容ですよね?

denjhang commented 2 years ago

You can ignore voiceMeeter for now.

denjhang commented 2 years ago

The problem shown in the top video is not only OPL3, but all chips have this problem. The premise is to use DirectSound. There is no such problem when I use WaveOut.

kuma4649 commented 2 years ago

了解です。

kuma4649 commented 2 years ago

image 「遅延時間(レンダリングバッファ)」の値を変えると現象に変化はありますか?

denjhang commented 2 years ago

When 待ち時間 is adjusted to 5000ms, this phenomenon disappears.

kuma4649 commented 2 years ago

「遅延時間(レンダリングバッファ)」ではなく「演奏開始待ち時間」? 「遅延時間(レンダリングバッファ)」の値を変えても現象に変化なしでしょうか?

denjhang commented 2 years ago

No change after 「遅延時間(レンダリングバッファ)」 change

denjhang commented 2 years ago

截图未命名1107093113 When the value in the red box is modified to 5000ms, the phenomenon disappears.

kuma4649 commented 2 years ago

Voiceミーター以外のASIO,Wasapiデバイスではいかがでしょうか