steveway / papagayo-ng

Papagayo is a lip-syncing program designed to help you line up phonemes (mouth shapes) with the actual recorded sound of actors speaking. Papagayo makes it easy to lip sync animated characters by making the process very simple - just type in the words being spoken (or copy/paste them from the animation's script), then drag the words on top of the sound's waveform until they line up with the proper sounds.
http://steveway.github.io/papagayo-ng/
18 stars 3 forks source link

Use Callback System for sounddevice usage #28

Closed steveway closed 9 months ago

steveway commented 2 years ago

It might make sense to use SoundPlayer.py on all systems since this does not depend on QT for playback. The only real problem seems to be the volume, while it is playing it can't be changed. But using the Callbacks it is apparently possible to change the volume during playback. https://github.com/spatialaudio/python-sounddevice/issues/159 If we get this to work nicely with all platforms we can just use this for everything.

steveway commented 9 months ago

Switched to a new way to play and decode audio files. This now should depend only QT itself.