Your example is a bass guitar… and it’s very very low! For the solution, just replace your score by the one attached to this post. Two modifications to your score.
(1) To begin with, pitches in your score are all wrong! They are on the 4th piano octave (e.g. A4) whereas they are on the first (A1). You can easily overcome this by putting a @transpose -3600
in the beginning of your score!
(2) Since the input sound is VERY low, we need to change the default analysis parameters of Antescofo. In the new score I am doing this in the beginning of the score as antescofo::analysis 8192 512
. Note that this is equivalent to sending the message “analysis 8192 512” to the Antescofo object in Max/Pd. The magic number here is “8192”… We use a long analysis window so that the poor algorithm can somehow see the low pitches. You only need this value for extreme cases (such as this). For low piano pitches in my experience “4096” is good enough.
The attached score has it all! It works much better but you’ll here that while it’s good on down beats it’s a bit off on up-beats. This is due to the tuning of the base. You can not work this one out with fzero~ or similar! Just too low for them!
1_AC.txt (1.05 KB)