Some further resources for you:
Read: Encoding vision for HTM
Read: New Frequency Encoder (a.k.a. Cochlea Encoder)