Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Side by Side Diff: docs/accessibility/patts.md

Issue 2711263005: Correct some details in the instructions for modifying TTS engine. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # The Chrome OS PATTS speech synthesis engine 1 # The Chrome OS PATTS speech synthesis engine
2 2
3 Chrome OS comes with a speech synthesis engine developed internally at Google 3 Chrome OS comes with a speech synthesis engine developed internally at Google
4 called PATTS. It's based on the same engine that ships with all Android devices. 4 called PATTS. It's based on the same engine that ships with all Android devices.
5 5
6 ## Building from source 6 ## Building from source
7 7
8 This is for Googlers only. 8 This is for Googlers only.
9 9
10 Visit [http://go/chrome-tts-blaze](http://go/chrome-tts-blaze) 10 Visit [http://go/chrome-tts-blaze](http://go/chrome-tts-blaze)
(...skipping 15 matching lines...) Expand all
26 you can do this with the following command when the dev server is running, 26 you can do this with the following command when the dev server is running,
27 where CHROMEBOOK_IP_ADDRESS is the IP address of your Chromebook already 27 where CHROMEBOOK_IP_ADDRESS is the IP address of your Chromebook already
28 in developer mode, and $BOARD is your Chromebook's board name. 28 in developer mode, and $BOARD is your Chromebook's board name.
29 29
30 ```cros flash ssh://CHROMEBOOK_IP_ADDRESS xbuddy://remote/$BOARD/latest-dev/test ``` 30 ```cros flash ssh://CHROMEBOOK_IP_ADDRESS xbuddy://remote/$BOARD/latest-dev/test ```
31 31
32 Before you can make changes to PATTS, the first thing you need to run 32 Before you can make changes to PATTS, the first thing you need to run
33 (from the chroot) is call cros_workon with two relevant ebuilds: 33 (from the chroot) is call cros_workon with two relevant ebuilds:
34 34
35 ``` 35 ```
36 cros_workon --board=$BOARD start chromeos-assets 36 cros_workon --board=$BOARD start chromiumos-assets
dmazzoni 2017/02/25 01:56:18 Is it possible the difference has to do with wheth
Wez 2017/02/25 02:06:52 That's a good question; I did indeed just follow t
37 cros_workon --board=$BOARD start common-assets 37 cros_workon --board=$BOARD start common-assets
38 ``` 38 ```
39 39
40 Next, make sure you're in the platform/assets directory and run 40 From outside the root, from anywhere under your top-level ```<repo-dir>```, pull down the relevant sources:
41 ```repo start``` and create a branch.
42 41
43 ``` 42 ```
44 cd platform/assets 43 repo sync
44 ```
45
46 Again, outside the root, make sure you're in the ```<repo-dir>/src/platform/asse ts``` directory and run
47 ```repo start``` to create a branch:
48
49 ```
50 cd src/platform/assets
45 repo start <branch_name> . 51 repo start <branch_name> .
46 ``` 52 ```
47 53
48 54
49 The PATTS data files can be found in this directory: 55 The PATTS data files can be found in this directory:
50 56
51 ```platform/assets/speech_synthesis/patts``` 57 ```src/platform/assets/speech_synthesis/patts```
52 58
53 When updating the files, the native client files (nexe) need to be zipped. 59 When updating the files, the native client files (nexe) need to be zipped.
54 60
55 Replace all of the files you need to update, commit them using git, 61 Replace all of the files you need to update, commit them using git,
56 then from the chroot, run: 62 then from the chroot, run:
57 63
58 ``` 64 ```
59 emerge-$BOARD common-assets 65 emerge-$BOARD common-assets
60 cros deploy CHROMEBOOK_IP_ADDRESS common-assets 66 cros deploy CHROMEBOOK_IP_ADDRESS common-assets
61 ``` 67 ```
62 68
63 Note that you need to call cros_workon on both chromeos-assets and 69 Note that you need to call cros_workon on both chromeos-assets and
64 common-assets. You will be changing files in chromeos-assets, but 70 common-assets. You will be changing files in chromeos-assets, but
65 to flash it onto your device, you need to emerge and deploy 71 to flash it onto your device, you need to emerge and deploy
66 common-assets. 72 common-assets.
67 73
68 After that, reboot your Chromebook and verify that speech works. 74 After that, reboot your Chromebook and verify that speech works.
69 75
70 To upload the change, use repo upload, something like this: 76 To upload the change, use repo upload, something like this:
71 77
72 ``` 78 ```
73 git commit -a 79 git commit -a
74 BUG=chromium:12345 80 BUG=chromium:12345
75 TEST=Write what you tested here 81 TEST=Write what you tested here
76 repo upload . 82 repo upload .
77 ``` 83 ```
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698