Guest User

Untitled

a guest
Dec 12th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. # Transcript Helper
  2.  
  3. ## What this is
  4. This script is adds some little doodads to your page to help you transcribe local audio files, directly in the browser. It even works within Google Docs. This has only been tested in Google Chrome, and all the instructions are specifically for Chrome; though there's no reason the code itself shouldn't work in other browsers.
  5.  
  6. Installation is a little fiddly, but doesn't take long.
  7.  
  8. ## How to install
  9. - Open Chrome Dev Tools. (CTRL + SHIFT + I)
  10. - Go the "Sources" tab.
  11. - If the left sidebar is not open, click the arrow to the left to bring it out.
  12. - Within the left sidebar, go to the "Snippets" tab. You may have to click the double arrows to reveal this option.
  13. - Click "New Snippet."
  14. - Paste the code in the snippet.js file (below) into the big text field to the right. Hit CTRL + S to save it. Optionally, you can rename the snippet to whatever you wish.
  15.  
  16. ## How to use
  17. - Go to any page on the web.
  18. - Run the snippet. You can do this in a number of ways:
  19. - Right-click the text box and select "Evaluate in console."
  20. - After clicking in the text box, press CTRL + Enter.
  21. - After the snippet's been started, you can just close the Chrome Dev Tools and carry on as normal.
  22. - A file input will appear on the page to the top-left. Click it and select the audio file you want to play.
  23. - After selecting an audio file, the file will start playing. The file input will be replaced by a box displaying the current time within the file.
  24. - To scan to a specific time within the file, type the new time into that box, and press Enter.
  25. - There are keyboard shortcuts built in to the snippet, which you can press to do different things. You can change the configuration at the top of the file by fiddling with the values. The default configuration is the following:
  26. - Play: F1
  27. - Pause: F2
  28. - Slower: F6 (slows down playback by 10%, to a minmum of 10% speed)
  29. - Faster: F7 (speeds up playback by 10%, to a maximum of 100% speed)
  30. - Back: F9 (rewinds 2 seconds)
  31. - Forward: F10 (skips 4 seconds)
  32.  
  33. > **A note for Chromebook users**: You can use the top row of your keyboard as function keys. There are two ways to do so:
  34. > - Hold the Search key and press a top-row key (except escape and the power key).
  35. > - Or to turn on the Function keys so they default to function keys, and when you hold the Search key they become "Back," "Forward," etc.... go to Settings > Device > Keyboard > turn on "Treat top-row keys as function keys."
  36.  
  37. You may change the values of the configuration at the top of the code, but I'd recommend the average user should not change anything below that to avoid breaking it.
Add Comment
Please, Sign In to add comment