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

Software speech synthesis in d-i



Hello,

Software speech synthesis is almost there in d-i. I'm just waiting for
portaudio19 to fix a small bug, and then with rootskel and
linux-kernel-di-i386-2.6 uploads I'll be able to upload espeakup-udeb
and make use of it in d-i.

Now the question is: how to let the user select it?

I've attached an example of what I plan to commit:

- Add sound modules and espeakup-udeb in addition to speakup modules.
- Add a menu entry which triggers that software speech synthesis
  support.
- Make the menu entry the last one so you can press End then Enter to
  start it.
- Make an 's' shortcut on it so you can press 's' then Enter to start it.

The goal is to be able to document starting it at boot very precisely in
the installation guide. Ideally, we'd manage to make the shortcut a
cross-distro standard, so that all Linux installers can be started with
software speech the same way.

Opinions?

Samuel
diff --git a/build/boot/x86/menu.cfg b/build/boot/x86/menu.cfg
index f1be77f..7e24424 100644
--- a/build/boot/x86/menu.cfg
+++ b/build/boot/x86/menu.cfg
@@ -25,3 +25,4 @@ label help
    Display help screens; type 'menu' at boot prompt to return to this menu
 	endtext
 	config ${SYSDIR}prompt.cfg
+include ${SYSDIR}spk.cfg
diff --git a/build/boot/x86/spk.cfg b/build/boot/x86/spk.cfg
new file mode 100644
index 0000000..ab64956
--- /dev/null
+++ b/build/boot/x86/spk.cfg
@@ -0,0 +1,4 @@
+label installspk
+	menu label ^Speech install
+	kernel ${KERNEL}
+	append desktop=%desktop% ${VIDEO_MODE} initrd=${INITRD} speakup.synth=soft -- quiet ${CONSOLE}
diff --git a/build/pkg-lists/netboot/gtk/amd64.cfg b/build/pkg-lists/netboot/gtk/amd64.cfg
index ea111b8..e8c021c 100644
--- a/build/pkg-lists/netboot/gtk/amd64.cfg
+++ b/build/pkg-lists/netboot/gtk/amd64.cfg
@@ -1,4 +1,7 @@
 mouse-modules-${kernel:Version}
-speakup-modules-${kernel:Version}
 xserver-xorg-input-evdev-udeb
 xserver-xorg-video-fbdev-udeb
+
+speakup-modules-${kernel:Version}
+sound-modules-${kernel:Version}
+espeakup-udeb

Reply to: