Setting Mycroft audio output format

So I’m using the Seeed ReSpeaker 6-mic array, had some issues getting the it working for input and output, but got it working. However, I’m having issues in both mycroft-mic-test and just mycroft itself. With MyCroft up and running, and via the CLI interface, I see it listening and responding, but both there and in mycroft-mic-test when it tries to output anything, I get the following error.

Playing WAVE ‘/home/pi/mycroft-core/mycroft/res/snd/start_listening.wav’ : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
aplay: set_params:1339: Sample format non available
Available formats:
– S32_LE

Any idea how to set/force Mycroft to play using S32_LE? This is via the Picroft image setup.

I think you can get ALSA to convert the format from 16 bit to 32 bit by adding a .asoundrc file in the home directory. You will need to do some googling to work out exactly how to do this but it entails defining (in .asoundrc) a new audio input with 32 bit format and slaving it to your existing input and making it the default input.