フォーラムへの返信

15件の投稿を表示中 - 46 - 60件目 (全559件中)
  • 投稿者
    投稿
  • 返信先: Separation for 3D Audio #2577
    匿名
    参加者

    Thank you for your inquiry.

    Q.1
    But I don’t know how to record the TSP response, mainly because I don’t know how to run wios and I don’t know how to make the loudspeaker output the TSP even after reading and watching the tutorials you have.

    A.1
    From HARKTOOL5, we have provided a method to create a transfer function from recorded data whose playback and recording are not synchronized. In other words, instead of wios, you can record TSP with a combination of common playback tools (such as aplay) and recording tools (such as arecord).

    Please refer to the following URL for the information necessary for setting to use the transfer function creation algorithm newly provided in HARKTOOL5.

    https://www.hark.jp/document/packages/harktool5-gui-en/harktool5-gui.html#fd-conv-label

    Below is an example command to play a TSP for 60 seconds with the default playback device.

    
    sox /usr/share/hark/16384.little_endian.wav tsp_60sec.wav repeat 59
    play tsp_60sec.wav &
    

    You can prepare the recording data by the following steps.

    1. Keep playing the TSP repeatedly in the direction of the sound source you want to record.
    Notes:
    It’s best if you have a monitoring speaker with a constant frequency response, but if you pay attention to the following points, you can use a normal speaker.
    ・In general, if the volume is lowered or raised too much, distortion will occur depending on the characteristics of the amplifier. It is better not to go below 20% or above 80%.
    ・It is better to use PC speakers with a certain diameter instead of small speakers built into smartphones. You can also take the approach of connecting a good quality speaker to your smartphone.
    ・For PCs, software effects (theater mode, etc.) attached to the Audio chipset may be enabled, and for smartphones, the vendor’s own virtual high quality technology may be enabled, so please turn it off.

    2. Record the TSP of “1.” in multi-channel with your microphone array. Any recording software can be used, but it is recommended to select a sampling frequency of 16 kHz in order to use HARK with the default settings.
    Notes:
    Respeaker has a function to output 1ch data after beamforming, but please record all channels of raw PCM without using the beamforming function. It’s a good idea to record at least 20 seconds per direction.

    3. Repeat “1.” to “2.” for multiple sound source directions. Be sure to record the direction of the separation target.
    Notes:
    Please adjust the speaker volume and microphone sensitivity to avoid clipping. Do not change the speaker volume and microphone sensitivity once determined, and use the same settings in all directions. Be especially careful if you have speakers close to the microphone array.

    Regarding the distance between the speaker (sound source) and the microphone array:
    Place the loudspeaker at the sound source position of interest to be localized or isolated. For voice, the speaker should be positioned close to the mouth of the person speaking. The conversational robot will be about 1m, but if you are sitting on a seat and talking to a PC, it will be about 30cm. No minimum distance is specified, but be careful not to clip.

    4. After recording is completed in all directions, select a section containing sound and select at least 10 seconds or more (eg 16 seconds) to cut out. You can use any software to cut out, but please be careful not to convert the output format. With software such as sox, if you specify only the start time and length with the trim command, the format is preserved.
    Notes:
    For ease of setting in HARKTOOL5, it would be better if the PCM data for each direction has the same length. Also, since the space reflection sound is not included immediately after the start of the section containing the sound, it is better to start cutting out about 1 second after the start of the section containing the sound, not immediately after the start. . However, if the reverberation continues for a few seconds in a hall, etc., shift the extraction start point according to the reverberation time so that the section that fully includes the reflected sound is extracted.

    Q.2
    And I would like to know if there is a minimum distance between the loudspeaker and the microphone array when the response is being recorded?

    A.2
    As shown in the steps above, there is no minimum distance if you are careful with clipping. However, if the microphone array is placed directly on a table, it can be adversely affected by table reflections. It can also pick up table vibrations. If it is judged that there is an adverse effect, consider floating the microphone array with a tripod or the like.

    Q.3
    The location where the recording is made is complex with obstacles, what is the minimum number of TSP recordings that you recommend around the microphone array?

    A.3
    If the sound source position is fixed, the only mandatory source direction is the direction where the source to be separated is located. The sound source positions do not have to be evenly spaced. The sound source is not limited to the object such as voice, but also includes noise from a specific direction if you want to remove it by separating it. Also, it is necessary to record in a positional relationship where the sound reaches the microphone array directly. When recording TSP, be careful not to place any obstacles between the speaker and the microphone array that would block the direct sound arrival.

    As is concerned, in environments where the transfer function varies significantly with azimuth change (e.g., environments with many obstacles or rooms with complex shapes), the transfer function may not match when deviating from the known source direction, degrading the separation performance. There is no problem with simulations that synthesize inputs, but when performing live demonstrations, it is recommended to also create a transfer function for a position that is 5 to 10 degrees off the original position of the sound source. By creating such a transfer function, even if the speaker’s position deviates a little, the SourceTracker node can track the movement of the nearby sound source.
    The transfer function we provide is created with 72 directions in 5 degree units for 360 degree omnidirectional moving sound source tracking assuming that the speaker walks around the robot. On the other hand, in an environment where you know there are speakers at 15 and 45 degrees, it’s fine to restrict the orientation of the transfer function to just the directions in which the speakers are. For example, 10, 15, 20, 40, 45, and 50 degrees may be enough, assuming that the position of the speaker is slightly off. Even with such a direction-limited transfer function, it is possible to separate speaker A at 10 to 20 degrees and speaker B at 40 to 50 degrees. Of course, if you take the solution of telling the speaker A and B to stay at a point marked as the sound source location when doing the demo, then we don’t need additional TSP recordings in the vicinity of the assumed sound source.

    If you have any questions, please feel free to contact us.
    Thank you.

    Best regards,
    HARK support team

    返信先: iGEVD-MUSIC法について #2571
    匿名
    参加者

    Ubuntu 18.04(実機), Hark3.0.0の環境で無事,動かすことができました.
    ご回答頂き,誠に有難うございます.

    返信先: iGEVD-MUSIC法について #2570
    匿名
    参加者

    お問い合わせありがとうございます。

    ご不便をおかけして申し訳ありません。
    ご提供頂いたファイルで再現したところ、
    最新版における不具合ということが確認できました。

    以前のバージョンであれば動作いたしますので、
    可能であれば、そちらをご使用いただけますでしょうか?
    動作確認できた最新のバージョンは3.0.0となりますが、
    Ubuntu 18.04 までしか対応しておりませんので、
    新しい環境(実機もしくは仮想)をご用意いただく必要がございます。

    その他、ご不明な点がございましたらコメントにてご返信ください。

    お手数をおかけしますが、以上よろしくお願いいたします。
    HARKサポートチーム

    返信先: iGEVD-MUSIC法について #2567
    匿名
    参加者

    いつもお世話になっております.

    CMMakeFromFFTの出力端子とLocalizeMUSICのNOISECMの間にDelayノードを挿入し,音源分離を行ってみました.delayの値を-1とした時はエラーは起こらなかったのですがそれよりも小さい値(-10など)ではエラーが起きて実行することができませんでした.

    これは,ディレイの幅が大きいとバッファとして保存できる容量を超過してエラーが起こっているのでしょうか?(この場合はCMMakeFromFFTwithFlagで計算する回数を調整すれば解決するのでしょうか?)
    それともdelayが-1の時だけ異なる挙動をする様になっているのでしょうか?

    実行環境は
    OS: Ubuntu 20.04
    Hark version: 3.3.0
    です.

    自分が作ったネットワークファイルとテストで使った音源(8ch)が入ったフォルダの共有urlを送ります.何卒よろしくお願い致します.

    返信先: iGEVD-MUSIC法について #2557
    匿名
    参加者

    返信,誠に有難うございます.
    非常に良くわかりました.試してみます.

    返信先: iGEVD-MUSIC法について #2556
    匿名
    参加者

    お問い合わせありがとうございます。

    iGEVDは雑音相関行列を逐次的に変化させるという認識で合っています。追加パッケージは不要です。
    直前(指定したフレーム前)の相関行列を雑音相関行列とみなすことで実現します。

    仰る通り、作成済み雑音相関行列を CMLoad ノードで読み込む代わりに CMMakerFromFFT または CMMakerFromFFTwithFlag ノードで相関行列を生成しながら LocalizeMUSIC ノードの NOISECM 端子に与えるネットワークにします。
    ここで注意点として、INPUT 端子へ入力する信号と NOISECM 端子へ入力する雑音相関行列を同じフレームから生成してしまうと自分自身を WhiteNoise 化してしまうため MUSIC スペクトルでピークが出なくなってしまいます。そのため、 Delay ノードを挿入して入力フレームをずらす必要があります。
    HARKの仕様として、 Delay ノードに与える遅延量は負値で与える必要がありますのでご注意ください。正値で入力した場合、後段ノードに対して入力が揃っていない状態で計算指示を出している意味になりクラッシュします。負値の場合は、後段ノードに先行フレームなのでバッファに保持しておいてくださいという指示になり、後段ノードの計算開始タイミングをずらすという処理となります。

    iGEVD-MUSIC の場合は LocalizeMUSIC のパラメータを GEVD に、iGSVD-MUSIC の場合は LocalizeMUSIC のパラメータを GSVD に設定して下さい。

    iGEVD/iGSVD いずれの場合も継続音がある場合は雑音として扱われてしまうため、人間の声で「あーーーー」と言い続けていたり電子音で「ピーーーー」と鳴り続けている場合には音の出始め部分だけピークが出て、あるフレーム以降はピークが消えます。
    検出したい継続音がある場合は、 Delay ノードの遅延フレーム数と CMMakerFromFFT ノードや LocalizeMUSIC ノードのウィンドウサイズを調整して頂くと解決できる場合があります。

    ご不明な点がございましたら、コメントでご返信ください。

    以上、宜しくお願い致します。
    HARK Support Team.

    匿名
    参加者

    ご指摘ありがとうございます。

    本件、こちらでも確認しております。
    大変申し訳ございませんが、
    対応するまでに時間がかかりますので
    allowremoteオプションを使用されるのであれば、
    お手数ですがご自身で起動スクリプトを修正していただければ幸いです。

    また、利用者からのご指摘・ご報告は他の利用者にもプラスとなりますので、
    このFORUMでのご連絡も問題ございません。

    以上、よろしくお願いいたします。
    HARKサポートチーム

    返信先: 音源分離でエラーが発生する #2533
    匿名
    参加者

    ネットワークファイルのご提供ありがとうございます。

    ざっと確認させていただいたところ、
    伝達関数やチャネル数をはじめとしていくつかのパラメータが空白となっておりました。

    お手数ですが、下記SampleのページよりHARK音声認識セットを取得いただいて
    ご確認をお願いいたします。

    Samples


    ファイル:HARK_recog_3.0.0_practice2.zip

    以上、よろしくお願いいたします。
    HARKサポートチーム

    返信先: 音源分離でエラーが発生する #2531
    匿名
    参加者

    セキュリティの問題でネットワークファイルの添付に失敗したため、zipファイルにて添付いたします。

    返信先: 音源分離でエラーが発生する #2530
    匿名
    参加者

    返信ありがとうございます。

    ネットワークファイルを添付いたします。また実行環境は下記のとおりです。
    ・実行環境:VMware Workstation 16 Playerで作成した仮想環境(ゲストOS)
    ・OS:Ubuntu 18.04
    ・HARKのバージョン:3.1.0

    その他必要な情報がありましたら、お申し付けください。

    以上、よろしくお願い致します。

    返信先: 音源分離でエラーが発生する #2529
    匿名
    参加者

    お問い合わせありがとうございます。

    頂いた情報だけでは判断がつきかねますので、
    ご使用になったネットワークファイルをご提供いただくことは可能でしょうか?
    実行した環境、およびHARKのバージョン等もご教示いただけますと幸いです。

    また、エラーメッセージからすると旧バージョンのHARKと競合しているようですので、
    flowdesigner-0.9.1-hark をアンインストールして頂くと Node::addFactory : The factory (ノード名) already exists. Ignoring the new one.
    というメッセージが出ないようになるかと思います。

    以上、よろしくお願いいたします。
    HARKサポートチーム

    匿名
    参加者

    解決しました。ご迷惑をお掛けして申し訳ありません。

    匿名
    参加者

    返信ありがとうございます。前回より、録音環境を見直すと、音源定位は、正しくできていそうです。
    現在、Oct Band Noice を使用して音源分離を行っており、0度で8khz、180度で4khzで流し音源分離を行っています。しかしながら、音源定位は、正しくでき、音源分離のネットワークもエラー等出ずに実行できるのですが、生成された音源分離ファイルのsep_0以外が、こもったような分離音になってしまいます。使用したネットワークと入力ファイル(音声)と分離音と伝達関数が下記のURLにあります。
    https://firestorage.jp/download/dfe2de78e1c5e0b29e9e98a4d861a605b6ad3821
    ご迷惑おかけして申し訳ありません。

    匿名
    参加者

    使用した音源ファイルを確認したところ、
    ノイズの影響が大きいため音源定位が失敗している可能性があります。

    音源が移動しないのであれば、ConstantLocalization ノードを使用して分離を試していただけますでしょうか。
    ネットワークの sub_localization の部分で音源定位を実行する代わりに、
    分かっている音源方向を入力することで、特定方向の音源のみを分離するようなアプローチです。
    sub_localization を置き換えるような形で使用できるかと思います。

    また、分離行列をある程度適応学習していますので、うるさい⇒静かで雑音が変わっていっているようなデータですが
    静か⇒うるさいという感じで変わる方が評価の結果は多少よくなると思われます。

    上記で分離ができるようであれば、
    BGNEstimator を使用してノイズ抑制を行うことも効果があるかと思います。

    以上、よろしくお願いいたします。
    HARKサポートチーム

    匿名
    参加者

    1.マイクからの入力を使用している。
    2.使用したマイクは、TAMAGO-03を使用しました。使用した音源ファイルは、以下のURLにあります。
       URL:https://firestorage.jp/download/3ee6ed5b5de547a82b6b872414702b93d80bf15c
    3.収録環境は、屋内です。
    4.実行しているharkのバージョンは、ubuntu20.04です。
    使用目的は、音源を分離し、分離後と分離前の音の聞き取りやすさの評価がしてみたく使用しています。

15件の投稿を表示中 - 46 - 60件目 (全559件中)