From dfd08db53909d39cd6bb1610a292cd967e53efe0 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 28 Sep 2017 14:49:24 +0200 Subject: init podcasting with pulse --- content/posts/podcasting-with-pulse.rst | 63 +++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 content/posts/podcasting-with-pulse.rst diff --git a/content/posts/podcasting-with-pulse.rst b/content/posts/podcasting-with-pulse.rst new file mode 100644 index 0000000..7252ec8 --- /dev/null +++ b/content/posts/podcasting-with-pulse.rst @@ -0,0 +1,63 @@ +A usable VIM Undo tree +################################## +:date: 2017-09-28 14:30 +:tags: pulseaudio, darkice + + +I want a very simple setup where i can podcast via studio-link with my headset. + +Therefore i have: +* Headset Mic ( alsa_output.CODEC.analog-stereo.monitor ) +* Headset Speaker ( alsa_input.CODEC.analog-stereo.monitor ) +* studio-link recording +* studio-link playback + +I need to create an extra streaming audio device and loop what i hear and what +i speak into this device: + + +.. code-block:: bash + + ~ pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming_Output" + 22 + ~ pactl load-module module-loopback source=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor sink=stream latency_msec=1 + 23 + ~ pactl load-module module-loopback source=alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo sink=stream latency_msec=1 + 24 + +Now lets open studio-link, set playback to **CODEC Analog Stereo** and +Recording to **CODEC Analog Stereo**. + +we start darkice with a configuration like this: + +.. code-block:: ini + + [general] + duration = 0 + bufferSecs = 5 + reconnect = yes + realtime = no + rtprio = 2 + + [input] + # pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming_Output" + # pactl load-module module-loopback source=alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo sink=stream latency_msec=1 + # pactl load-module module-loopback source=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor sink=stream latency_msec=1 + sampleRate = 44100 + bitsPerSample = 16 + channel = 2 + device = pulseaudio + paSourceName = stream.monitor + + [icecast2-0] + format=mp3 + channel=2 + bitrate=128 + bitrateMode=cbr + quality=0.6 + server=master.streams.xenim.de + name=Testi test + description=Test test + public=yes + localDumpFile=dump.mp3 + -- cgit v1.2.3