From 8dc797819ef255c044ce8ce02eca9cad81207815 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 4 Jul 2020 02:55:24 -0400 Subject: [PATCH] Remove extra pages (news, usage, helpwanted) --- vocodes/src/App.tsx | 14 +- vocodes/src/AppMode.ts | 4 +- vocodes/src/modes/about/AboutComponent.tsx | 169 ++++++++++++++++++ .../modes/help_wanted/HelpWantedComponent.tsx | 41 ----- vocodes/src/modes/news/NewsComponent.tsx | 70 -------- vocodes/src/modes/usage/UsageComponent.tsx | 76 -------- vocodes/src/navigation/TopNav.tsx | 5 +- 7 files changed, 174 insertions(+), 205 deletions(-) create mode 100644 vocodes/src/modes/about/AboutComponent.tsx delete mode 100644 vocodes/src/modes/help_wanted/HelpWantedComponent.tsx delete mode 100644 vocodes/src/modes/news/NewsComponent.tsx delete mode 100644 vocodes/src/modes/usage/UsageComponent.tsx diff --git a/vocodes/src/App.tsx b/vocodes/src/App.tsx index 755f80184e..fd1e4790bf 100644 --- a/vocodes/src/App.tsx +++ b/vocodes/src/App.tsx @@ -1,13 +1,11 @@ import './App.scss'; import React from 'react'; import { Footer } from './navigation/Footer'; -import { HelpWantedComponent } from './modes/help_wanted/HelpWantedComponent'; import { Mode } from './AppMode'; -import { NewsComponent } from './modes/news/NewsComponent'; import { SpeakComponent } from './modes/speak/SpeakComponent'; import { TermsComponent } from './modes/terms/TermsComponent'; import { TopNav } from './navigation/TopNav'; -import { UsageComponent } from './modes/usage/UsageComponent'; +import { AboutComponent } from './modes/about/AboutComponent'; import { Speaker, SPEAKERS } from './Speakers'; import { ExtrasMode } from './modes/speak/extras/ExtrasComponent'; import { Spectrogram } from './modes/speak/extras/Spectrogram'; @@ -126,14 +124,8 @@ class App extends React.Component { case Mode.HISTORY_MODE: component = break; - case Mode.USAGE_MODE: - component = ; - break; - case Mode.NEWS_MODE: - component = ; - break; - case Mode.HELP_WANTED_MODE: - component = ; + case Mode.ABOUT_MODE: + component = ; break; case Mode.TERMS_MODE: component = ; diff --git a/vocodes/src/AppMode.ts b/vocodes/src/AppMode.ts index 543b9534ab..747ffb93cc 100644 --- a/vocodes/src/AppMode.ts +++ b/vocodes/src/AppMode.ts @@ -1,9 +1,7 @@ enum Mode { SPEAK_MODE, HISTORY_MODE, - USAGE_MODE, - NEWS_MODE, - HELP_WANTED_MODE, + ABOUT_MODE, TERMS_MODE, } diff --git a/vocodes/src/modes/about/AboutComponent.tsx b/vocodes/src/modes/about/AboutComponent.tsx new file mode 100644 index 0000000000..127a98a78d --- /dev/null +++ b/vocodes/src/modes/about/AboutComponent.tsx @@ -0,0 +1,169 @@ +import React from 'react'; + +interface Props { + resetModeCallback: () => void, +} + +function AboutComponent(props: Props) { + return ( +
+

Updates

+

+ July 4, 2020: Website improvements. +

+ +

+ Now you can download and reply previously generated speech from the "History" tab. + I'll also work on testing the website on a variety of browsers, platforms, and + devices to ensure it works. Making the website friendly for mobile devices is also + a priority. +

+ +

+ June 14, 2020: New website. +

+ +

+ I'm creating models for a variety of speakers. +

+ +

+ June 7, 2020: Website rewrite. +

+ +

+ I rewrote the incredibly dated frontend in React and added help, news, and other + information. The frontend won't be a huge concern for me going forward, but I'll + periodically continue to make upgrades. One critical feature I intend to add is the + ability to download audio files and replay them. +

+ +

+ June 4, 2020: There's a new model. +

+ +

+ I replaced the old model with a completely new one that doesn't crash and is a + 10x speed up over the last one. While it doesn't currently sound as good as the + old model, the performance improvements were good enough to warrant using it + immediately. I'll make it sound better soon. So many things in the pipeline... +

+ +

May 30, 2020: Intermittent failure.

+ +

+ There's now another issue with how models are distributed to the workers. I have + a solution in the works and expect it to be in place before morning tomorrow. +

+ +

+ May 25, 2020: I'm actively working on development. +

+ +

+ This site has been sitting in limbo for four years. It used to use concatenative + TTS, but now uses Tacotron. I've been working on ML for the past year, but haven't + taken the time to update this website. +

+ +

+ I've got an improved model in the works, and I'm focused on scaling the cluster. + There's an occasional server crash bug I'm chasing down (right now the server + instances respawn when they die). The frontend will be updated soon to no longer + cache results. +

+ + +

Usage Recommendations

+ +

Short sentences are bad

+ +

+ Don't say things like "hello" or "hi". They're too short for the current + model to generate good audio from. This may improve in the future, but it + is low on the list of priorities. +

+ +

Try and try again

+ +

+ If you're unhappy with how the results sound, try changing the words a litle. + Experiment. Try adding punctuation, such as periods and question marks. +

+ +

Use real words

+ +

+ "Asdfagdadf" is not a word, and Trump won't know how to say it. +

+ +

Sound out difficult words

+ +

+ If the words you want to use aren't working, that's likely because I trained the + network on phonemes instead of raw text. This phonetic information + comes from a database, and although this database contains over 130,000 words, it + unfortunately doesn't have entries such as "Fortnite". +

+ +

+ To make this work, try sounding out the problematic words: "pikachu is a pokemon" + can be rewritten as "peek ah choo is a poke ay mon". You can try "Fort Night" + instead of "Fortnite". +

+ +

+ I'll fix this issue as soon as I can, because I know how important this is to you. +

+ +

Example sentences

+ +

Try getting Trump to say the following:

+ +
    +
  • Why does it always rain on Christmas? It's so depressing.
  • +
  • I really appreciate how good of a friend you are.
  • +
  • You're clearly not trying hard enough. What's up with you?
  • +
  • The Dinosaurs were the dominant land animals of the Mesozoic era. + Over 500 different genera of dinosaurs are known. Fossils of dinosaurs + have been found on every continent, and there are still frequent + new discoveries.
  • +
  • Dinosaurs had adaptations which helped make them successful. + The first known dinosaurs were small predators that walked on two legs. + All their descendants had an upright posture, with the legs underneath + the body. This transformed their whole lifestyle.
  • +
  • Are you really reading this far? Good for you.
  • +
+ +

Help Wanted

+ +

Training Data

+

+ Are you currently creating TTS models? I'd be happy to pay to license + your annotated audio samples. Tell me what voices you have, the sample + rate, how noisy the data is, and a little about your annotation process. +

+ +

3D Modeller

+

+ I'm looking for a 3D artist or animator to make custom models and + animations for various characters (speaking, walking, articulating). + Environment, terrain, and world building skills are a huge plus. + I could rip models from VR Chat and make an attempt myself, but I'm + quite busy with working on the speech engine. +

+ +

+ This is a paid position. It isn't necessarily for this project. +

+ +

Contact

+ +

Send me a message on Twitter or Gmail (same handle).

+ + +
+ ) +} + +export { AboutComponent }; diff --git a/vocodes/src/modes/help_wanted/HelpWantedComponent.tsx b/vocodes/src/modes/help_wanted/HelpWantedComponent.tsx deleted file mode 100644 index 6e2beda6ee..0000000000 --- a/vocodes/src/modes/help_wanted/HelpWantedComponent.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import React from 'react'; - -interface Props { - resetModeCallback: () => void, -} - -function HelpWantedComponent(props: Props) { - return ( -
-

Help Wanted

- -

Training Data

-

- Are you currently creating TTS models? I'd be happy to pay to license - your annotated audio samples. Tell me what voices you have, the sample - rate, how noisy the data is, and a little about your annotation process. -

- -

3D Modeller

-

- I'm looking for a 3D artist or animator to make custom models and - animations for various characters (speaking, walking, articulating). - Environment, terrain, and world building skills are a huge plus. - I could rip models from VR Chat and make an attempt myself, but I'm - quite busy with working on the speech engine. -

- -

- This is a paid position. It isn't necessarily for this project. -

- -

Contact

- -

Send me a message on Twitter or Gmail (same handle).

- - -
- ) -} - -export { HelpWantedComponent }; diff --git a/vocodes/src/modes/news/NewsComponent.tsx b/vocodes/src/modes/news/NewsComponent.tsx deleted file mode 100644 index 72342a9450..0000000000 --- a/vocodes/src/modes/news/NewsComponent.tsx +++ /dev/null @@ -1,70 +0,0 @@ -import React from 'react'; - -interface Props { - resetModeCallback: () => void, -} - -function NewsComponent(props: Props) { - return ( -
-

Updates

-

- June 14, 2020: New website. -

- -

- I'm creating models for a variety of speakers. -

- -

- June 7, 2020: Website rewrite. -

- -

- I rewrote the incredibly dated frontend in React and added help, news, and other - information. The frontend won't be a huge concern for me going forward, but I'll - periodically continue to make upgrades. One critical feature I intend to add is the - ability to download audio files and replay them. -

- -

- June 4, 2020: There's a new model. -

- -

- I replaced the old model with a completely new one that doesn't crash and is a - 10x speed up over the last one. While it doesn't currently sound as good as the - old model, the performance improvements were good enough to warrant using it - immediately. I'll make it sound better soon. So many things in the pipeline... -

- -

May 30, 2020: Intermittent failure.

- -

- There's now another issue with how models are distributed to the workers. I have - a solution in the works and expect it to be in place before morning tomorrow. -

- -

- May 25, 2020: I'm actively working on development. -

- -

- This site has been sitting in limbo for four years. It used to use concatenative - TTS, but now uses Tacotron. I've been working on ML for the past year, but haven't - taken the time to update this website. -

- -

- I've got an improved model in the works, and I'm focused on scaling the cluster. - There's an occasional server crash bug I'm chasing down (right now the server - instances respawn when they die). The frontend will be updated soon to no longer - cache results. -

- - -
- ) -} - -export { NewsComponent }; diff --git a/vocodes/src/modes/usage/UsageComponent.tsx b/vocodes/src/modes/usage/UsageComponent.tsx deleted file mode 100644 index 8c77489e2b..0000000000 --- a/vocodes/src/modes/usage/UsageComponent.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import React from 'react'; - -interface Props { - resetModeCallback: () => void, -} - -function UsageComponent(props: Props) { - return ( -
-

Usage Recommendations

- -

Short sentences are bad

- -

- Don't say things like "hello" or "hi". They're too short for the current - model to generate good audio from. This may improve in the future, but it - is low on the list of priorities. -

- -

Try and try again

- -

- If you're unhappy with how the results sound, try changing the words a litle. - Experiment. Try adding punctuation, such as periods and question marks. -

- -

Use real words

- -

- "Asdfagdadf" is not a word, and Trump won't know how to say it. -

- -

Sound out difficult words

- -

- If the words you want to use aren't working, that's likely because I trained the - network on phonemes instead of raw text. This phonetic information - comes from a database, and although this database contains over 130,000 words, it - unfortunately doesn't have entries such as "Fortnite". -

- -

- To make this work, try sounding out the problematic words: "pikachu is a pokemon" - can be rewritten as "peek ah choo is a poke ay mon". You can try "Fort Night" - instead of "Fortnite". -

- -

- I'll fix this issue as soon as I can, because I know how important this is to you. -

- -

Example sentences

- -

Try getting Trump to say the following:

- -
    -
  • Why does it always rain on Christmas? It's so depressing.
  • -
  • I really appreciate how good of a friend you are.
  • -
  • You're clearly not trying hard enough. What's up with you?
  • -
  • The Dinosaurs were the dominant land animals of the Mesozoic era. - Over 500 different genera of dinosaurs are known. Fossils of dinosaurs - have been found on every continent, and there are still frequent - new discoveries.
  • -
  • Dinosaurs had adaptations which helped make them successful. - The first known dinosaurs were small predators that walked on two legs. - All their descendants had an upright posture, with the legs underneath - the body. This transformed their whole lifestyle.
  • -
  • Are you really reading this far? Good for you.
  • -
- - -
- ) -} - -export { UsageComponent }; diff --git a/vocodes/src/navigation/TopNav.tsx b/vocodes/src/navigation/TopNav.tsx index 4b5500f94a..bda2383885 100644 --- a/vocodes/src/navigation/TopNav.tsx +++ b/vocodes/src/navigation/TopNav.tsx @@ -11,10 +11,7 @@ function TopNav(props: Props) { )