フォーラムへの返信

15件の投稿を表示中 - 256 - 270件目 (全559件中)
  • 投稿者
    投稿
  • 匿名
    参加者

    Hi kohira,

    It is difficult to spot the problem using just the code snippet that you sent because it provides very little context to flow of the program.

    Can you please attach the entire file?

    Cheers,
    HARK Support Team.

    匿名
    参加者

    Hi,

    For receiving data from HarkDataStreamSender, I made a TCP server.
    A fragment of source code of the server is as below.

    sock = accept(sock0, (struct sockaddr*) & client, &len);
    int sz = recv(sock, pbuff, szbuff, 0);

    Just after executing HARK network the server accepts something, but recv() is blocked, i.e., no data coming.

    Is my connection on HarkDataStreamSender wrong? or other mistakes?
    Could you please tell me wrong point?

    Thank you.
    Kohira

    匿名
    参加者

    Hi,

    I do thank you for your reviewing.

    I ran a network as yours, which I also change OUTPUT_GAIN from 1.0 to 20000.0 in a node of Synthesize.

    It resulted in very good.

    Thank you.
    Kohira

    匿名
    参加者

    Hi kohira,

    The error you encountered has something to do with the input to the AudioStreamFromWave node. I reviewed your network file and noticed that you placed the value FILES inside the TYPE parameter of the InputStream node (see attached screenshot).

    Please remove the value and leave it blank. After that, save the network file and execute again. If there is still an error, kindly post it here.

    Cheers,
    HARK Support Team

    匿名
    参加者

    Hi,

    I executed a modified my_sep_rec_offline_2.n NOT by harkmw.exe but on HARK Designer 3.0.0, and got another error shown below.

    Should I add any node?

    Thank you.
    Kohira

    —————————-
    Stopped
    Start HARK middleware:
    network: my_sep_rec_offline_2.n
    execute: my_sep_rec_offline_2.n
    process: local
    toolbox: [‘C:/Program Files/HARK/lib/hark/toolbox’]
    args: []

    reading A matrix

    72 srcs, 8 microphones, 512 points

    Traceback (most recent call last):
    File “C:\ProgramData\Anaconda3\Scripts\batchflow-script.py”, line 11, in <module>
    load_entry_point(‘harkmw==3.0.0’, ‘console_scripts’, ‘batchflow’)()
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\main.py”, line 102, in main
    app.run(process_name)
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\process.py”, line 71, in run
    network.run(self)
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 46, in run
    self.proceed(0, process)
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 103, in proceed
    count = self.proceed_frame(count, process)
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 134, in proceed_frame
    minimum_count = min(minimum_count, node.push_data(None, count, process))
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\node.py”, line 129, in push_data
    minimum_target_count = min(minimum_target_count, output_proxy.push_data(target_count, process))
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\proxy.py”, line 180, in push_data
    count = self.output_node.push_data(self, count, process)
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\node.py”, line 129, in push_data
    minimum_target_count = min(minimum_target_count, output_proxy.push_data(target_count, process))
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\proxy.py”, line 178, in push_data
    self.output_node.network.push_data(input, count, process)
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 225, in push_data
    return self.proceed(count, process)
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\logic\network.py”, line 78, in proceed
    condition_satisfied = node.get_output(“OUTPUT”, internal_count)
    File “C:\ProgramData\Anaconda3\lib\site-packages\harkmw\types\native_node.py”, line 126, in get_output
    return self.native_node.get_output(name, count)
    RuntimeError: HARK-Middleware: HARK exception thrown at harkmw/src/node.cc:215 (Node_get_output): Cast error: Trying to cast ObjectRef (N4HARK7FILEPTRE) into N4HARK7IStreamE
    C:\msys64\home\NAE2\work\src\hark-base\hark-base\src\BufferedNode.cc line 98: Node AudioStreamFromWave (type 19AudioStreamFromWave) Exception caught in BufferedNode::getOutput
    C:\msys64\home\NAE2\work\src\hark-base\hark-base\src\BufferedNode.cc line 98: Node ProxyNode (type N6HARKMW9ProxyNodeE) Exception caught in BufferedNode::getOutput
    C:\msys64\home\NAE2\work\src\hark-base\hark-base\src\Collector.cc line 91: Node Collector (type N4HARK9CollectorE) Exception caught in Collector::getOutput

    done
    initialize
    —————————-

    匿名
    参加者

    Hi Kohira,

    This error means that you missed setting an Output in your MAIN tab.

    Please do the following steps:
    1) Load your network file.
    2) Click on the MAIN tab.
    3) Right-click the ‘OUTPUT’ in the ‘MAIN_LOOP’ node
    4) Select ‘Set as Output’.
    ** This will pop-up a dialog, prompting you to input an Output name. You can just use the default value, OUTPUT. Then, click Ok.
    5) Click Save.

    After those steps above try executing the network. Please let me know if this solves your problem.

    Cheers,
    HARK Support Team

    返信先: network to separate sources #1189
    匿名
    参加者

    Hi,

    First of all, I’d like to thank you.
    By amplification, there shows wave in Audacity!

    Thank you.
    kohira

    返信先: network to separate sources #1187
    匿名
    参加者

    Hi Kohira,

    The audio signal of the wav file is very weak, so there seems to be no signal.
    If you amplify and play with audacity etc., you can hear the sound.
    (refer attached file)

    —-
    Why the signal is weak?

    Since the audio file before separation is 8ch 2 speaker, if only 1ch 1 speaker’s voice is separated, the volume will be attenuated to 1/16 simply by calculating.

    Cheers,
    HARK Support Team

    返信先: network to separate sources #1185
    匿名
    参加者

    Hi,

    I do not use any files other than ones already found in HARK_recog_3.0.0_practice2.zip.

    All that I did are …
    1. Extract HARK_recog_3.0.0_practice2.zip
    2. cd to HARK_recog_3.0.0_practice2
    3. type command shown in console_output.txt

    There are 12 wav files generated, but I upload three of these.
    I also upload console output log.

    Thank you.
    kohira

    返信先: network to separate sources #1184
    匿名
    参加者

    Hi kohira,

    Can you please upload the exact files that you are using – except for the ones already found in HARK_recog_3.0.0_practice2.zip. I will also need to know the exact steps that you performed to generate the files.

    I know that what I am asking is a bit tedious on your part, but the items I am requesting are necessary in order for us to identify the problem/issue that you raised.

    Regards,
    HARK Support Team

    返信先: network to separate sources #1183
    匿名
    参加者

    Hi,

    I’ve tried HARK_recog_3.0.0_practice2.zip to get 12 wav files and kaldi_out.txt containing 12 sentences. And accuracies are 80% to 100% for each sentence.

    But wav files signals are flat, i.e., no voice or sound.

    Could you please tell me how to fix it, or any hint?

    Thank you.
    kohira

    匿名
    参加者

    Hi,

    We’d like to know the node binary path and the version of that binary.

    Can you please post the output of the two commands:
    1) $ which node
    2) $ node --version

    Cheers,
    HARK Support Team

    返信先: network to separate sources #1178
    匿名
    参加者

    Hi kohira,

    There are sample files available for download in this link:

    Samples

    You might be interested in checking out the following files:
    HARK_recog_3.0.0_practice2.zip
    HARK_recog_3.0.0_IROS2018_practice2.zip

    Please let me know if these are not the files that you are looking for.

    Best Regards,
    HARK Support Team

    返信先: network to separate sources #1177
    匿名
    参加者

    Hi,

    My interest is if the separated voice could be used for speech recognition, under the conditions shown below.

    1. In a small room
    2. 3D position of mouth would be change for several inches during speech.
    3. Someone would raise hands during speech, which affects transfer function.

    I am very appreciated if I get sample voice separated best.
    Or, I would like to know maximum performance of HARK.

    Thank you.

    返信先: network to separate sources #1176
    匿名
    参加者

    Hi kohira,

    >> Could any body tell me how the TR created by calculation makes it worse than the one by measurement?

    We alrady indicated in our documentation that Geometric-Calcuation-based Transfer Function Generation may have less quality as compared to Measurement-based Transfer Function Generation
    depending on the environment. The reason for this is, the calculation does not take into consideration the effects of the possible obstructions in the environment during the recording.

    See documentation: https://www.hark.jp/document/tf/generating_transfer_functions/Generating_a_Transfer_Function_Using_HARKTOOL5.html#_Toc518480855 (see figure 14).

    So if the environment is not a “Free Space” environment, then the performance of the TR generated using Geometric-Calcuation will surely be lower than that of a TR generated using Measurement.

    >> Or, is there any sample wave files obtained by HARK’s source separation, which have little cross talk for two or three sources?
    I will ask the team if there is any avaiable sample save files that you can use.

    Cheers,
    HARK Support Team

15件の投稿を表示中 - 256 - 270件目 (全559件中)