[FR] Remove gaps in looping audio, enable seamless audio looping
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- csharp
- Domain
- audio-video-rtc, desktop
Research direction
Start by tracing the audio preview and loop playback entry points; the issue does not name files or tests. Reproduce the reported gap with the supplied looping audio example and inspect how playback restarts between iterations. Done means the next iteration starts without an audible gap, or a configurable delay is provided.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Enabling the loop function when previewing audio files in QuickLook adds a short gap between each iteration of the file being played, roughly 150 ms of silence.
For audio that is intended to be looped (audio beds, drum loops, etc.), this makes proper previewing difficult.
I've noticed that the gap is not consistent, seems to be anywhere from 100 ms to 250 ms. I don't know if that variation correlates with anything else.
Describe the solution you'd like
I'd like for the loop function to enable seamless loops, where the next iteration of the file starts playing immediately after the previous iteration finishes, with no gap between.
Alternatively, if some users have legitimate reasons for wanting the silent gap between iterations, perhaps it could be a configurable option. Something like "Delay between loop iterations: 0-1000 ms".
Describe alternatives you've considered
When I need to preview audio files with proper looping, I must currently open them in an audio editor or DAW, which takes away from the otherwise extremely fast and convenient workflow of using QuickLook.
Additional context
Example of the issue:
- Source audio file, meant to be looped: drums_1bar.wav
- Audio file looping with gaps (current state): drums_QuickLook_loop_with_gaps.wav
- Audio file looping seamlessly (desired state): drums_seamless_loop_example.wav
- Dominant language
- C#
- Stars
- 25.2k
- Forks
- 1.3k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from QL-Win/QuickLook
-
VideoViewer: rotated (portrait phone) videos shown sideways when system decimal separator is a commaOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
-
good for a plugin upstream
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in QL-Win/QuickLook
Similar issues
-
A numeric literal is parsed in the host's culture, so 1.5 is 15 in a made EXE on a comma-decimal OSOpenbug interpreter silently-wrong small
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
reactiveui/ReactiveUI.Binding.SourceGenerators#176 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
dotnet/csharpstandard#1830 ·
Maintainers usually reply within 1 day
-
c:docs p:high size:S t:docs
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day