I have a Matrix Creator which I want to use as an input for a speech to text platform, running through Chromium (using webkitSpeechRecognition). My problem is that I do not have it available as a device, or rather that all devices I can choose courtesy of the Creator are not working (the sound is just scrambled). But I do have access to the raw PCM, and I was able to successfully use it with Snowboy.
Now, is there any way I can make this ALSA PCM available to Chromium as an input device? Surely there must be some way to do this using the config, but as of yet I have been unable to do this.
The PCMs are defined in /etc/asound.conf like this:
pcm.mic_channel0 {
type file
file "/tmp/matrix_micarray_channel_0"
infile "/tmp/matrix_micarray_channel_0"
format "raw"
slave {
pcm sc
}
}
The device itself is working, as I can take raw input from it and play it - but I can't select it as a microphone in Chromium.
Thank you!