[戻る]
一括表示

タイトル
記事No
投稿日
投稿者
参照先
WASAPI Problem.
647
: 2018/10/19(Fri) 03:40:20
RaceDriverMIKU

こんにちは。
最近、私のオーディオインターフェイスのファームウェア、ドライバをベータ版としてアップデートしました。(第1世代から第2世代への移行)
私のオーディオインターフェイスはFocusrite Scarlett 6i6 1st genで、最後の安定したドライバは2014年です。
Windowsのオーディオエンドポイントのプロパティには...
1ch 16bit%サンプルレート%
1ch 24bit%サンプルレート%
2ch 16bit%サンプルレート%
2ch 24bit%サンプルレート%
1chサンプルレートは基本的には今のところ正しく動作しません.2チャンネルのみ
サンプルレートが48000に設定されている場合は48000のみ、44100がない場合もあります。また、88200,96000もありません。
とにかく、奇妙なことはWindowsオーディオエンドポイント(ASIOではない)のサンプルレートが、ASIO Conrtol Panelというアプリによって設定されていることです。

つまり、WASAPI Exclusiveは動作していない、私は設定ファイルを編集しました、 'SOUND_FREQ = 48000'は動作しません。
(私は48KHzが​​好きなので、サンプルレートを48KHzに設定します)
そして、私は自分のオーディオインターフェイスのサンプルレートを変更し、適切な値で 'SOUND_FREQ ='を編集すると、それも動作しません。
私が正しく覚えていれば、44100,96000もうまくいきませんでした。
ありがとうございました。
----
Hello.
Recently, I updated my audio interface firmware, driver as beta version.(migrate driver of 1st gen to 2nd gen)
My audio interface is Focusrite Scarlett 6i6 1st gen, and the last stable driver is in 2014, and it dosen't work seamlessly to me.
And in properties of Windows audio endpoint... there are only these
1ch 16bit %sample rate%
1ch 24bit %sample rate%
2ch 16bit %sample rate%
2ch 24bit %sample rate%
1ch sample rates are just basically dosen't work properly for now, only 2 channels
If the sample rate is set as 48000. there will be only 48000, there is even no 44100. also there are no 88200, 96000.
By thw way, the weird thing is sample rates of Windows Audio endpoint(not ASIO) is set by the app called ASIO Conrtol Panel.

So the point is, WASAPI Exclusive is not working, I edited a config file, 'SOUND_FREQ=48000' it dosen't work.
(I prefer 48KHz, so I set sample rate as 48KHz)
And I change my audio interface sample rate, and edit 'SOUND_FREQ=' with proper value, it dosen't work too.
If I remember correctly, 44100, 96000 didn't work too.
Thank you.
タイトル
記事No
投稿日
投稿者
参照先
Re: WASAPI Problem.
648
: 2018/10/19(Fri) 18:00:26
管理人

こんちには。

Scarlett 6i6でWASAPIが使えない問題について調べてみました。

まず、このオーディオデバイスはASIOに対応しているようですが、その中で以下のような情報を見つけました。
https://support.focusrite.com/hc/en-gb/articles/207546835-Is-my-Scarlett-interface-in-16-bit-or-24-bit-on-Windows-

------------------------------------------------------------------------------
The audio stream captured from our hardware is always 24-bit samples.
These samples are not altered or processed in any way by the driver when recording.
The Windows audio control panel may say the device is in 16 bit mode,
but the ASIO driver bypasses the Windows audio system,and is therefore not affected by this setting.
------------------------------------------------------------------------------

これによれば、コントロールパネルから16bitに変更することは出来ますが、ハードウェアの内部は常に24bitで動作しているようです。
なお、これは録音時のことについてですが、再生時も同じだと思います。

charatbeatHDXでは24bitに対応しておらず、常に16bitとしてデバイスを使用します。
このため、24bitのみに対応したデバイスでは動作しないと思います。



--------------------------
Hello.

I examined the problem that WASAPI can not be used with Scarlett 6i6.

First of all, this audio device seems to be compatible with ASIO, but I found the following information in it.
https://support.focusrite.com/hc/en-gb/articles/207546835-Is-my-Scarlett-interface-in-16-bit-or-24-bit-on-Windows-

-------------------------------------------------------------------- ------------------------------
The audio stream captured from our hardware is always 24-bit samples.
These samples are not altered or processed in any way by the driver when recording.
The Windows audio control panel may say the device is in 16 bit mode,
but the ASIO driver bypasses the Windows audio system, and is therefore not affected by this setting.
-------------------------------------------------------------------- ------------------------------

According to this, it is possible to change from the control panel to 16 bit, but the inside of the hardware seems to always operate at 24 bit.
Although this is about recording, I think that it is the same when playing.

charatbeatHDX does not support 24 bits, always uses the device as 16 bit.
For this reason, I think that it will not work with devices supporting only 24 bits.
タイトル
記事No
投稿日
投稿者
参照先
Re^2: WASAPI Problem.
649
: 2018/10/20(Sat) 00:27:56
RaceDriverMIKU

こんにちは、お返事ありがとうございます。
CharatbeatHDXが16ビットのみをサポートしている場合。 16ビットWindowsオーディオエンドポイントをサポートしていても、ドライバが24ビットストリームのみを処理すると、問題が発生する可能性がありますか? うーん、私はプログラマではないので、私はWindowsのオーディオアーキテクチャがどのように設計されているのか分かりません。
しかし、Windowsのオーディオエンドポイントには16ビットのオプションがあるので、なぜそれが動作しないのかを知ることは難しいです。
しかし、最新の安定ドライバ(年:2014年)にはWDMの16ビットオプションしかありませんでしたが、エンドポイントには44100,48000,88200,96000というさまざまなサンプルレートがあり、うまくいきました。
もしあなたが気にしないのであれば、サンプルレートは1つだけですが、さまざまなビットレートとチャンネルオプションがある場合、WASAPIプラグインが失敗するかどうかチェックできますか? うーん...しかし、難しい質問だと思う。
まあ、デジタルI / Oの使用を検討する必要があるかもしれません。 ありがたいことにScarlett 6i6にはデジタルI / Oがあります
ありがとうございました。
----
Hello, and thank you reply.
If CharatbeatHDX support only 16bit. If driver handles only 24bit stream despite support 16bit of windows audio endpoint, then it may occur a problem? hmm, due to I'm not a programmer so I don't know how Windows audio architecture is desigened.
But, there is 16bit option for windows audio endpoint, so it's hard to get why it dosen't work.
However, there were only 16bit options of WDM in latest stable driver(year:2014), but there are various sample rate in endpoint, which is 44100, 48000, 88200, 96000. and it just worked fine.
If you don't mind, can you check that if there is only one sample rate, but, various bit rate and channel options, in that case does the WASAPI plugin fail? umm... but, I think it's hard question.
Well, maybe I need to consider using digital I/O. thankfully Scarlett 6i6 has digital I/O
Thank you again.
タイトル
記事No
投稿日
投稿者
参照先
Re^3: WASAPI Problem.
650
: 2018/10/21(Sun) 03:22:16
管理人

こんちには。

charatbeatHDXではWASAPIの排他モードを使用していますが、この排他モードは
ハードウェアがサポートしているフォーマットでのみ使用することが出来ます。

charatbeatHDXはビットレートの変更には対応していますが、ビット数は常に16bitに固定されています。
このため、16bitに対応していないハードウェアでは使用することが出来ません。


ちなみにDirectSoundやWASAPI共有モードの場合、OSに組み込まれたソフトウェアミキサーにより、
OSの音や各アプリケーションの音がミキシングされて再生されます。
また、ソフトウェアミキサーが自動的にハードウェアに合ったフォーマットに変換しているため、
結果的にどのようなフォーマットでも再生することが出来るようになっています。(ただし遅延が多い)


Scarlett 6i6のWDMドライバは16bitが選択出来るようですが、これは共有モードの設定となります。
そのため、ソフトウェアミキサーにより最終的に24bitに変換されている可能性があります。
しかし、排他モードではハードウェアに合わせたフォーマットでなければならず、
24bitに対応していないcharatbeatHDXでは初期化に失敗してしまいます。


他の方法としては、foobar2000などのWASAPI対応のプレイヤーにて、
16bitのWAVEファイルが再生が出来るか確認してみるとよいかもしれません。

他のサイトを調べてみても、Scarlett 6i6とWASAPIに関する情報を見つけることは出来ませんでしたので、
詳しいことはメーカーに問い合わせた方がよいと思います。


-------------------------
Hello.

Although charatbeatHDX uses the exclusive mode of WASAPI, this exclusion mode is
It can be used only in the format supported by the hardware.

Although charatbeatHDX supports bit rate change, bit number is always fixed to 16 bit.
Therefore, it can not be used with hardware that does not support 16 bit.


By the way, in DirectSound and WASAPI sharing mode, with the software mixer embedded in the OS,
The OS sound and the sound of each application are mixed and played.
Also, since the software mixer automatically converts to a format that matches the hardware,
As a result, it can be played in any format. (However, there are many delays)


Scarlett 6i6's WDM driver seems to be able to select 16 bit, but this is the setting of shared mode.
Therefore, there is a possibility that it was finally converted to 24 bit by software mixer.
However, in the exclusive mode, the format must be adapted to the hardware,
In charatbeatHDX which does not correspond to 24 bit, initialization fails.

As another method, with WASAPI compatible players such as foobar 2000,
It may be good to check whether 16 bit WAVE file can be played.

Since I could not find information on Scarlett 6i6 and WASAPI even if examining other sites,
I think that it is better to contact the manufacturer for more information.
タイトル
記事No
投稿日
投稿者
参照先
Re^4: WASAPI Problem.
651
: 2018/10/21(Sun) 05:42:52
RaceDriverMIKU

こんにちは。
私が覚えているように、ドライバーのアップデート後、それはちょうどかなりよく働いていたので、私はそれを残しました。
ところで、Foobar2000 WASAPIの排他的イベントモードはほとんどの場合失敗しますが(時にはうまくいきます)(ASIO-> WASAPI(48KHz-> 44.1KHz)、またはASIOで44.1KHzに設定されていますコントロールパネルアプリ、何かを再生する前に)。
Foobar 2000 WASAPIプッシュモードは完全に機能しました(しかし、foobar2000のデフォルト設定で推測すると、プッシュモードには巨大なバッファが必要です...)
MPC-BE排他モードも完璧に機能しました(どのモードかわかりません)。
MPC-HCの排他モードが機能しましたが、問題があります(シークできません。また、どのモードもありません)。
Reaper WASAPI排他モード(ポーリング)は正常に動作し、排他モード(イベントモードですか?)に問題があります。
BandlabによるCakewalk(元:Cakewalk SONAR)WASAPI排他モードは失敗しました(間違った方法で動作しました。バッファ関連の問題のようです)
いくつかの問題がある場合は、シークできず、シークしようとすると再生が停止するか、バッファ関連の問題があるようです。
ドライバから問題が発生しているようですので、ベータドライバに関するフィードバックを送って数ヶ月待つか、SPDIFの使用を検討する必要があります。
ありがとうございました。
----
Hello.
As I remember, after update of driver, it was just pretty much worked well, so I just left it.
By the way, I tested it again, Foobar2000 WASAPI exclusive event mode fails in most times.(but it worked sometimes)(both way result same. ASIO->WASAPI(48KHz->44.1KHz), or set as 44.1KHz by ASIO Control Panel app, before play something.)
Foobar 2000 WASAPI push mode worked perfectly.(but, guessing by foobar2000 default setting, it seems that push mode need huge buffer...hmm)
MPC-BE exclusive mode also worked perfecrlty.(I don't know which mode it is.)
MPC-HC exclusive mode worked, but have some problem.(unable to seek, also I don't which mode.)
Reaper WASAPI exclusive mode (polled) worked fine, exclusive mode(is it event mode?) have a problem.
Cakewalk by Bandlab(former:Cakewalk SONAR) WASAPI exclusive mode failed.(it worked wrong way, it sounds like buffer relate problem)
Any case which have some problems are unable to seek, and stop playing if I try to seek, or seems buffer related problem.
It looks like the problem is coming from the driver, so I need to send some feedbacks about beta driver and wait for months, or consider using SPDIF.
Thank you.
タイトル
記事No
投稿日
投稿者
参照先
Re^5: WASAPI Problem.
653
: 2018/10/22(Mon) 01:12:04
管理人

こんにちは。

他のソフトにも問題があるのなら、ドライバの問題である可能性が高いため、
やはり、メーカーに問い合わせることをお勧めします。


ちなみにWASAPIの排他モードには、サウンドデータを送る方法として、
プッシュモードとイベントモードの2つがあります。

プッシュモードとはサウンドデータを常にサウンドデバイスに送り続けるモードで、
音が途切れないように次に送られるサウンドデータを、あらかじめ作っておかなければなりません。
この時、既に作られたサウンドデータには新しい音を入れることは出来ないため、
新しい音は次のサウンドデータに入れられます。
このため、その音は再生が遅れます。

イベントモードとは、次のサウンドデータが必要になるとイベントが発生し、
それに合わせてサウンドデータを作って送ります。
この時、イベントが発生するごとに新しいサウンドデータを作るので、
遅延は少なくなりますが、その代わりにCPUの負荷が増大します。

なお、charatbeatHDXはWASAPIのイベントモードにて動作しています。
このため遅延は少ないですが、速いCPUが要求されます。

-----------------------

Hello.

If there is a problem with other software, there is a high possibility that it is a driver problem,
Again, we recommend that you contact the manufacturer.


By the way, as a way to send sound data to WASAPI exclusive mode,
There are two modes: push mode and event mode.

Push mode is a mode to continue sending sound data to the sound device,
Sound data to be sent next must be made in advance so that sound will not be interrupted.
At this time, since it is not possible to put a new sound in the already created sound data,
New sounds are put in the next sound data.
For this reason, playback of this sound is delayed.

In event mode, an event occurs when the next sound data is required,
We will create and send sound data accordingly.
At this time, every time an event occurs, new sound data is created,
The delay will be less, but instead the CPU load will increase.

In addition, charatbeatHDX is operating in WASAPI's event mode.
For this reason, the delay is small, but a fast CPU is required.

- WebForum -