[Solved] How to start recording


#21

With nodejs this should help you:

For all other snowboy implementations take a look into the Readme and maybe the other examples:


Using the Matrix Creator 8 microphone array
#22

Hi,

Just started to play with the mic array and I’m having the same issue as @bagofchips. arecord works fine but with pyaudio always crashes with “Bad file descriptor”. Any update on this issue?

ALSA lib pcm_file.c:358:(snd_pcm_file_write_bytes) write failed: Bad file descriptor
ALSA lib pcm_file.c:358:(snd_pcm_file_write_bytes) write failed: Bad file descriptor
ALSA lib pcm_file.c:358:(snd_pcm_file_write_bytes) write failed: Bad file descriptor
ALSA lib pcm_file.c:358:(snd_pcm_file_write_bytes) write failed: Bad file descriptor
python3: pcm_file.c:397: snd_pcm_file_add_frames: Assertion `file->wbuf_used_bytes < file->wbuf_size_bytes’ failed.
Aborted


#23

@Mexolotl is that the synthetic beam-formed channel that the Creator exposes, or is that just a single channel?


#24

@evan mic_channel8 is the beamformed channel. mic_channel0-7 are the single channels. As the Voice only has 7 mics, it may be different.


Using the Matrix Creator 8 microphone array
#25

Hey @duoduo999, did you manage to get the “Bad file descriptor” issues solved? I’m trying to run the google assistant SDK and I’m running into that same error. Both when I try the plain SDK or when trying to run the AIY Voicekit.

My arecord and aplay work fine, without any need for --device specified. So I think my asound config is set up correctly. Still running into that error though.


#26

We are just days about releasing the mics python support … stay tuned guys!


#27

@yoelrc88 that’s great news!
Does this mean SDK’s like Google Assistant will be able to work with the mic while running Core? Or do we need Matrix OS for it?


#28

Just with Core service running :slight_smile: … excited too !


#29

Excellent! Keep up the good work :smiley:


#30

Does this mean, that the mic will be available as real ALSA Device, so that it can also be used with pulseaudio ? :heart_eyes:


#31

Yes, exactly like that.


#32

Soon was several months, now it’s days :slight_smile: This remembers me of Einstein’s relativity theory: All customers stay on earth while the company moves with high speed. With other words, it’s totally normal from both perspectives :smile:


#33

@yoelrc88 it’s friday here, almost end of the week. Any news on the updates? Can we have it before the weekend? Pretty please!? :smiley:


#34

I guess that’s a no… :stuck_out_tongue:


#35

@yoelrc88 can you give a status update?


#36

Still nothing? :frowning:
We don’t mind when stuff come later, but some communication would be appreciated!


#37

Hi guys, working hard here to deliver as soon as possible. Really appreciate your support and patience.
Maybe it’ll take a bit longer, but as soon as we have something that you can start to play with I will be share it here.

Thanks again,

Yoel


#38

Hello, was wondering if there were any updates when the mic will be available as a real ALSA Device?


#40

@yoelrc88 we have now mid of december … 2,5 months after your anouncement. Any update?


PyAudio and Mycroft
#41

The new ALSA support seems to be finished in the kernel modules:

and a new big update might be coming soon: