Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
113 user(s) are online (109 user(s) are browsing Forums)

Members: 0
Guests: 113

more...

Support us!

Headlines

 
  Register To Post  

Say or speech: in amigaos4?
Home away from home
Home away from home


See User information
Amigaos uptown version 3.1 circa had the say command and or a speech: possibility.

What about amigaos4.1?
Is there something similar?

Go to top
Re: Say or speech: in amigaos4?
Just can't stay away
Just can't stay away


See User information
@Raziel

Not one that comes with the OS.

But there have been reports of people installing the narrator.device, the translator.library and the Say command (if I remember the names correctly) from the older OS into their OS4 systems and getting them to work.

You may need to fiddle with the compatibility prefs.

Best regards,

Niels

Go to top
Re: Say or speech: in amigaos4?
Amigans Defender
Amigans Defender


See User information

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Say or speech: in amigaos4?
Home away from home
Home away from home


See User information
Thank you both

Go to top
Re: Say or speech: in amigaos4?
Just popping in
Just popping in


See User information
I can verify that the original Commodore narrator.device (version 37.7), speak-handler (version 37.4), translator.library (version 37.1), and SAY command (version 37.4) do work on AmigaOS 4.1 FE, like Niels said.

The narrator device has a bug in closing the device which makes the SAY command (or any other program using the narrator device) to crash. However, the bug can be avoided by mounting the SPEAK device (which uses the narrator device) on system start-up. As long as the SPEAK device is mounted, the narrator device remains open and it won't crash.


Edited by jap on 2019/8/15 14:42:03
Edited by jap on 2019/8/15 15:05:48
Go to top
Re: Say or speech: in amigaos4?
Home away from home
Home away from home


See User information
@jap

I guess that will be limited to Classic AmigaOS4.1 (or A1200/A4000 version..)

I'm sure there is no AHI device in AmigaOS 3.1 / 1.3 but I know there is audio: device, so maybe I'm wrong.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Say or speech: in amigaos4?
Home away from home
Home away from home


See User information
@jap

Anyway now that Hyperion is working on OS3.1.4. and update 3.1.4.1 it be nice to see a 3.1.4.1.1 that has that fixed.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Say or speech: in amigaos4?
Just popping in
Just popping in


See User information
@LiveForIt

The narrator device works with PPC hardware too, eventhough it's using the audio.device for audio output. I have an AmigaOne-XE and speech works fine, except that nasty bug in closing the device.

The reason for the speech to work on PowerPC Amigas is that AmigaOS 4.1 FE contains version 53.3 of the audio.device which uses AHI for audio output.


Edited by jap on 2019/8/15 14:40:28
Edited by jap on 2019/8/15 14:43:41
Edited by jap on 2019/8/15 15:09:18
Go to top
Re: Say or speech: in amigaos4?
Quite a regular
Quite a regular


See User information
@trixieQuote:
http://www.os4depot.net/?function=sho ... t/library/audio/flite.lha


Hmm...I wrote a GUI for flite back in 2007 and it was packaged with the original flite v1.2 program on OS4Depot. That archive is no longer available so I just uploaded fliteGUI in it's own archive. It is in upload section on OS4Depot at the moment.

It supports speaking text entered into a string gadget.
Loading a text file to speak.
Saving the spoken text as a .wav file.
It also has controls for setting the speed and pitch of the voice.

Just tested it and it works fine with flite v1.4 on OS4Depot.
Just place fliteGUI in the same directory as flite.
Hope someone finds it useful.

AmigaOne X1000, A1222Plus, uA1
Go to top
Re: Say or speech: in amigaos4?
Home away from home
Home away from home


See User information
@ktadd

Awesome, thanks

Go to top
Re: Say or speech: in amigaos4?
Just popping in
Just popping in


See User information
@jap

Quote:

I can verify that the original Commodore narrator.device (version 37.7), speak-handler (version 37.4), translator.library (version 37.1), and SAY command (version 37.4) do work on AmigaOS 4.1 FE


Yes, the "Say" command works. I copied those files from a Workbench 2.05 Floppy Disk and have excactly the same versions as you have.

Quote:

The narrator device has a bug in closing the device which makes the SAY command (or any other program using the narrator device) to crash. However, the bug can be avoided by mounting the SPEAK device (which uses the narrator device) on system start-up. As long as the SPEAK device is mounted, the narrator device remains open and it won't crash.


I also copied the MountList file to DEVS:

SPEAK:     
    
Handler L:Speak-Handler
    Stacksize 
6000
    Priority 
5
    GlobVec 
= -1
#


and added "Mount SPEAK:" to the Startup-Sequence. The device is being opened on startup. However, "Say" crashes (..ramlib...) when closing.

How did you mounted the SPEAK: Device? Also using the MountList file? Which parameters?

Thx

Go to top
Re: Say or speech: in amigaos4?
Just popping in
Just popping in


See User information
@jap

Confirmed also working on AmigaOne X1000, i also have some C code that calls narrator.device and allows you to send strings to it.

Go to top
Re: Say or speech: in amigaos4?
Just popping in
Just popping in


See User information
@Ami603

Just i case someone needs to access it for some software, here is the emulated call to translator.library that allows for several other language accents to be used;

LONG nTranslate(char * src, unsigned long srcLen, char * dst, LONG dstLen)
{
return IExec->EmulateTags(TranslatorBase,
ET_Offset, -30,
ET_RegisterA0, src,
ET_RegisterD0, srcLen,
ET_RegisterA1, dst,
ET_RegisterD1, dstLen,
ET_RegisterA6, TranslatorBase,
TAG_END);
}

Go to top
Re: Say or speech: in amigaos4?
Just popping in
Just popping in


See User information
@IamSONIC

Your mountlist file is correct. Place the file in the DEVS:DOSDrivers directory and set the file's tool type ACTIVATE to one (ACTIVATE=1). Then remove "Mount SPEAK:" command from the Startup-Sequence and make sure that the Startup-Sequence has the line "Mount QUIET DEVS:DOSDrivers/~(#?.info)". It'll mount the SPEAK: device.

The trick is the ACTIVATE tool type. Without it Say will crash.

Go to top
Re: Say or speech: in amigaos4?
Just popping in
Just popping in


See User information
I use FSay and it works just like Say, without crashing:





Works fine on my different PPC based Amigas.

Go to top
Re: Say or speech: in amigaos4?
Just popping in
Just popping in


See User information
@jap

Thank you!

Placing the file in DEVS:DOSDrivers and adding the tool type ACTIVATE=1 prevents "Say" from crashing.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project