Login
You're viewing the techdon.dev public feed.
  • Aug 24, 2026, 2:04 PM

    So I got lovely clear speech out of the ESP32. But generation time is slow: whether the eventual audio output was 7 seconds or 30, generation time was about 19.
    Obviously that's below real time for any significant speed. If I'm to use Eloquence on an ESP for anything serious I'm going to need real time generation at a minimum.
    SO it's time to poke at the unfinished rule acceleration branch and see if replacing the rule bytecode interpreter gives us any enhanced performance.

    💬 2🔄 0⭐ 1

Replies

  • Aug 24, 2026, 2:52 PM

    The level of detail inside these speech synthesizers is ridiculous.
    A short paragraph used 14,471,618 interpreted instructions across 2,362 distinct rules.
    All for about 7 seconds of audio.

    💬 0🔄 1⭐ 1
  • Aug 25, 2026, 1:47 PM

    I've had to pivot from the ESP32 as a design for portable epub parsing because I'm hitting a bottleneck of generating speech too damn slowly.
    My 700 word per minute output file runs for 6 seconds, but my best efforts have gotten the generation time to just under 15.

    On a raspberry Pi Zero, though, I can generate 6.018 seconds in 4.748s, which is great.

    I'll get nowhere near the battery life or standby time on a Pi, but at least if my Rockbox device dies now, I have a backup available.
    And no, my Rockbox device doesn't read epubs directly, I generate audio. But it's the form factor I'm after as much as anything and I can cope with something the size of a pi xero clipped onto my clothing.

    💬 1🔄 1⭐ 1
  • Aug 25, 2026, 2:18 PM

    Hmm...

    I did pick up an Innioasis Y1 last year. it was on offer for something silly like £18.20 with a voucher I had lying about. I tried the Rockbox port but the .talk clips and keypad were hellish compared to what I had.

    But that's a relatively potent beast compared with the boards I've been playing with...

    💬 1🔄 0⭐ 0
  • Aug 25, 2026, 3:46 PM

    yup, half an hour of tinkering and I've wripped out the guts of the Innioasis Y1 and it's now reading me text files with open EVV. Awesome.

    💬 0🔄 1⭐ 1
  • Sep 15, 2026, 1:08 PM

    In my downtime, I've continued to poke at the ESP32 SBC with the OpenEVV port of IBM's viavoice, despite really thinking I should give up on it.
    The Y1 was running android so, although the generation time is well above real time, the physical interface is shit. The Raspberry Pi was also an option, but its poor standby time is a right turnoff.

    I got generation on the ESP to fall from roughly 17.6 seconds to about 8 with my sample paragraphs, and rates through 110 are now faster than playback. Rate 120 is close at 0.91× real time. I think the bottleneck is that every compiled rule frame is being read from the units PSRAM.

    This audio plays for 2.26 seconds at rate 180. It generated in 7 seconds.
    💬 0🔄 3⭐ 3
  • Sep 15, 2026, 1:38 PM

    Cracked it. replacing the interpreted speech-rule bytecode with OpenEVV’s newer compiled C rules and doubling the board's instruction cache from 16 KB to 32 KB generates 6.0 seconds of audio in about 5.2 seconds—roughly 1.16× real time at speech rate 130. 130's plenty for me to consider moving to this hardware to listen to ebooks in the future, and going up to 140 would only mean a second or so's pause every few minutes. I can take that.

    💬 0🔄 2⭐ 1
  • Sep 15, 2026, 1:53 PM

    Next step in this project, move away from purely digital work to a device that I can listen to. My current development board doesn't have direct audio output. I can use pins on a breadboard, of
    course, but it's for testing really. I've just ordered a $35USD gismo with a 3.5mm audio jack, 5 way navigation keypad, Micro sD slot, speaker, microphone, battery connector and a USB-C port.
    It's got a 1.14 inch display I don't really need to use.
    The enclosure it comes with only fits a 500mAh battery, which is not ideal, but the stl's are all available so I think I could end up spending under $100 in total for the hardware of a completely portable eloquence-sounding reading machine.

    💬 2🔄 2⭐ 5
  • Sep 16, 2026, 10:54 AM

    I need to stop getting ideas now.
    In looking for a form factor to buy for my eloquence-based book reading hardware I came across the M5Stack Cardputer.
    My immediate thought was, how cool! I could whip up a modern successor to the Franklin Speaking Language Master!

    So many ideas, so little time. And money. Time and money.
    But who wouldn't want a modern talking dictionary? I spent literally days of my life between the ages of 5 and 15 using mine.

    💬 1🔄 1⭐ 1
  • Sep 16, 2026, 11:02 AM

    as someone who spent a great deal of time and energy getting teenagers to use technology, I can honestly say that the lack of a reliable, portable, offline dictionary has done the generations after me no good at all.
    There's software dictionaries of course, but you have to learn to use whatever they run on before they're useful to you. Being able to look up a word, play games, learn grammar, find connecting, similar and opposite words discretely was both entertaining and educational. I can't believe there wasn't a modern successor to the language master.

    💬 0🔄 9⭐ 7
  • Sep 19, 2026, 9:19 AM

    For those who were following my plans to make a portable reading machine: I've had to move away from using the old Doubletalk hardware, largely due to my own physical problems with wiring up the components. However, new since my plannning last year is a reverse-engineering project, making a slightly older version of Eloquence run on a far wider arange of hardware than previously possible.
    I'd have elected for Eloquence over Doubletalk had I had my druthers in the first place, so this is a bit of a win for me.

    My plans for things like an FM tuner and serial port control of the synthesizer are out and I'm not going to fundraise to 3d print my own hardware when there's off-the-shelf available. Getting an enclosure designed and printed would have been necessary with the Doubletalk because it was custom hardware as well as software.

    With this new eloquence port and a growing collection of ported synthesizers, I'm still aiming to produce a handheld ePub reading machine. The hardware I've found for under 40 bucks has a d-pad and power button, and the UI is designed and ready. For me, it'll mean less reliance on Rockbox and pregenerating audio and just sending the epubs directly to the thing when it comes onto wifi.
    The only 3d printing I might have to go for will be a replacement back plate to hold a slightly bigger battery, because 8 hours of play time is a bit poor for my liking.

    Voices already supported by the microcontroller include openEVV (Eloquence), my work-in-progress doubletalk64, pico tts, flight, and whatever neural model they end up squeezing into its hardware; a number of chinese voices are already compatible and I'm sure more will follow.

    💬 0🔄 4⭐ 4
  • Sep 19, 2026, 9:39 AM

    The ultimate aim is a lightweight, eventually wearable (if I can print a belt-clip), fast-booting book player that takes in ePub, plays them through headphones or a built-in speaker, allows me to navigate through the file, set bookmarks, record audio clips for notetaking and have a sleep timer. Those are the general requirements for my own use.

    💬 0🔄 2⭐ 0
  • Sep 19, 2026, 10:44 AM

    other voice options could include ESpeak and Both SAMS - Microsoft's one from the 2k/XP days and the lovely Software Automatic mouth circa 1982. How exciting!

    💬 0🔄 1⭐ 0
  • Sep 19, 2026, 4:01 PM

    @cachondo And don't forget DECtalk, EchoTalk (Echo II speech synthesizer), etc. Really, there needs to be a voice plugin architecture for this thing.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 1⭐ 1
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Sep 19, 2026, 4:40 PM

    @fireborn
    the *only* thing I'm not running it on is my watch, because it wasn't sure how to compile for that, despite it working on iOS. Maybe WatchOS 27 can help there. Otherwise I am officially unified! Mahaha!
    What I've always wanted.
    Now I can read books with Paperback using Orpheus like a boss.
    My Eloquence equivalent and I will probably die still using it.
    @Tamasg @jaybird110127 @cachondo

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Sep 19, 2026, 7:32 PM

    @twynn @Tamasg @jaybird110127 @cachondo The problem with that app is, as you say, it is very feature-rich. It is rather sluggish as a result. Also, because you can import any voice data you like, people have used it to import illegal copies of some tts engines, meaning some genuine applications have started detecting when it is installed and refusing to work.

    💬 0🔄 0⭐ 0
  • Sep 19, 2026, 7:45 PM

    @fireborn Right, I meant that maybe they already did the legwork so you don't have to reinvent the wheel, as it were, but I don't know much about the development, ie.e., if it's on some code repository already or not. @Tamasg @jaybird110127 @cachondo

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Sep 23, 2026, 12:26 PM

    The hardware arrived today.
    It's about as I expected in terms of quality, which is to say it feels fairly cheap and cheerful. But it has a tactile enough stick, which I can push in any of the 4 directions or inward toward the centre.
    In the attached audio, hear me waffle on a bit while the first test firmware flashes, and then you can listen to the crappy 1w speaker outputting eloquence.
    The shell is FDM-printed PLA, if that means anything to anyone. Physically, it's 56 mm tall × 31.4 mm wide × 24 mm thick.
    It *feels* chunkier than my old clip, but secondhand clips are going for between 3 and 5 times the price of this thing on ebay and replacing the ports and battery is an absolute mess.

    Me showing the first button test of the hardware.
    💬 1🔄 2⭐ 3
  • Sep 23, 2026, 3:28 PM

    prolonged text synthesis is a more challenging prospect than I'd hoped for. It's amazingly just how quickly you can fill a buffer with over 44,000 samples of audio if you're not careful.

    💬 1🔄 0⭐ 0
  • Sep 23, 2026, 9:27 PM

    It's the first time in my programming life I've had to specifically target a processor's individual core. But allocating the synthesis and playback to different cores renders playback smooth at the speeds I was getting on my test device. If they share a core, the voice stutters as more audio is added to the output buffer. which is kinda fun if you want to know when it's adding more audio, but verily irritating if you want a smooth listening experience.

    Here's a clip of the thing reading text of a book.
    I'm otherwise engaged for a couple of days now, but will come back to this exciting project next week. The audio here is just recorded from a cheap headset.

    A session of me adjusting volume, rate, and doing various play pause on  my ebook reading prototype.
    💬 1🔄 1⭐ 1
  • Sep 28, 2026, 10:32 AM

    An update on this reading gismo for y'all.

    So far, I've got relatively smooth playback of ePub content working from an SD card, with a basic file browser, your place retained on a per-file basis and the ability to hop back and forth by sentence whilst reading and between file section (which is usually chapter for fiction) when paused.

    When I activate file transfer mode from the menu, the unit connects to my home wifi and I can connect to and browse the card from my computer, no cables required. I can choose to pause between book sections, or just listen to the whole thing, which was one of the things I wanted specifically that rockbox does. There's a folder on the SD for various bits and pieces, including a substitution dictionary which works fine.

    The only fly in my current ointment is a 10 second delay on boot before I hear audio. That's just the once and, if my predictions are accurate, I'll be able to retain battery life for a number of days on standby. That 10 second regeneration time happens when I open a different book or change voice characteristics. I think, as long as I can keep it paused during my workday or evening's reading and not have to suffer that 10 second thing multiple times a day, I can live with it.

    I'm still waiting on a quote for the design of the external casing with the screw-holes for the belt clip. Production will be £5 per case unless I order more than 20, whihch is unlikely.
    The unit itself is £22, the battery is £3.50 and the belt clip is £1.50.
    That brings my hardware cost to £32 on the nose, without earphones.

    That's not a bad shout, is it?

    💬 1🔄 2⭐ 2
  • Sep 28, 2026, 10:52 AM

    I'd be genuinely interested in cold-start metrics from other reading machines versus their standby time.
    I'm using Rockbox, which has pre-generated audio but lets me resume listening in under 2 seconds, and before that was the Book Courier which, hardware speech chip, felt pretty damn instant.
    My wife has a 2nd gen VR Stream which I recall being a bit sluggish with a 64gb card on it, but I don't have empirical data.

    💬 0🔄 1⭐ 0
  • Sep 29, 2026, 9:01 AM

    I am pleased to say I was wrong about the 3d printed case for my book reading prototype not supporting a battery. I've gotten a good look inside the case now and there is a space for a small one. so even though I won't be able to clip it to me and walk about with it, I will be able to test the runtime off power. A vanishingly-small number of reading machines have physical clips on them, yet I've progressed from the Road Runner, to Book Courier, to Sandisk Clip plus and zip models, all 4 of which did and it's a feature I find I miss terribly when it's not there. The poor wife shoves her Stream into the waistband of her trousers. how unseemly!

    I'm still fighting a few stutters and stammers whilst loading text and having OpenEVV speaking at the same time. I'm very tempted to try a doubletalk port to see if the hardware copes any better. I don't want to abandon the eloquence sound, but it would be cool to hear the doubletalk portably again as well.

    💬 0🔄 1⭐ 0
  • Sep 30, 2026, 10:00 AM

    A couple of people have asked to hear me using this very, very early alpha version of my little reading thingy, so here's some audio.
    There's an LLM-generated transcript in the tags, it's not been proofread I'm afraid!
    There's a lot of work to do, it's not in a usable state as a daily book reader yet, but it's really cool to tinker with for such a cheap little machine.

    I demonstrate listening to OpenEVV on my 1.14 inch Freenove  Media Kit, which cost me just over £20 here in the UK.
    💬 0🔄 2⭐ 3
  • Oct 1, 2026, 11:54 AM

    I've fixed the stuttering issues that were hitting me at every sentence at speeds 130 and below on my boojie book reading wonder machine.
    I've also managed to smarten up the echo from the NVDA remote server, tighten up the wifi transfer speeds to something I can cope with, and built both British and US English as options when installing the firmwaere. I've got an experimental French build too, but the UI is still in English for the time being.

    Navigation inside a book is stilll ePub section or heading for now. Audio recording works, and alpha builds are available without needing a development environment if you have a Windows system to install from.

    Waiting on the batteries now. The one I have been testing with is for a much larger device,.
    Absolutely thrilled at the progress, though!

    💬 0🔄 1⭐ 0
  • Oct 1, 2026, 9:29 PM

    I just knew someone would ask me about the quality of the microphone.

    There's still a data writing problem with recording so you can't hear every word in this sample, but you will at least be able to get a flavour of how it takes my voice.
    Here's me trying to talk about what I'm going to do next with the thing. Add fix choppy recordings to that list now I guess!

    Really though, recording was always a nice-to-have, so it's not really urgent.
    I'm still blown away that, for less than I pay for lunch when eating out, I can buy something like this and make it talk exactly how I like. it's tickling my funny bone for sure!

    me talking about what I want to do next with the reader with a few stutters and dropped audio frames to make it sound a bit rubbish. But the mic quality is the significant thing in this file.
    💬 0🔄 0⭐ 0
  • Oct 2, 2026, 4:12 PM

    Pesky, pesky RAM. OpenEVV and a good chunk of a book didn't leave much room for the microphone but I think I've got a balance now. I can't hear any drops in this recording.

    an updated recording from the Freenove's internal mic.
    💬 0🔄 0⭐ 0
  • Oct 5, 2026, 10:38 AM

    I've been pondering the book opening issue on this hardware for a little while now.
    My current implementation opens a typical 75,000 word novel in about 8 seconds. A larger collection with 442000 words in it took nearly a minute and 20 seconds to open.

    The problem is, I can't cut that down on device. there's not enough internal memory for the unit to hold everything in its mind at once, but it needs to be able to look through the whole book to give you an accurate word count and reading time, as well as knowing where all the section and heading markers are to speed up navigation later on. The neat thing is, after that initial open, it keeps a little metadata file about the book to hand, so you only go through that once, even after a hardware reset. I was beating myself up a little over this, but I remember my older reading machines needed to prep the files before they were transfered. And other hardware like Orbit Player literally runs on android and has RAM in the hundreds of megs, rather than single digits. So I can't be too het-up about it.

    One of the options I've been talking about with testers is having these book metadata files generated at the computer when you copy the books across. It's vastly faster for your laptop or whatever to scan through the files on a more powerful processor. So that's certainly an option. No pressure, of course, and if you want to set your kit to open a book and have a jolly long think about it that's fine, it doesn't mind.

    The library is now a proper file browser supporting folders, sorting content alphabetically, by date or whatnot. I can record my little notes without the microphone dropping audio, so I am ready for the next phase of putting the battery in this thing and actually listening to a whole novel on it.
    Oh and I made it so unlocking optionally reports time or battery info. Or just resumes reading, we'll see how I feel about using it in the wild soon enough.

    💬 0🔄 3⭐ 3
  • Oct 6, 2026, 10:52 AM

    I have just pushed out another update to my Freenove book reading software for those of you following along. Changes include:

    • Folder browsing, sorting and recent files added to the library view.
    • EPUB, plain text, MP3, M4A and experimental M4B support.
    • Faster, more reliable EPUB opening and SD-card caching, with an option to read immediately if you aren't a browser.
    • Section, heading, sentence, paragraph, chapter, time-jump and narrowing-search navigation across file formats.
    • Improved keypad responsiveness.
    • Better recording and NVDA Remote reliability.
    • WebDAV file transfer should now run a bit smoother.
    • Optional RemSound receiver thanks to a user's contribution. I have no idea how this thing works.
    • Clock, internal device temperature, storage and reading-time status are available on-demand when a file is paused.
    • Configurable sleep timer, startup and unlock actions.
    • US English, British English and French voices, although I've not translated the user interface yet. If you do have a French book, have a go and let me know before I think about other languages. we're still limited to one language on-device at once.
    • New browser-based installer for Chrome and Edge—no Python or Windows application required. I'm a Firefox user so it doesn't work for me,, but yes you got that, you can literally install from a web browser, which is freaky.

    It’s still very early alpha software, so keep backups of books and recordings.
    Try it here:
    seanrandall.github.io/freenove

    Obviously, all the efforts of the people at freenove for the hardware, @Mudb0y for the speech synthesizer, and all those of you who've provided feedback, code, thoughts, ideas and advice who I won't name as I haven't asked you yet are owed a debt of gratitude. This will be the build of the software I take away from the computer to read with next.

    The freenove Media kit, a small gadget with a screen and navigation stick on the front.
    💬 1🔄 5⭐ 5
  • Oct 7, 2026, 2:39 PM

    Well damn. What are the odds that a function called sem_wait appears twice across such diverse systems? I'd have expected it in a couple of kernel drivers or something, but a speech synthehsizer?

    DECtalk’s sem_wait pauses one of the internal tasks until another part of its speech processor signals that work or buffer space is available.

    ESP-IDF’s POSIX sem_wait pauses a thread until an operating-system semaphore is signalled. Internally, the development framework expects this object to contain a valid FreeRTOS queue handle.

    Guess what? The handle it was getting was a DECtalk thing rather than a FreRTOS one. So we go round and round in a nice boot loop, like an aircraft circling to land because it's just got too much fuel.

    But yes, the next freenove Epub release will let you listen to all your modern shiny files with an emulated DECtalk PC, complete with that lovely tone between some sentences that I've not heard in literal decades. Nostalgia is biting hard, my friends.

    Pico TTS and OpenBST (keynote gold) are also in the pipeline.

    💬 0🔄 1⭐ 1
  • Oct 9, 2026, 8:46 AM

    Just a heads-up to anyone following my Freenove ebook plans in the UK, Amazon only have 9 of the units left in stock. Shipping from mainland china is between 3 and 5 weeks at the moment and the smaller kit is currently available for £29.95.
    I'm stil waiting on a new case, but without the Kit itself, the case won't do anyone a whole lot of good.

    I've not heard anything about them discontinuing them or any shortages abroad and I can't imagine they're selling in their droves, but it's worth a heads-up if you are interested.

    I don't think any of the major players in the portable reading machine market are particularly interested in retro speech or older voices. That's understandable when the biggest chunk of the visual-impairment market is the elderly and those with some but declining eyesight.
    Nonetheless, there's clearly a small but demanding group of people who really want the voices they like and are used to.
    And honestly where else can you get an ebook player for under fifty quid these days? A cheap MP3 player perhaps, but the market has been vastly curtailed by smartphones or priced at the high end by the big blind brands.

    💬 0🔄 0⭐ 1
  • Oct 9, 2026, 10:25 PM

    I guess I can't really call it an EVV reader now. OpenEVV is in there and will almost certainly be my daily driver of choice, but ... Well. why let the hardware go to waste? It's now becoming a proper Retro Reader. One of the kids television programmes Bertie enjoys of an afternoon has a young wizard shouting
    > "So! Much! Fun!"

    I couldn't agree more.

    We've moved on up to retroreader.uk

    Some samples of the available speech engines now running on the Retroreader.
    💬 1🔄 10⭐ 7
  • Oct 10, 2026, 6:49 AM

    @cachondo I'm going to have to put this together. What kind of battery are you using? I know it's not included with the kit, but if you have a particular battery you'd recommend, then I'll use that one. If not, I'll see what I can find.

    💬 0🔄 0⭐ 0
  • Oct 12, 2026, 1:07 PM

    The public is a fickle beast. That's my third request for Doubletalk. nobody's putting out for LLM credits, though. Have you seen these emulators? I can't fathom how I'm going to get something like that working. My initial experiment ran 5 and a half times slower than real time, and that's with parallel processing across both of the processor's cores.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Oct 12, 2026, 1:15 PM

    @fireborn I'm not against an emulator per se, but running one on this processor is an exercise in frustration.
    If you happen to have a lovely native Doubletalk port in c hanging about I'd take it!

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Oct 12, 2026, 1:19 PM

    @fireborn obviously doubletalk itself can run much more efficiently; they sell the hardware engine on a thing called a v-stamp which has nothing like the power of the processor the ESP32 uses.

    💬 0🔄 0⭐ 0
  • Oct 12, 2026, 1:20 PM

    @cachondo Right. It's the emulator that has the overhead. I want a native port anyway so I can use it on other devices without the added overhead, mostly because I'm optimisation obsessed.

    💬 1🔄 0⭐ 0
  • Oct 12, 2026, 1:25 PM

    @fireborn It's a bit like a print book, isn't it? someone would have typeset and printed it, but without access to the source document, we are stuck with OCR>
    We have doubletalk binaries we can put text into and get audio out of, but the software they loaded up into that box in the first place isn't anywhere.
    grrr.

    💬 0🔄 0⭐ 0