You are not logged in.

#1 2013-04-14 20:00:42

taylorchu
Member
Registered: 2010-08-09
Posts: 405

speech-to-text? text-to-speech?

this is a project that allows your archbox to speak and hear. It has two components: text-to-speech and speech-to-text.

some examples for speech-to-text:

speech-to-text <lang_code> <duration> // default english, 4
[march@localhost ~]$ speech-to-text 
today is Sunday
[march@localhost ~]$ speech-to-text zh-CN
今天是星期天
[march@localhost ~]$ speech-to-text ja
今日はいい天気です

some examples for text-to-speech:

text-to-speech <lang_code> // default english
[march@localhost ~]$ echo S\'il vous plaît | text-to-speech fr
[march@localhost ~]$ echo Est-ce que vous parlez anglais? | text-to-speech fr
[march@localhost ~]$ echo 你好嗎 | text-to-speech zh_tw
[march@localhost ~]$ echo 呵呵 | text-to-speech zh-cn

// you can also pipe in the full article
text-to-speech < test.txt

"After you do enough distro research, you will choose Arch."

Offline

#2 2013-04-17 06:20:18

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: speech-to-text? text-to-speech?


"After you do enough distro research, you will choose Arch."

Offline

#3 2013-04-17 12:47:08

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: speech-to-text? text-to-speech?

Wait a minute... Are you telling me you just casually made an open source spoken (via microphone) speech-to-text converter, the type of which nothing else currently exists, for Linux? yikes

Offline

#4 2013-04-17 13:07:35

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: speech-to-text? text-to-speech?

drcouzelis wrote:

Wait a minute... Are you telling me you just casually made an open source spoken (via microphone) speech-to-text converter, the type of which nothing else currently exists, for Linux? yikes

No he just made a bash script using google's different services (translate, speech etc.). I was shocked for a second too. big_smile


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#5 2013-04-17 14:22:10

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: speech-to-text? text-to-speech?

Oh, I see. Even so, this seems incredibly useful! My coworker just showed me the speech-to-text feature on his Android phone, and it appears to work very well.

I've been looking for something like this for a while. The more I think about speech-to-text functionality, the more use cases pop into my head. smile

Offline

#6 2013-04-18 02:20:40

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: speech-to-text? text-to-speech?

google has done a great job. I test japanese, chinese and english speech-to-text, and they all work really well.
if you are smart, you can create a notebook program with my "speech-to-text". At least I got it to work with vim and secretly took notes in class.


"After you do enough distro research, you will choose Arch."

Offline

#7 2014-12-04 18:45:39

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: speech-to-text? text-to-speech?

This is a great package.  Very easy to plug it into scripts involving tts.  Thanks!

Offline

#8 2014-12-04 19:03:48

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,637
Website

Re: speech-to-text? text-to-speech?

Very cool.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#9 2015-04-24 23:18:14

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: speech-to-text? text-to-speech?

I revived this project with the new implementation.

https://github.com/taylorchu/lana


"After you do enough distro research, you will choose Arch."

Offline

#10 2015-05-02 19:14:19

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: speech-to-text? text-to-speech?

Can you explain how the new implementation works?  I mean, how to use it?  The old input methods don't work.

That is, if I just want to be able to have it say "Hello, world" using the Google British English voice - how would I do that?

Last edited by emacsomancer (2015-05-02 19:59:33)

Offline

#11 2015-05-03 06:35:25

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: speech-to-text? text-to-speech?


"After you do enough distro research, you will choose Arch."

Offline

#12 2015-05-04 17:50:33

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: speech-to-text? text-to-speech?

But doesn't the method  supersede the keyboard?
Like android, we can see the dictation like we are typing it, is there a similar chance of use ?


do it good first, it will be faster than do it twice the saint wink

Offline

#13 2015-05-05 04:58:28

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: speech-to-text? text-to-speech?

@TheSaint

The rewrite just adds voice stop detection. The newer/unreleased  version can do anything local on your machine, and can do that effectively.


"After you do enough distro research, you will choose Arch."

Offline

#14 2015-05-19 16:33:14

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: speech-to-text? text-to-speech?

Yes, I had read through that page already, but it's not clear to me how to replicate the old behaviour of something like:
       

echo hello world | text-to-speech en-gb

Offline

#15 2015-05-19 17:41:03

taylorchu
Member
Registered: 2010-08-09
Posts: 405

Re: speech-to-text? text-to-speech?

I see. I added them today.

echo hello world | text-to-speech -lang=en-gb


"After you do enough distro research, you will choose Arch."

Offline

#16 2015-05-23 16:33:43

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: speech-to-text? text-to-speech?

Thanks!

Offline

#17 2015-06-24 12:11:37

nivata
Member
Registered: 2014-05-30
Posts: 20

Re: speech-to-text? text-to-speech?

Hi there. Pretty cool package indeed! Would it be possible to add an option to save the resulting .wav in a single file? (Right now it seems the text chunks are only played in sequence)

Offline

#18 2015-11-01 00:44:17

emacsomancer
Member
Registered: 2014-09-20
Posts: 211

Re: speech-to-text? text-to-speech?

What happened to this package?  I can't find the upstream git repo either.

Offline

Board footer

Powered by FluxBB