Open heppstar opened 8 months ago
Let me think about this. Probably... A better way of doing this is by analyzing the audio file for silence and using that info to truncate the file.
@heppstar Take a look at this pull request — https://github.com/zoglmannk/Morse-Code-Ninja/pull/52 .
Hi,
I learned to play a game called "beat the computer". The computer plays a character and I try to say the character before the computer does. I narrow the time down to about 250ms between the computer plays the characters and I speaks the character .
However, It is not possible to set the time to 250ms with the original render.pl because the soundfiles from AWS include a silence. I have solved it by cutting the end of the soundfiles in render.pl like this:
This it not a good solution because I set a fixed time of 350ms to cut and I noticed the the silence length after the soundfiles differ depending on what WPM is used. I am not a programmer, but could it be fixed in a better way? That would be very nice! :)