Search found 5627 matches

by blueznl
Mon Mar 27, 2023 10:43 pm
Forum: Coding Questions
Topic: Text to speech - Using Amazon Polly / S3 services from within PureBasic
Replies: 15
Views: 999

Re: Text to speech - Using Amazon Polly / S3 services from within PureBasic

Now I wonder, did anyone figure out a way to use the 'new' Windows 10 / 11 voices? They are pretty good compared with Amazon Polly and the old Sapi 5 voices. I Googled a bit, but couldn't find any reference. Looks like it's MS only? (For the difference, listen to this: https://ninelizardsblog.blogsp...
by blueznl
Mon Mar 27, 2023 10:41 pm
Forum: Coding Questions
Topic: Text to speech - Using Amazon Polly / S3 services from within PureBasic
Replies: 15
Views: 999

Re: Text to speech - Using Amazon Polly / S3 services from within PureBasic

Caronte3D wrote: Sat Mar 25, 2023 6:27 pm
blueznl wrote: Sat Mar 25, 2023 2:52 pm Can you run it on your machine without those DLLS?
You make me doub, I do my program some time ago, but I don't remember to install any dll :?
Memory like a sieve :-) Don't worry, I got it working with the other example.
by blueznl
Mon Mar 27, 2023 5:49 pm
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Speech (Windows)
Replies: 42
Views: 19333

Re: PB.Ex Speech (Windows)

Ah... Oh well, using the example in the other post then. I always try to program without any DLLs or Libs, reducing my dependencies on any such.
by blueznl
Sat Mar 25, 2023 2:52 pm
Forum: Coding Questions
Topic: Text to speech - Using Amazon Polly / S3 services from within PureBasic
Replies: 15
Views: 999

Re: Text to speech - Using Amazon Polly / S3 services from within PureBasic

Interestingly, it won't run on my Win 10 and Win 11 machine, as it is trying to open those .DLLs that are in the archive

In other words, the sample includes those DLLs, and the code tries to open them. Without those DLLs it doesn't run.

Can you run it on your machine without those DLLS?
by blueznl
Sat Mar 25, 2023 1:57 am
Forum: Coding Questions
Topic: Text to speech - Using Amazon Polly / S3 services from within PureBasic
Replies: 15
Views: 999

Re: Text to speech - Using Amazon Polly / S3 services from within PureBasic

idle wrote: Fri Mar 24, 2023 10:31 pm I just tried this, works on win 11

viewtopic.php?t=71402
Yes, it does! Thank you! I'm going to study what it does exactly...
by blueznl
Sat Mar 25, 2023 1:51 am
Forum: Coding Questions
Topic: Text to speech - Using Amazon Polly / S3 services from within PureBasic
Replies: 15
Views: 999

Re: Text to speech - Using Amazon Polly / S3 services from within PureBasic

That's similar to the code I found on the forum. (It might be the same code, actually.) But it's using some DLL that isn't found. Any suggestions? What dlls? It's only SAPI5 of Windows you don't need more. The example in that post includes some DLLs, doesn't it? (You have me mightily confused now.)
by blueznl
Fri Mar 24, 2023 5:52 pm
Forum: Coding Questions
Topic: Text to speech - Using Amazon Polly / S3 services from within PureBasic
Replies: 15
Views: 999

Re: Text to speech - Using Amazon Polly / S3 services from within PureBasic

That's similar to the code I found on the forum. (It might be the same code, actually.)

But it's using some DLL that isn't found. Any suggestions?
by blueznl
Fri Mar 24, 2023 5:51 pm
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Speech (Windows)
Replies: 42
Views: 19333

Re: PB.Ex Speech (Windows)

This looks interesting, but where do those DLLs come from?
by blueznl
Fri Mar 24, 2023 3:33 am
Forum: Coding Questions
Topic: Text to speech - Using Amazon Polly / S3 services from within PureBasic
Replies: 15
Views: 999

Re: Text to speech - Using Amazon Polly / S3 services from within PureBasic

> Note: I don't want to use external libraries if possible, to reduce dependencies.

:-)
by blueznl
Fri Mar 24, 2023 2:47 am
Forum: Coding Questions
Topic: Text to speech - Using Amazon Polly / S3 services from within PureBasic
Replies: 15
Views: 999

Text to speech - Using Amazon Polly / S3 services from within PureBasic

After fooling around with different TTS programs I still can't find what I'm looking for, so I'm considering writing my own. Think of a simplified Balabolka, simply monitoring the clipboard. Now I've tried the different TTS examples I could find on the forum but none seemed to work. Note: I don't wa...
by blueznl
Thu Feb 23, 2023 9:30 pm
Forum: Coding Questions
Topic: Resize Image Gadget with screen scale > 100%
Replies: 8
Views: 665

Re: Resize Image Gadget with screen scale > 100%

Caronte3D wrote: Thu Feb 23, 2023 8:59 pm You are right, but could be an option in preferences, at least for images in buttons and so
Yeah, well, I guess that's somewhat :-) what the compiler option 'DPI Aware' does :-)

From that point of view it isn't a bug, but it certainly deserves a note somewhere...
by blueznl
Thu Feb 23, 2023 3:16 pm
Forum: Coding Questions
Topic: Resize Image Gadget with screen scale > 100%
Replies: 8
Views: 665

Re: Resize Image Gadget with screen scale > 100%

... CreateImage(2,DesktopScaledX(w),DesktopScaledY(h)) ... I'm not entirely sure that is the right approach. When setting a screen scale, it is supposed to scale up / down all elements of a program, so the program doesn't have to be aware of the desktop scale. I would assume that this would also ap...
by blueznl
Wed Feb 22, 2023 12:19 am
Forum: Coding Questions
Topic: Resize Image Gadget with screen scale > 100%
Replies: 8
Views: 665

Resize Image Gadget with screen scale > 100%

Following code runs as expected with regular scale, but when I change the scale of my screen to 150% then it no longer (re)sizes the ImageGadget properly. (Looks like the imagegadget ignores screen scale?) OpenWindow(1,10,10,500,500,"Test",#PB_Window_SystemMenu|#PB_Window_ScreenCentered|#P...
by blueznl
Sun Feb 12, 2023 4:34 pm
Forum: Coding Questions
Topic: XY-LineDiagram
Replies: 3
Views: 440

Re: XY-LineDiagram

Something like this?

https://www.youtube.com/watch?v=kGyTswuWsfo

Oh wait. Sorry, no zoom function / mouse interaction implemented (yet). Never needed that thus far...