so i was able to build sam text to speech for haiku however it only seems to work if i output the speech as a wav file and play it back with a media player heres the source code i used
here are the changes i made to the makefile in order to get this to work
why do this you may ask because i can though if you want some thing more reliable i would just use espeak but if your an odd ball like me this is how to do it
I’m thinking about maybe making a haiku. Package, but I’m not too sure about the licensing and stuff on the github repository, it does say it’s under “fair use” but it seems kind of sketch then again it is pretty much forty year old abandoneware
well screw it i made a haiku package I should do some tweaks to the info file but here it is I tested the package it should work I don’t have my own repo yet so for now I’m just gonna host it using google drive for now but stay posted on that I might make one in the far future and its all going to be simple ports like this one
I know, right. I just wish it would actually output to the speakers directly, instead of having to save a wave file then, again, the fact that I have it even partially working is amazing let me know if you have any other problems with it or anything i could do differently with porting it
It’s a tiny testing code that use the BSoundPlayer class, a background thread reading audio samples (44.1kHz 16bits stereo) from a Wav file and pushing them to a port so that the BSoundPlayer registered callback could consume these samples and .
I guess the sam -wav ooutput option is somehow producing these samples and write then in a file. Instead, a patched version could then use the Haiku API to actually play the generated audio samples instead.