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

Re: [Emacspeak] Sharpwin First (hopefully) Useable Release



Do you mean the emacspeak/servers/sharpwin.exe? That runs, and speaks Sharpwin 1.2.0.

On 4/11/2024 7:07 AM, Robert Melton wrote:
Devin--

The first thing I would do is switch to the directory and
ensure you can run it by hand from the location.

Invalid Argument sounds like maybe the path to the binary
is causing an issue.

On Apr 11, 2024, at 07:27, Devin Prater <r.d.t.prater@xxxxxxxxx> wrote:

Okay, so putting require common-lisp at the top did fix that. That was a last-minute idea. So, now, Emacspeak loads, but the speech server doesn't start.

Debugger output:

Debugger entered--Lisp error: (file-error "Spawning child process" "Invalid argument")
  make-process(:name "Speaker" :buffer nil :command ("c:/Users/devin/Downloads/emacspeak-59.0/servers/es..."))
  start-process("Speaker" nil "c:/Users/devin/Downloads/emacspeak-59.0/servers/es...")
  dtk-make-process("Speaker")
  dtk-initialize()
  emacspeak()
byte-code("\305\10!\306\1\11\307\310$\203\20\0\11\202\23\0\211\11B\262\1\21\311\312!\210\n\204*\0\313\211\33\34\314\315!\210\316 *\210\317\320!\207" [load-file-name load-path noninteractive load-source-file-function file-name-handler-alist file-name-directory cl-member :test string= require emacspeak-preamble nil load "emacspeak-loaddefs" emacspeak provide emacspeak-setup] 6)
  load-file("C:\\Users\\devin\\Downloads\\emacspeak-59.0\\lisp\\emacs...")
  load-with-code-conversion("c:/Users/devin/AppData/Roaming/.emacs" "c:/Users/devin/AppData/Roaming/.emacs" t t)
  load("~/.emacs" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode -0x1dcc18aad9894e66>) #f(compiled-function () #<bytecode -0x1f3c61addc0c4f35>) t)
  command-line()
  normal-top-level()


On 4/10/2024 6:16 PM, Robert Melton wrote:
Devin--
So, the major difference between you and other users is having the dotnet
cli installed via scoop. Maybe try installing visual studio or the standard
dotnet SDK to ensure the issue doesn't live in the scoop package of dotnet.
If you are open to trying in any order, official .NET SDK then if that does
not fix it visual studio community edition. I only know for sure of a few
users at this point, but they are mostly developers, so might well be they
all had VS installed already.
On Apr 10, 2024, at 17:55, Devin Prater <r.d.t.prater@xxxxxxxxx> wrote:

PS C:\Users\devin\Nextcloud\src\sharpwin> dotnet restore
  Determining projects to restore...
C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : warning NU1604: Project dependency System.Speech does not contain an inclusive lower bound. Include
a lower bound in the dependency version to ensure consistent restore results. [C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.sln]
C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100: Unable to resolve 'NAudio (>= 2.2.1)' for 'net8.0'. [C:\Users\devin\Nextcloud\src\sha
rpwin\SharpWin.sln]
C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100: Unable to resolve 'NVorbis (>= 0.10.5)' for 'net8.0'. [C:\Users\devin\Nextcloud\src\s
harpwin\SharpWin.sln]
C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100: Unable to resolve 'System.Speech ' for 'net8.0'. [C:\Users\devin\Nextcloud\src\sharpw
in\SharpWin.sln]
  Failed to restore C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj (in 119 ms).


On 4/10/2024 4:41 PM, Robert Melton wrote:
Devin--
What do you get if you type "dotnet restore", it was my understanding NuGet
should just grab those files on your behalf (the NAudio files).
On Apr 10, 2024, at 17:32, Devin Prater (via emacspeak Mailing List) <emacspeak@xxxxxxxxxxxxx> wrote:

So, I tried to build it. I ran make.ps1, had to install dotnet-sdk, did it with Scoop. Then, when I ran make again, I got the below errors about dependencies. I don't know a thing about DotNet, but do I have the wrong version? Scoop gave me SDK Version: 8.0.204.

  Determining projects to restore...
C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : warning NU1604: Project dependency System.Speech does not contain an inclusive lower bound. Include
a lower bound in the dependency version to ensure consistent restore results. [C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.sln]
C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100: Unable to resolve 'NAudio (>= 2.2.1)' for 'net8.0'. [C:\Users\devin\Nextcloud\src\sha
rpwin\SharpWin.sln]
C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100: Unable to resolve 'NVorbis (>= 0.10.5)' for 'net8.0'. [C:\Users\devin\Nextcloud\src\s
harpwin\SharpWin.sln]
C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj : error NU1100: Unable to resolve 'System.Speech ' for 'net8.0'. [C:\Users\devin\Nextcloud\src\sharpw
in\SharpWin.sln]
  Failed to restore C:\Users\devin\Nextcloud\src\sharpwin\SharpWin.csproj (in 104 ms).



On 4/10/2024 12:00 PM, Robert Melton (via emacspeak Mailing List) wrote:
Update, there is now a make.ps1 that will build both SharpWin and
Emacspeak, so the four step install is:
1. Switch to Sharpwin directory in powershell
2. $env:EMACSPEAK_DIR="/path/to/downloaded/emacspeak"
3. ./make.ps1
4. Setup your init.el with normal emacspeak stuff.
The make.ps1 will copy the files for you, modify the .servers, and
build the loaddefs and the lisp files for you.
On Apr 9, 2024, at 17:39, Robert Melton <lists@xxxxxxxxxxxxxxxx> wrote:

SharpWin 1.2.0 is available for the Brave and True.

https://github.com/robertmeta/sharpwin

It works, and is a reasonable implementation, with some notable
missing things, the biggest being pitch manipulation. It will
have to be done by hand and I am working on it.  A log-sharpwin
is also notably missing, Windows stdin/stdout handling is a
thing of nightmares, trying to find a way to do this with
powershell and a batch file (you can see attempt in the repo,
doesn't work).

But notifications, voice selection, all the other basics are
in place and mostly working. It is all in either standard C#
or using NAudio for additional processing.

Report any bugs you find to the github repo!  Thanks.

--
Robert "robertmeta" Melton
lists@xxxxxxxxxxxxxxxx <mailto:lists@xxxxxxxxxxxxxxxx>
--
Robert "robertmeta" Melton
lists@xxxxxxxxxxxxxxxx
Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
To unsubscribe send email to:
emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe

--
Devin Prater
Emacspeak discussion list -- emacspeak@xxxxxxxxxxxxx
To unsubscribe send email to:
emacspeak-request@xxxxxxxxxxxxx with a subject of: unsubscribe
--
Robert "robertmeta" Melton
lists@xxxxxxxxxxxxxxxx

--
Devin Prater
--
Robert "robertmeta" Melton
lists@xxxxxxxxxxxxxxxx

--
Devin Prater

--
Robert "robertmeta" Melton
lists@xxxxxxxxxxxxxxxx


--
Devin Prater


|Full archive May 1995 - present by Year|Search the archive|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page