A small browser extension providing playback controls for the listening / speaking / translation challenges on Duolingo.
-
Adds controls to each sound of the listening / speaking / translation challenges:
-
Full controls are available by hovering over the buttons or using the keyboard shortcuts, and feature:
-
a rate (speed) slider,
-
a volume slider,
-
a seek bar,
-
a play / pause button,
-
a stop button,
-
a "pin" button (to define the current position as the new starting position).
-
-
Strives to blend seamlessly in Duolingo's UI, and to be compatible with custom themes such as Darklingo++:
The selected control panel is identifiable by the keyboard icon that is added next to its buttons:
In order to use the keyboard shortcuts, the selected control panel must be focused by pressing Ctrl
.
Once focused, the keyboard icon becomes highlighted.. :
.. and you can use:
-
Ctrl
to focus back the answer input, -
Tab
to select (and focus) the next control panel, -
<
/>
(orCtrl
+←
/→
) to decrease / increase the playback rate (speed), -
↓
/↑
to decrease / increase the playback volume, -
←
/→
to move the position backward / forward, -
0
..9
to set the position at 0 .. 90% of the duration, -
Home
to set the position at the start, -
End
to set the position at the end (think of it more or less as a stop button), -
Space
/k
(orCtrl
+↑
) to play / pause the sound, -
p
(orCtrl
+↓
) to "pin" the current position (the sound will now start from there each time it is played).
Shortcuts behind parentheses are provided as alternatives for when the main ones are not available.
This can happen for example when a "keyboard-aware" word bank is available for the current challenge.
-
The extension is deeply tied to the inner workings of Duolingo, meaning that significant changes on their side could (temporarily) break it. If that happens, you can either:
-
wait for me to fix it (you can open an issue if there is none yet about it),
-
if you're a developer, try to fix it yourself, then open a related PR.
-
-
Due to hard limitations with the underlying technology (sounds are not accessible via Ajax requests, preventing us from using the Web Audio API), the volume can not be raised over 100%.
If you encounter a bug, or if you have a suggestion regarding a new feature, don't hesitate to open a related issue!
MIT, see LICENSE
Duolingo is a registered trademark of Duolingo, Inc. This extension is not affiliated with or endorsed by Duolingo, Inc.