LectureLighter makes it easier to watch long lectures by speeding up the less important silent parts.
For example, if the speaker is writing something down instead of talking, LectureLighter automatically fast-forwards through it.
You can upload multiple videos to the app for easier viewing.
LectureLighter has three parameters you can set:
Normal speed - Speed when sound is detected. You can set this between 0.25x and "instant", meaning audible parts will be skipped over. You probably don't want to skip over the talking parts on lectures unless you don't want to learn anything :)
Skip speed - Speed when no sound is detected. You can set this between 0.25x and "instant", meaning silent parts will be completely skipped over.
Audio sensitivity - How sensitive the app is to audio, ranging from "Hyperdeaf" (almost all is detected as silence) to "Hypersensitive" (almost all is detected as noise). The noise detection is relative, meaning that it is in relation to the loudest part of the video.
TL;DR: LectureLighter decodes the video's audio and parses it to find the silent parts. Then, it applies this to the video playback.
LectureListener relies on the browser's Web Audio API. When a video is loaded, the app also pushes the video data through an AudioContext to decode the audio data into raw PCM data. This data is then parsed to find silent chunks by averaging the loudness value of each chunk. If this value is above a certain threshold, it is considered silent. Additional filtering is also done to make sure super-short silent parts are not considered (as this can get annoying!).
iOS is very finnicky about how video players work, and I haven't been able to find a stable solution yet. I'm working on it, though!
How do I reopen the sidebar on mobile?You can reopen the sidebar by tapping the button on the top right. It becomes very faint so you can watch the video, but it's still there!
An exclamation point appeared next to my video and it won't play.This means that the app either failed to load your video or could not decode its audio. This usually means it is incompatible, and you'll need to try another file or convert it using an external tool.
LectureLighter was created by @cabalex and built in React. You can view the source code here.
Somewhat inspired by carykh's video Automatic on-the-fly video editing tool