Hidden markov modelling the derivative of a latent function

Related post here: Mathy-folks: thoughts on the asymptotic representation of this k-HMM model for periodic signals?