robotology / cer

Contains SW specific to the R1 robots
GNU General Public License v2.0
10 stars 13 forks source link

Test CER michrophones #31

Closed randaz81 closed 3 years ago

randaz81 commented 8 years ago

Not implemented yet.

barbalberto commented 8 years ago

Low priority

barbalberto commented 8 years ago

Spoke with Francesco Diotalevi. The HW configuration of mics is the same as the display.

The FPGA is in charge of acquiring data from the microphones and made them available to the OS. This is because later on a beam forming algorithm will (probably) be implemented inside the FPGA.

A custom character driver has been made by Francesco to read the data.

Since it is a character driver, it is not seen by the OS as a sound card, therefore the standard utilities that deals with audio devices cannot be used, neither portaudio.

There are 2 possible ways to go:

1) Create a linux driver for sound card, so that any standard library can work with (like portaudio). More complicated. 2) Create a custom yarp driver reading from character device. Easier, but only yarp SW could use the microphones.

lornat75 commented 8 years ago

I think we can bring this issue at the next meeting and discuss the priorities. I would be better to implement a proper linux driver, if we have time and resources.

randaz81 commented 3 years ago

Addressed in https://github.com/hsp-iit/research-development/issues/73