summaryrefslogtreecommitdiff
path: root/content/tech/audio-output-to-input.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/tech/audio-output-to-input.md')
-rw-r--r--content/tech/audio-output-to-input.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/content/tech/audio-output-to-input.md b/content/tech/audio-output-to-input.md
new file mode 100644
index 0000000..cc36313
--- /dev/null
+++ b/content/tech/audio-output-to-input.md
@@ -0,0 +1,15 @@
+---
+categories:
+- software
+date: 2015-11-28
+title: Route audio output to input
+---
+
+To be able to visualize my laptop's sound output with a python script, I needed an extra audio input that made it possible to capture the system's audio output.
+
+To achieve that, I did the following on my Raspberry Pi:
+
+ * install alsa-utils and pulseaudio
+ * get the pulseaudio init script [here](https://www.raspberrypi.org/forums/viewtopic.php?p=619713#p619713)
+ * add the users to the group "pulse-access", I got `ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect` without it even as root
+ * [create an ALSA monitor source](https://wiki.archlinux.org/index.php/PulseAudio/Examples#ALSA_monitor_source)