13 April 2020, 00:06 | #1 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 388
|
Can narrator.device output to raw file?
Hi
I was wondering for a small project whether it would be possible to get the amiga’s text to speech (narrator.device) to output to a raw audio file instead of being played through the speakers or is this just an impossible task? I was wanting to create a program to do this so these files can be exported later to PC to be used in a modern app. Ideally have amiga emulator running in the background with some automation to get the files over to the PC Final goal: on windows i can type something and the text gets processed on amiga and then the PC receives the speech file and can play it back |
13 April 2020, 07:03 | #2 |
Registered User
Join Date: Feb 2004
Location: Valby, Denmark
Age: 48
Posts: 90
|
Could this be of any use? http://aminet.net/package/util/conv/say2raw
Have not tried it myself. |
13 April 2020, 10:18 | #3 | |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 388
|
Quote:
Thanks. I'll try this one in the meantime but looking at the doc, it has a fixed buffer of 100000 bytes so if a speech is too long for that, it results in an error so it's limited. |
|
13 April 2020, 10:52 | #4 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,236
|
Quote:
The narrator.device output goes to the audio.device, always. This is hardcoded. What one could do is patch up the audio.device BeginIO() function and by that redirect the output to a file, but there is no option or flag of the narrator.device itself. |
|
13 April 2020, 11:02 | #5 | |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 388
|
Quote:
Interesting. I'm assuming there's no modern port of narrator.device that works on x86 is there? That would be the most convenient option. Otherwise, is there a commented disassembly of audio.device as a starting point for patching that function? |
|
13 April 2020, 16:48 | #6 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
If you are doing this purely to get the "sound" of the amiga narrator, maybe you could find an x86 implementation that generates the same sound, considering C= licensed the speech tech from a third party (can't remember who).
|
13 April 2020, 17:02 | #7 |
Registered User
Join Date: Apr 2016
Location: Perth, Australia
Posts: 388
|
All I need is the sound. I have an existing text to speech iOS app that I made and I just thought it would be cool if possible to get the old Amiga voice in there as a selectable voice. Even if it means sending the text to a server to process the text which sends back the audio file to be played back by the phone.
|
30 April 2020, 14:39 | #8 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,236
|
Quote:
http://www.text2speech.com/ Though this is commercial. Note that this product is by the same people that created the narrator.device. I do not know how well this works, and I am not affiliated with them. Why would you need a dissambly for that? The device interface is publically available. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Games that can't be represented in a CT RAW file! | BarryB | project.SPS (was CAPS) | 0 | 09 September 2017 15:29 |
narrator.device via assembly | h0ffman | Coders. System | 6 | 30 July 2016 19:50 |
Select output device for CD audio | thomas | support.WinUAE | 1 | 29 July 2014 21:15 |
Narrator.device | thinlega | request.Apps | 2 | 31 May 2004 06:37 |
narrator.device? | th4t1guy | support.WinUAE | 4 | 23 April 2004 15:27 |
|
|