View previous topic :: View next topic |
Author |
Message |
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Sat Mar 08, 2014 6:22 pm Post subject: sox output as virtual mic in ALSA? |
|
|
What I want to do, is use sox as a voice changer for Teamspeak in online games. I have got the voice changing bit down, but how to I edit .asoundrc to make a virtual ALSA device that Teamspeak will see as a microphone? Or any other application for that matter.
My .asoundrc contains this, although it doesn't appear to work:
Code: | pcm.sox {
type file
format "raw"
slave.pcm "default"
file '/dev/null'
infile '/home/silent/soxpipe'
} |
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Mar 12, 2014 1:47 am Post subject: |
|
|
You can use a loopback device for this:
Code: | # modprobe snd-aloop
$ sox -t alsa hw:0,0 <effects list> -t alsa hw:Loopback |
and then have the other program use the loopback as input. |
|
Back to top |
|
|
Silent-Hunter Apprentice
Joined: 07 Jul 2013 Posts: 166
|
Posted: Wed Mar 12, 2014 10:55 pm Post subject: |
|
|
Thank you very much! I will try this!
EDIT: It appears as though that module doesn't exist or isn't installed. I'll try to find it.
EDIT: Thank you SO much! : |
|
Back to top |
|
|
|