teslamotors / light-show

Tesla Light Show
3.24k stars 392 forks source link

Music and Lights Out Of Sync #78

Open hacker-hippo opened 1 year ago

hacker-hippo commented 1 year ago

Hi,

Playing a custom show on my M3 has one issue. The music is about 2 seconds ahead of the lights. Dancing is enabled. I'm having trouble diagnosing.

spaceXrace commented 11 months ago

Make sure the sample rate of your audio file is 44.1 kHz. This issue occurs when the sample rate is 48 kHz,

Zaiban-404 commented 7 months ago

I faced the same issue with the sample rate of 44.1 kHz.

kam89 commented 5 months ago

Hi, I have the same issue. I notice if only when tick the Dance Moves on, the music and light will not in sync. Once disabled the Dance Moves, it works well.

kam89 commented 5 months ago

Hi, I think I found out how to make it sync. First you need to create the sequence file as lightshow.fseq and music file as lightshow.wav or lightshow.mp3.

Once you have completed everything. Save the sequence file. Then only rename it as per the original music file name. Not sure why but it work somehow.

diflartle commented 5 months ago

Same issue with any custom show, from the internet or local. With the included USB drive, or a Class 10 SD card. There is about a 2-6 second delay after the music starts that the lights start doing their thing.

All music is 44.1khz, I have tried MP3 and WAV files, nothing seems to work. It used to work about half the time, but now it never seems to be in sync.

The three 'included' shows all work flawlessly.