Design of hardware architectures for HMM–based signal processing systems with applications to advanced human-machine interfaces