speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Force speechd to send audio to wireless headset?


From: Peter Vágner
Subject: Force speechd to send audio to wireless headset?
Date: Fri, 27 Jul 2018 10:19:13 +0200

Hello,

I would say moving streams using pacmd has advantage that while the
wireless headset is not connected speech-dispatcher output will play
through the default pulseaudio sink. As soon as the headset connects pulse
can automagically move the stream to newly appeared sink with no
intervention from you.

I am using such a config for a few years now and it all works great with no
side effects.

Greetings

Peter


2018-07-27 8:02 GMT+02:00 Rapha?l POITEVIN <rpoitevin at hypra.fr>:

> Hi,
>
> On 07/26/2018 06:05 AM, Luke Yelavich wrote:
>
>> if using PulseAudio, you can either use I think its the pacmd command
>> from a terminal to change things, or you can use the pavucontrol GUI
>> utility to change the output.
>>
>
> If you just want to have speech-dispatcher in your headphone and if it is
> viewed as a sound card you can set environnement variables before running
> speech-dispatcher as follow:
> export PULSE_SOURCE=$(pactl list | grep -A2 'Source #' | grep -Eo 'Name:
> alsa_input.usb-Creative_Technology_Ltd_SB_X-Fi_Surround_5.1_Pro_000001U1-00.analog-stereo'
> | cut -d" " -f2)
>
> pactl list source and sink by numbers #0 #1 etc.
> The same with sink:
> export PULSE_SINK=$(pactl list | grep -A2 'Sink #' | grep -Eo 'Name:
> alsa_output.usb-Creative_Technology_Ltd_SB_X-Fi_Surround_5.
> 1_Pro_000001U1-00.analog-stereo' | cut -d" " -f2)
> then run speech-dispatcher.
>
> Regards,
>
> Rapha?l
>
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freebsoft.org/pipermail/speechd/attachments/20180727/6478c406/attachment.html>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]