HARK FORUM › Errors running HARk in Ubuntu 16.4
- This topic has 12 replies, 2 voices, and was last updated 4 years, 8 months ago by Riya Parth Dube.
-
AuthorPosts
-
March 3, 2020 at 2:37 pm #1368
Hello
I am trying to run my HARK network but it shows me execution error. Please help me solve it.I am inserting image for reference. Thank you.- This topic was modified 4 years, 8 months ago by Riya Parth Dube.
Attachments:
March 3, 2020 at 3:06 pm #1371Hello Riya,
We’ll help you resolve your problem. But, before we can do that, we need to know the exact error that you encountered. The image that you uploaded is unintelligible, even after rotating the image clockwise – we are unable to read the exact error from the image.
I have two suggestions, you can do either one:
1) Copy the error from the browser and paste the text in a .txt file and send the file as an attachment.
2) Produce a screenshot using the instructions here: https://help.ubuntu.com/stable/ubuntu-help/screen-shot-record.html and send the image file as an attachment.We will wait for your response.
Cheers,
HARK Support Team- This reply was modified 4 years, 8 months ago by lapus.er.
March 3, 2020 at 6:54 pm #1373Hi thank you for responding and apologies for the bad image quality. I am uploading a new image please guide me through it.
Attachments:
March 4, 2020 at 10:57 am #1375Hi Riya,
It looks to me like the error is coming from the AudiostreamFromMic node.
Can you please attach the network file that you were trying to execute? In case you do not know where this is located, it is in the
/usr/lib/hark-designer/userdata/networks
directory. The file name is basically the file indicated on the upper right portion of the Hark Designer user interface.Also, can you please post the type of microphone device that you are using?
Cheers,
HARK Support Team- This reply was modified 4 years, 8 months ago by lapus.er.
March 4, 2020 at 1:39 pm #1376Hi
I am attaching the network I use and file name.- This reply was modified 4 years, 8 months ago by Riya Parth Dube.
Attachments:
March 4, 2020 at 3:18 pm #1381Hi Riya,
The error displayed (from the attachment on your second post) indicated that an exception occurred on an AudioStreamFromMic node.
However, looking at the latest attachments that you posted, the network dosen’t have an AudioStreamFromMic node but rather an AudioStreamFromWave node.
So to clarify, what node do you intend to use in your network? AudioStreamFromWave or AudioStreamFromMic?
Cheers,
HARK Support TeamMarch 4, 2020 at 3:38 pm #1383I am using audio stream from wave node.
March 4, 2020 at 4:45 pm #1384Hi Riya,
Thank you for clarifying that bit.
So, when you ran the network that uses the AudioStreamFromWave node, what error did you encounter? I am asking this because the error that you posted was an error emitted by AudioStreamFromMic and not AudioStreamFromWave.
Cheers,
HARK Support Team- This reply was modified 4 years, 8 months ago by lapus.er.
March 4, 2020 at 5:12 pm #1385It’s the same error for that as well.
March 4, 2020 at 6:14 pm #1386Hi Riya,
I attached an image with a piece of text highlighted in red.
Can you please confirm if you are seeing the same text in the error message when you run the network that contains the AudioStreamFromWave node? I am asking this because the AudioStreamFromWave node is not expected to output such an error.
Also, if it is possible, can you attach the wav file that you are using? I will try to replicate your network in my environment and check if I get the same error.
Cheers,
HARK Support Team- This reply was modified 4 years, 8 months ago by lapus.er.
- This reply was modified 4 years, 8 months ago by lapus.er.
Attachments:
March 4, 2020 at 6:48 pm #1389No I don’t get this message. Except that every thing is same. The sample audio is attached.
Thank you.- This reply was modified 4 years, 8 months ago by Riya Parth Dube.
Attachments:
March 5, 2020 at 11:09 am #1392Hi Riya,
Thank you for sending the file.
I replicated your network in my environment and here are the issues that I want to point out:
1) The file that you are using is not a wav file but an mp3 file – AudioStreamFromWave cannot consume data from this file.
2) You are indicating the file name in the LENGTH parameter of the AudioStreamFromWave node – this not where the file name is supposed to be indicated.
3) You are using the output of MultiFFT as input to Synthesize – Synthesize expects a different data container, specifically a Map. While MulitFFT outputs a Matrix.Solutions:
For #1: convert the file to wav
For #2: Add a Constant node and an InputStream node to specify the correct file name
For #3: Add a MatrixToMap node to make the output MultiFFT compatible with the Synthesize inputI am attaching a sample network file that I tested on my environment.
Please try it on your end. All you have to do is replace the value in the Constant node to the file name of your wav file. On Ubuntu, make sure to copy the wav file in the/usr/lib/hark-designer/userdata/networks
directory.Let me know know how it goes.
Cheers,
HARK Support Team- This reply was modified 4 years, 8 months ago by lapus.er.
- This reply was modified 4 years, 8 months ago by lapus.er.
- This reply was modified 4 years, 8 months ago by lapus.er.
Attachments:
March 7, 2020 at 8:52 am #1402Hi thank you for the response, the error got solved with that and i am finally able to get the output.
thank you. -
AuthorPosts
- You must be logged in to reply to this topic.