Matrix voice headphone/speaker - alsa switch

I have my matrix voice working successfully with Rhasspy. I just set it up to use the Matrix speaker connectors to provide audio output, and that works great!. I needed to change the switch: headphone to speaker in alsamixer but when i reboot i have all of my last settings but that one, it always defaults to headphone. Is there a way in asound.conf to assure that the switch defaults to speaker?
here is my rhasspy asound.conf:

pcm.!default {
type asym
capture.pcm “mic”
playback.pcm “speaker”
}

pcm.mic {
type softvol
slave {
pcm “array”
}
control {
name “MicArray Master”
card “MATRIXIOSOUND”
}
}

pcm.speaker {

type plug

slave {

pcm "plughw:2,1"

rate 44100

}

}
pcm.array {
type plug
slave {
pcm “hw:MATRIXIOSOUND”
}
}

pcm.channel_1 {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings.0 0
}

pcm.channel_2 {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings.0 1
}

pcm.channel_3 {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings.0 2
}

pcm.channel_4 {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings.0 3
}

pcm.channel_5 {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings.0 4
}

pcm.channel_6 {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings.0 5
}

pcm.channel_7 {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings.0 6
}

pcm.channel_8 {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings.0 7
}

pcm.all_channels {
type dsnoop
ipc_key 234884
slave {
pcm “hw:2,0”
channels 8
}
bindings {
0 0
0 1
0 2
0 3
0 4
0 5
0 6
0 7
}
}

@rickmini,

You should be able to set the audio out to Speaker on boot through /etc/rc.local.

Check this post for reference.

Best,
Samreen

Thanks. I’ll give it a try.