Skip to content

Instantly share code, notes, and snippets.

@AfzalivE
Created November 14, 2017 01:16
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save AfzalivE/54214bf437ca1775b5b8e7934cc137db to your computer and use it in GitHub Desktop.
Save AfzalivE/54214bf437ca1775b5b8e7934cc137db to your computer and use it in GitHub Desktop.
Ps3 eye + 3.5mm speaker asoundrc
# ps3 eye + 3.5mm speaker Raspberry Pi
## Suggested by http://julius.sourceforge.jp/forum/viewtopic.php?f=9&t=66
## Modified by https://github.com/afzalive
pcm.jack {
type hw
card ALSA
}
pcm.array {
type hw
card CameraB409241
}
pcm.softvol {
type softvol
slave.pcm "jack"
control {
name Master
card 0
}
}
pcm.cap {
type plug
slave.pcm "array"
slave.channels 4
ttable {
0.0 30.0
1.1 30.0
}
}
pcm.!default {
type asym
playback.pcm "plug:softvol"
capture.pcm {
type plug
slave.pcm "cap"
}
}
ctl.!default {
type hw
card 0
}
ctl.softvol {
type hw
card 0
}
@anmolsaraf
Copy link

anmolsaraf commented Feb 1, 2018

Worked for me. Thanks a tonne AfzalivE! Have been struggling with this since more than an hour. Thanks once again....

@NA-Dev
Copy link

NA-Dev commented May 28, 2018

This worked for me too! Thank you!!!

@Sean-Amor
Copy link

how do I set this up for hdmi sound output, while using the ps3eye for the mic? Also do I just save this as .asoundrc and drop this in my /home/pi?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment