1DOLLY 82PACKAGE voice3REQUIRES HOST runtime@04REQUIRES HOST microphone@05REQUIRES HOST pty@06REQUIRES HOST touch@07REQUIRES HOST threads@0891011FROM /Dollyfile-system 5eb06684bc61be6a1d9af98b8a740fba55b22ff4216f6cdb117c6ff6583104f012INSTALL /demos/speech/Dollyfile-parakeet d72034d79192813851cca73e6521be053f72a10295d0a1906184e2fadcc8ba2613USE /demos/speech/Dollyfile-transcribe 365926cf6c1a3bd29046b8ddbbc7c57bed70949a20a63123b4812ff726da48be14USE /Dollyfile-libdolly-microphone 8b9a6f70d275976642e44e78fadd229c7db56057f29e37475ff7332fda7a51e315USE /Dollyfile-libdolly-touch e575ebfcfdeb0bd32c82b34d59b0a25b627a1189a5a5ebdcc930073fe86594f016USE /Dollyfile-libdolly-pty 2dc46dfff7c7fee8075069868c7bbc87077a3eb712bb1865f34264ac0315dbd917REQUIRES TOOL cc18REQUIRES TOOL c++19REQUIRES TOOL tar20REQUIRES HEADER transcribe21REQUIRES LIB transcribe22SOURCE /dist/static/speech/programs.tar 8055dd388ad56c7462112366154bd22838a8593e76bbd275e26a598f8d9e3dcb /tmp/speech/programs.tar23SLOP tar -xf /tmp/speech/programs.tar -C /24SLOP cc -pthread -msimd128 -O2 -Wall -Werror -c /tmp/speech/voice.c -o /tmp/speech/voice.o25SLOP c++ -pthread -msimd128 -O2 /tmp/speech/voice.o /usr/lib/transcribe/libtranscribe.a \26 /usr/lib/transcribe/libggml.a /usr/lib/transcribe/libggml-cpu.a /usr/lib/transcribe/libggml-base.a -ldolly-pty -lm -o /usr/bin/voice2728EXPORTS TOOL voice29EXPORTS FOLDER transcribe-licenses /usr/share/licenses/transcribe.cpp30FILE /usr/share/man/cat1/voice.131 voice: runs a terminal program in all but the terminal's last rows, where it32 shows what it hears, gives the page buttons that a finger taps (touch@0),33 and types what each says, or what is said, into the program:34 transcribe.cpp with NVIDIA's Parakeet model.35 36 voice MENU [MODEL.gguf] -- PROGRAM [ARG...]37 38 In MENU, "[NAME] caption" begins a page of buttons and "LABEL = TEXT" is a39 button that types TEXT (\r Enter, \e Escape, \t Tab, \xHH a byte, \w a wait40 of 0.4 s). After the text, :speak listens and types what was said and41 :page NAME shows another page. pi-phone's /etc/dolly/pi.menu is one.42 PROGRAM runs on a pseudo-terminal; the keyboard and a paste still reach it,43 and PROGRAM may ask voice for the same, a line each, on the pipe44 VOICE_CONTROL_FD names: page NAME, type TEXT. It needs touch@0,45 pty@0 and microphone@0; the46 microphone is open only while it listens, and nothing that is said leaves47 the page.48