Giter Site home page Giter Site logo

Comments (11)

GodCed avatar GodCed commented on August 16, 2024

You need to follow these instructions and replace <ip> and <sample rate> by actual values. I see those placeholders numerous times in your photos. I also see some place where you redirect the sound to files, which won't work with ODAS Studio.

You also seem to run ODAS Studio directly on a Raspberry PI, which won't work properly because of the processor load. I advise you run ODAS Studio on a desktop or laptop and provide the IP adress of the computer running ODAS Studio in your ODAS config file (<ip> placeholders).

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

Thank you for your opinion.
I'm sorry many times, but I have something I would like to know.
I want to teach about IP address setting (For example,Connect raspberry pi to PC ).

There is one concern.
Is the content of the picture below also affected? The contents of the red frame are not displayed now.
2019-06-14 (1)1

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

Hi, no, the content of the picture below is not affected by IP settings.

The red frame shows the output of the $ arecord -L command, which lists the audio recording devices avaible on the machine. It is not related to the network configuration.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

I'm sorry, the photos that I described were the ones that were described on the Internet, and were used to show the parts that I could not display. The picture below is shown when I run it with my python. Even in this case, is it possible to pick up the sound?
IMG_2584

Another thing that I had already mentioned was that I needed to use another PC to start odas, but when I try to run it on a PC it doesn't work well, but in this case Do you need to reinstall npm again?
Please tell me the procedure etc. in that case.
IMG_2586

from odas_web.

GodCed avatar GodCed commented on August 16, 2024
  1. Your $ arecord -L output seems to indicate that your Pi is not recognizing your microphone array. My guess is that you will not be able to run ODAS in that situation. However, this is dependent of your setup and I can't help you with that. I suggest you seek help on the Seeed side.

  2. I don't think you need to reinstall npm, only the Node.js packages. In the odas_web folder:

$ rm -rf node_modules
$ npm install
$ npm start

Also make sure you are running the proper Node.js version. It is v8 for ODAS Studio 0.2 or v12 for ODAS Studio 0.3. You can check your Node.js version with $ node -v. The ODAS Studio version is in the package.json file and is printed when you run $ npm start.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

Thank you for your opinion.
I tried the method you taught me. Then if I do npm start I get an error and I can not proceed. What steps can I solve?
I apologize for the inconvenience, but thank you.
IMG_2587

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

The warning you see just before the error means electron (the framework used to create ODAS Studio) cannot open the display. Make sure you have a display connected and that you are not logged in using SSH on the Pi.

If that doesn't work try searching the web for "electron can't open display" or related queries to fix your setup.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

Thank you for your many opinion.
I used to connect via SSH.So I changed to GUI connection and executed npm strat again.Then I got a lag and I couldn't do it well, and the problem that odas dropped on the way came out.In addition, the following error has come out, do you know this solution?If you know, could you tell me?
Thank you.
IMG_2588

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

Then I got a lag and I couldn't do it well, and the problem that odas dropped on the way came out.

Sorry, I'm not sure I understand what you are trying to say. If you mean ODAS Studio lagged and ODAS stopped this is because you are running ODAS Studio on a Raspberry Pi which is not powerful enough. You need to run ODAS Studio on a desktop or on a laptop. ODAS can run on a Pi.

In addition, the following error has come out

The error means the port used by ODAS Studio are already in use Error: listen EADDRINUSE: adress already in use :::10000. I see the output of a previous log before, if it crashed it is likely that some process didn't finish properly. Try running $ killall electron to end all ODAS Studio processes and retry $ npm start.

from odas_web.

suekiti0327 avatar suekiti0327 commented on August 16, 2024

Thank you for your opinion.
I tried to do your solution but I didn't use killall electron well.
The following picture is the situation at that time.
IMG_2598

In addition, the contents in package.json are also raised temporarily.
IMG_2599

What kind of countermeasure will it work?

from odas_web.

GodCed avatar GodCed commented on August 16, 2024

I don't understand what you were trying to do in your screen photos. You seemed to have typed
$ killall electron in the Node.js output which won't work. You need to type it in the terminal when the Node.js main process is closed.

Furthermore you only need $ killall electron if the main process is dead and if you get the Error: listen EADDRINUSE: adress already in use :::10000 output when you try to restart it.

Also, you don't need to type the $ before a command. As you can see it is already present in your terminal before each command.

from odas_web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.