Speech dispatcher output to bluetooth (navit) ?

Rask Ingemann Lambertsen rask at sygehus.dk
Sun Feb 15 22:45:59 CET 2009


On Thu, Jan 22, 2009 at 09:38:41PM +0100, Lothar Behrens wrote:
> Has no one got the output of speech-dispatcher into a bouetooth headset ?
>
> Using mplayer -ao alsa:device=bluetooth works, but not spd-say. It  
> always comes out of the speaker.

   What does the speech-dispatcher documentation say about selecting a sound
card for output?

   Also try some of the stuff from the wiki:
http://wiki.openmoko.org/wiki/Neo_1973_audio_subsystem#Driver_Status_3

   Specifically these:

http://wiki.openmoko.org/images/3/3d/Btcpu_gta02.state.txt
http://handheldshell.com/bluetooth_pcm
http://opensource.wolfsonmicro.com/~gg/bluetooth-pcm/bluetooth_pcm.c

   Usage would be something like this:

$ alsactl restore -f Btcpu_gta02.state.txt
$ ./bluetooth_pcm &
[play some sound here]
$ killall bluetooth_pcm

   The interesting controls of the state file are these:

20 'Sidetone Capture Volume' -> 0 (increase as needed).
64 'Capture Right Mux' -> 'Sidetone' to route playback mixer sound into right ADC.
66 'Capture Right Mixer' -> 'Analogue Mix Right' to record right channel
   from right ADC.
67 'Capture Left Mixer' -> 'Analogue Mix Right' to record left channel
   also from right ADC.
68 'Playback Mixer Voice Capture Sw' -> false to not mix GSM output into the
   sidetone.
69 'Playback Mixer Left Capture Swi' -> true to mix left output into the
   sidetone.
70 'Playback Mixer Right Capture Sw' -> true to mix right output into the
   sidetone.

(Maybe look at control 22 'Capture Volume' too?)

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year




More information about the community mailing list