gtxaspec / wz_mini_hacks

wz camera mods... make your camera better.
1.26k stars 106 forks source link

Noise - cmd aplay #492

Closed baudev closed 11 months ago

baudev commented 1 year ago

I notice that the cmd aplay command (with a .wav audio file present on the camera) makes a strange noise at the beginning and end of the audio file.
This noise is also present when the camera says "WZ initializing" when installing wz_mini.

However, the camera does not make this strange noise if you use only the Wyze firmware. Does anyone know where it comes from?

Thanks

gtxaspec commented 1 year ago

i've noticed this varies by device, some do, and some don't. could it be power supply related?

gtxaspec commented 11 months ago

@baudev Try a file, not in wav format, but raw pcm s16le 16000hz mono, and no noise should happen.

gtxaspec commented 11 months ago

confirmed, playing raw pcm files without the wav header eliminated the click

gtxaspec commented 11 months ago

converted all sounds to raw pcm https://github.com/gtxaspec/wz_mini_hacks/commit/6cda362ee84350e8b3df62e64f22b485be80c16f

baudev commented 7 months ago

Thanks, I tried today and indeed it works perfectly 🎉