Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
denjhang opened this issue Nov 5, 2021 · 24 comments
Assignees
Labels

Comments

@denjhang
Copy link

denjhang commented Nov 5, 2021

bandicam.2021-11-05.13-53-32-393.mp4
@denjhang
Copy link
Author

denjhang commented Nov 5, 2021

This phenomenon also occurs when the track is stopped.

@kuma4649
Copy link
Owner

kuma4649 commented Nov 6, 2021

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

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

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
Copy link
Author

denjhang commented Nov 6, 2021

Bach vgm.zip

@kuma4649
Copy link
Owner

kuma4649 commented Nov 6, 2021

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

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

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

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

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

I found that the audio output device caused the problem.

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

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

@kuma4649
Copy link
Owner

kuma4649 commented Nov 6, 2021

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

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

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
Copy link
Owner

kuma4649 commented Nov 6, 2021

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

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

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

@kuma4649
Copy link
Owner

kuma4649 commented Nov 6, 2021

承知しました。

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

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 kuma4649 changed the title The notes make a choppy sound when switching tracks The notes make a choppy sound when switching tracks(OPL3を使用時、停止を行ったときに時間がかかる。) Nov 6, 2021
@kuma4649 kuma4649 self-assigned this Nov 6, 2021
@kuma4649 kuma4649 added the bug label Nov 6, 2021
@kuma4649
Copy link
Owner

kuma4649 commented Nov 6, 2021

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

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

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

You can ignore voiceMeeter for now.

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

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
Copy link
Owner

kuma4649 commented Nov 6, 2021

了解です。

@kuma4649 kuma4649 changed the title The notes make a choppy sound when switching tracks(OPL3を使用時、停止を行ったときに時間がかかる。) The notes make a choppy sound when switching tracks(DirectSoundを使用時、停止を行ったときに時間がかかる。) Nov 6, 2021
@kuma4649
Copy link
Owner

kuma4649 commented Nov 6, 2021

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

@denjhang
Copy link
Author

denjhang commented Nov 6, 2021

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

@kuma4649
Copy link
Owner

kuma4649 commented Nov 6, 2021

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

@denjhang
Copy link
Author

denjhang commented Nov 7, 2021

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

@denjhang
Copy link
Author

denjhang commented Nov 7, 2021

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

@kuma4649
Copy link
Owner

kuma4649 commented Nov 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants