-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test SpeechSynthesisUtterance volume attribute #9963
Conversation
TODO: automate test to verify audio output of speechSynthesis.speak() using Web Audio API.
Build ERROREDStarted: 2018-03-12 02:50:28 Failing Jobs
View more information about this build on: |
@andrenatal @fleizach @gshires @jdsmith3000 What needs to be done to add this test to speech-api folder at this repository? |
@foolip Can this test be merged into the speech-api tests directory? |
Please have a look at https://web-platform-tests.org/writing-tests/manual.html for some tips for manual tests, in particular the test needs to make it clear to the person running it what is passing and not. For example, you might try to utter the "FAIL" with volume 0, then the word "PASS" with volume 1, and instructions say that the test passes if you only hear the PASS. |
MediaSource crashes tab at Chromium/Chrome References: #15816 https://bugs.chromium.org/p/chromium/issues/detail?id=820997 https://github.com/guest271314/MediaFragmentRecorder
Outputs expected result at Firefox. Crashes tab at Chromium/Chrome #15816
…diaelement-capturestream Test HTMLMediaElement.captureStream()
…ce-htmlmediaelement-capturestream Revert "Test HTMLMediaElement.captureStream()"
@guest271314 did you accidentally merge in more stuff to this PR? Did you have a look at https://web-platform-tests.org/writing-tests/manual.html? Sorry this has been sitting for so long, but it hasn't come up in my inbox because nothing happened until now. |
@foolip It took a few days to get this PR here. Did not intentionally include the Web Speech API Will try to not to state the issues at GitHub to prevent being banned here as well people tend to get emotional when talking to them without kid gloves on re their "platform"; and have already been redirected to some page that states "abuse" of the site by simply searching, after the recent acquisition of the site. Does the test need to be written according to the linked manual test page? And then, does this PR need to be closed and a new PR opened? Can you provide the complete steps necessary for this PR to be incorporated into wpt, to avoid eventually filing another issue for the purpose of navigating this site and |
@foolip Does the manual test need to include buttons for both "PASS" and "FAIL"? |
@guest271314 you don't need to have any buttons in the test itself, just instructions that are visible when opening the page that say what the user should do to judge whether it passes or not. Right now that's in JS comments, so putting the instructions in HTML would be good. Other than that, you just need to get rid of the extra commits so that there's just one file remaining. If you don't want to deal with |
@foolip Is this appropriate?
If so, what needs to be done? Place that HTML in own fork and make another PR? Or can the code in this PR be changed? |
@guest271314 yes you can update the code in this PR by updating the master branch of your fork, since that's the branch used to create this PR. Or, if you find it simpler, you can just send another PR. In the code you pasted, using the |
@foolip Has been several OS's ago since dove into Web Speech API. Have to get the code working again, locally, which may require setting up Speech Dispatcher server again. Been a while since mapped a flow chart of how to use Web Speech API. Have not, in general, had success filing PR's. Something invariably is included or not included which should or should not have been included. Will try to make sure the code still works at Chromium and update this PR over the next couple days. |
@foolip Another consideration that needs to be taken into account is that autoplay policies of browsers have changed since this PR was initially filed, e.g., guest271314/SpeechSynthesisRecorder#13 |
@foolip Updated the code at f580334. Tested at Firefox 66 and Chromium 73. Will try at Nightly 68 within a day or so. The volume does appear to change at Firefox, not at Chromium plnkr https://plnkr.co/edit/iV2DdU?p=preview. |
@foolip Note, for the code to have audio output at Chromium at *nix |
speech-api/SpeechSynthesisUtterance-volume-attribute-test-manual.html
Outdated
Show resolved
Hide resolved
speech-api/SpeechSynthesisUtterance-volume-attribute-test-manual.html
Outdated
Show resolved
Hide resolved
mediacapture-fromelement/testRecordingMediaFragmentsWithMediaSourceAndMediaRecorder.html
Outdated
Show resolved
Hide resolved
Delete testRecordingMediaFragmentsWithMediaSourceAndMediaRecorder.html from PR including Web Speech API test
@foolip Made the suggested changes to the code. |
…SpeechSynthesisUtterance-volume-manual.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@foolip There is a syntax error at closing </html>
tag
@guest271314 I fixed that (and a blank line, and the filename) before merging. |
@foolip |
@guest271314 can you send another PR to fix? |
@foolip Still not versed enough yet with how to make a PR using the GitHub GUI. Tried for at least an hour yesterday to create a PR for the deleted (from this PR) |
@foolip Following the suggestion of @jdm at #15816 (comment) was helpful though led to multiple PR's being incorporated into this PR (which had to delete files from). master...guest271314:master is the link from that comment. How to "clean up" the multiple PR sources to both update this PR (the code) and separately file the PR which tests capturing |
@guest271314, if you want to edit a single file and create a new PR, navigate to it from https://github.com/web-platform-tests/wpt?files=1 and then edit, you'll be at a URL like this: Then just write a commit message and create the PR. |
TODO: automate test to verify audio output of speechSynthesis.speak() using Web Audio API.