refactored Cog callbacks to pass entire buffer at once
starting stutter algo