Skip to content

win 11 / linux - talk-llama voice interface is broken. Commit d6b9be2 from 19.01.2204 #1796

@mirek190

Description

@mirek190

Under windows 11 / linux no audio output
Commit d6b9be2 from 19.01.2204

.\talk-llama.exe -mw ggml-large-v3.bin -ml marcoroni-7b-v3.Q8_0.gguf -s speak.bat -ngl 99 -t 16

Variables $1 and $2 from speak / speak.bat are not passing proper strings
For instance I changed under windows speak.ps1 to

# Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser
param(
  # voice options are David or Zira
  [Parameter(Mandatory=$true)][string]$voice,
  [Parameter(Mandatory=$true)][string]$text
)

# testing variables
Add-Content -Path C:\AI_music\output.txt -Value $voice
Add-Content -Path C:\AI_music\output.txt -Value $text

Add-Type -AssemblyName System.Speech;
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer;
$speak.SelectVoice("Microsoft $voice Desktop");
$speak.Rate="0";
$speak.Speak($text);

to get variables $1 and $2 to a file

Output the output.txt during talking with talk-llama

2
'
2
'
2
'
2
'
2
'

Conclusion - audio interface is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions