I've made some small changes in the Peter F. version (GREAT WORK). There's need to more improvements, specially in the last two patterns (Vibrato Square Lead) that are in some way approximative.
I've also added and "synced" 2 vocal from an audio file.
You can obtain the same file using yt-dl.org (small and useful open source software).
After downloading the software, use this command:
youtube-dl -x wJnBTPUQS5A