Page 1 of 1

Gapless/no gap playback music

Posted: Sun Mar 31, 2024 2:17 pm
by gyui21g
:D I want to continually loop a 2 seconds soundtrack of auto engine to simulate the real engine running.

I have tried the example "pipeline_loop_playback_without_gap". It uses two pipelines to input and decode the music alternatively, outputting to one i2s_stream_writer.

However, that method cannot totally eliminate the transition gap between two pipelines. The gap is about 4ms long, obvious enough for human.

My question is, is there a method for looping a soundtrack seamlessly? At least, the gap should be too short to recognise.