Homebrew [Paid Homebrew Request] Port of Flite Text-To-Speech to 3DS

hoksyjp

Active Member
OP
Newcomer
Joined
Aug 20, 2016
Messages
39
Trophies
0
Age
26
Location
Boston
Website
illteteka.itch.io
XP
141
Country
United States
HOMEBREW REQUEST!

So I've been trying to port Flite, a lightweight text-to-speech application to 3DS but I've been hitting walls with trying to build it. Interestingly enough, there's a NDS port of an older version of Flite in the form of MyDSReader. I'm working on a 3DS homebrew game where I would like character's speech to be read in realtime by Flite, (Flite can generate .wav files).

There's one C file, something to do with sockets which breaks from it's current implementation of it. I've included a fix for it which just disables this functionality, it's located in \flite-2.0.0-release\src\utils\. ---> http://pastebin.com/CTmkM9kG

Here's a video of MyDSReader:


Please note that I would be willing to pay the first person who can get Flite to build and run with ctrulib and devkitPro... a whopping $20 + change into your Paypal account, but I need to be able to build and use your implementation of it.

Sorry if something like this isn't allowed here, mods feel free to take down this post if that's the case.
 

hoksyjp

Active Member
OP
Newcomer
Joined
Aug 20, 2016
Messages
39
Trophies
0
Age
26
Location
Boston
Website
illteteka.itch.io
XP
141
Country
United States
@jsa I kept running into errors like "ld: warning: cannot find entry symbol _start; defaulting to xxxxxxxxxx" before finishing building. Eventually it stoped but didn't give any sort of positive affirmation that it did build correctly (which I guess could be normal) But, I wouldn't know how to add new libraries to crtulib. Any attempts I made to modifying the makefile / main.c, it wouldn't recognize the flite commands I had added (even after ensuring flite.h was included) It would be great if a general purpose guide existed for adding C libraries to 3DS, but bearing in mind that if there's any actual porting of Flite, I wouldn't want to do any work, like rewriting C code. However, that shouldn't be an issue considering the NDS port of Flite worked without modification of the souce (to my knowledge). I contacted the guy who did the NDS port and his source code seemed incomplete on the actual DS end of things.

...

If in the end no one takes me up on this homebrew bounty, I'd probably just make some sort of shitty make shift TTS application, it's nbd but it wouldn't be necessarily understandable.
 

jsa

Well-Known Member
Member
Joined
Oct 21, 2015
Messages
224
Trophies
0
Location
Devon, UK
Website
muffinti.me
XP
396
Country
United Kingdom
@hoksyjp The errors you're getting sound like errors you'd get if you haven't linked the library ;)
You need to build Flite as a Portlib; this is reasonably simple, however I can walk you through this on Skype or Discord (josh.kelly[twenty-seven in numbers]@outlook.com / thejsa#7237 on https://discord.gg/YGyTThH (/r/3dshacks Discord, tag me on the #dev channel)).

Generalised instructions:
Code:
./configure --prefix=$(PORTLIBS_PATH)/armv6k --host=arm-none-eabi --disable-shared --enable-static
in a Bash prompt in the Flite source directory (the one with a configure file in it), then
Code:
make && make install
.
 
Last edited by jsa, , Reason: Used BBCode rather than Markdown (I've used Discord way too much now, ahah)
D

Deleted User

Guest
Pls can som1 place here source demo poc code and cia build? Id like to use it in my future projects (planned)
 

hoksyjp

Active Member
OP
Newcomer
Joined
Aug 20, 2016
Messages
39
Trophies
0
Age
26
Location
Boston
Website
illteteka.itch.io
XP
141
Country
United States
I think I've made the best homebrew ever made... great audio.

https://mega.nz/#!e0wGiQDS!Lm9L8kDqUhkRq-x-_semuQGwkM7egw-xNHzx5iJGOMc

Funnily enough, when I was trying to make my own program to string together English phonemes, this was my go-to test phrase.

--------------------- MERGED ---------------------------

Pls can som1 place here source demo poc code and cia build? Id like to use it in my future projects (planned)

Oh *now* everyone's interested in this ;)

...

Jkjkjk if I have time tomorrow, I'll put together a little building guide, unless someone else is up to the task.
 
D

Deleted User

Guest
Funnily enough, when I was trying to make my own program to string together English phonemes, this was my go-to test phrase.

--------------------- MERGED ---------------------------



Oh *now* everyone's interested in this ;)

...

Jkjkjk if I have time tomorrow, I'll put together a little building guide, unless someone else is up to the task.
I meant a demo of some simple "input text and click to speak it" or somthing like that
 
D

Deleted User

Guest
Not with the Flite API, but you can modify the audio samples it gives you however you like. There are also other voices with other accents/languages but you have to link them in.
Hmm interesting... will be sure to take a look
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion