You are correct!
From our dictionary:
1. the formation of a word, as cuckoo or boom, by imitation of a sound made by or associated with its referent.
2. a word so formed.
3. Rhet. the use of imitative and naturally suggestive words for rhetorical effect.