inoftrobinson / inoft_vocal_framework

Create Alexa Skills, Google Actions, Samsung Bixby Capsules and Siri 'skills', with the same codebase. Then deploy automatically your app to AWS. All that in Python !
MIT License
9 stars 4 forks source link

Realtime Dynamic Audio - First AudioClip being pushed to output without displacement even with a player_start_time > 0 #26

Open inoftrobinson opened 3 years ago

inoftrobinson commented 3 years ago

Behavior : The first AudioClip will be pushed without displacement to the audio output, even if it has a player_start_time superior to zero.

Proposed fixes : Find the first AudioClip that will need to be played (the one with the smallest player_start_time) and use it as the first AudioClip, instead of processing the AudioClip in their list order. If no AudioClip has a player_start_time of zero, put some silence before the first clip.